Lines Matching refs:pl

21 	struct ceph_pagelist *pl;   /* pagelist, for error checking */  member
28 extern void ceph_pagelist_release(struct ceph_pagelist *pl);
30 extern int ceph_pagelist_append(struct ceph_pagelist *pl, const void *d, size_t l);
32 extern int ceph_pagelist_reserve(struct ceph_pagelist *pl, size_t space);
34 extern int ceph_pagelist_free_reserve(struct ceph_pagelist *pl);
36 extern void ceph_pagelist_set_cursor(struct ceph_pagelist *pl,
39 extern int ceph_pagelist_truncate(struct ceph_pagelist *pl,
42 static inline int ceph_pagelist_encode_64(struct ceph_pagelist *pl, u64 v) in ceph_pagelist_encode_64() argument
45 return ceph_pagelist_append(pl, &ev, sizeof(ev)); in ceph_pagelist_encode_64()
47 static inline int ceph_pagelist_encode_32(struct ceph_pagelist *pl, u32 v) in ceph_pagelist_encode_32() argument
50 return ceph_pagelist_append(pl, &ev, sizeof(ev)); in ceph_pagelist_encode_32()
52 static inline int ceph_pagelist_encode_16(struct ceph_pagelist *pl, u16 v) in ceph_pagelist_encode_16() argument
55 return ceph_pagelist_append(pl, &ev, sizeof(ev)); in ceph_pagelist_encode_16()
57 static inline int ceph_pagelist_encode_8(struct ceph_pagelist *pl, u8 v) in ceph_pagelist_encode_8() argument
59 return ceph_pagelist_append(pl, &v, 1); in ceph_pagelist_encode_8()
61 static inline int ceph_pagelist_encode_string(struct ceph_pagelist *pl, in ceph_pagelist_encode_string() argument
64 int ret = ceph_pagelist_encode_32(pl, len); in ceph_pagelist_encode_string()
68 return ceph_pagelist_append(pl, s, len); in ceph_pagelist_encode_string()