• Home
  • Raw
  • Download

Lines Matching refs:end

32 	void *p, *end;  in ceph_cls_lock()  local
53 end = p + lock_op_buf_size; in ceph_cls_lock()
58 ceph_encode_string(&p, end, lock_name, name_len); in ceph_cls_lock()
60 ceph_encode_string(&p, end, cookie, cookie_len); in ceph_cls_lock()
61 ceph_encode_string(&p, end, tag, tag_len); in ceph_cls_lock()
62 ceph_encode_string(&p, end, desc, desc_len); in ceph_cls_lock()
95 void *p, *end; in ceph_cls_unlock() local
110 end = p + unlock_op_buf_size; in ceph_cls_unlock()
115 ceph_encode_string(&p, end, lock_name, name_len); in ceph_cls_unlock()
116 ceph_encode_string(&p, end, cookie, cookie_len); in ceph_cls_unlock()
146 void *p, *end; in ceph_cls_break_lock() local
161 end = p + break_op_buf_size; in ceph_cls_break_lock()
166 ceph_encode_string(&p, end, lock_name, name_len); in ceph_cls_break_lock()
168 ceph_encode_string(&p, end, cookie, cookie_len); in ceph_cls_break_lock()
192 static int decode_locker(void **p, void *end, struct ceph_locker *locker) in decode_locker() argument
199 ret = ceph_start_decoding(p, end, 1, "locker_id_t", &struct_v, &len); in decode_locker()
204 s = ceph_extract_encoded_string(p, end, NULL, GFP_NOIO); in decode_locker()
210 ret = ceph_start_decoding(p, end, 1, "locker_info_t", &struct_v, &len); in decode_locker()
226 static int decode_lockers(void **p, void *end, u8 *type, char **tag, in decode_lockers() argument
235 ret = ceph_start_decoding(p, end, 1, "cls_lock_get_info_reply", in decode_lockers()
246 ret = decode_locker(p, end, *lockers + i); in decode_lockers()
252 s = ceph_extract_encoded_string(p, end, NULL, GFP_NOIO); in decode_lockers()
282 void *p, *end; in ceph_cls_lock_info() local
301 end = p + get_info_op_buf_size; in ceph_cls_lock_info()
306 ceph_encode_string(&p, end, lock_name, name_len); in ceph_cls_lock_info()
316 end = p + reply_len; in ceph_cls_lock_info()
318 ret = decode_lockers(&p, end, type, tag, lockers, num_lockers); in ceph_cls_lock_info()