Lines Matching refs:cookie
26 char *lock_name, u8 type, char *cookie, in ceph_cls_lock() argument
31 int cookie_len = strlen(cookie); in ceph_cls_lock()
62 ceph_encode_string(&p, end, cookie, cookie_len); in ceph_cls_lock()
72 __func__, lock_name, type, cookie, tag, desc, flags); in ceph_cls_lock()
92 char *lock_name, char *cookie) in ceph_cls_unlock() argument
96 int cookie_len = strlen(cookie); in ceph_cls_unlock()
118 ceph_encode_string(&p, end, cookie, cookie_len); in ceph_cls_unlock()
120 dout("%s lock_name %s cookie %s\n", __func__, lock_name, cookie); in ceph_cls_unlock()
141 char *lock_name, char *cookie, in ceph_cls_break_lock() argument
146 int cookie_len = strlen(cookie); in ceph_cls_break_lock()
170 ceph_encode_string(&p, end, cookie, cookie_len); in ceph_cls_break_lock()
173 cookie, ENTITY_NAME(*locker)); in ceph_cls_break_lock()
240 kfree(lockers[i].id.cookie); in ceph_free_lockers()
261 locker->id.cookie = s; in decode_locker()
277 ENTITY_NAME(locker->id.name), locker->id.cookie, in decode_locker()
384 char *lock_name, u8 type, char *cookie, char *tag) in ceph_cls_assert_locked() argument
388 int cookie_len = strlen(cookie); in ceph_cls_assert_locked()
417 ceph_encode_string(&p, end, cookie, cookie_len); in ceph_cls_assert_locked()