Lines Matching defs:tag
19 * @tag: user-defined tag
23 * All operations on the same lock should use the same tag.
29 char *tag, char *desc, u8 flags)
34 int tag_len = strlen(tag);
65 ceph_encode_string(&p, end, tag, tag_len);
73 dout("%s lock_name %s type %d cookie %s tag %s desc %s flags 0x%x\n",
74 __func__, lock_name, type, cookie, tag, desc, flags);
194 char *tag, char *new_cookie)
199 int tag_len = strlen(tag);
226 ceph_encode_string(&p, end, tag, tag_len);
229 dout("%s lock_name %s type %d old_cookie %s tag %s new_cookie %s\n",
230 __func__, lock_name, type, old_cookie, tag, new_cookie);
288 static int decode_lockers(void **p, void *end, u8 *type, char **tag,
320 *tag = s;
331 * kfree(tag);
337 char *lock_name, u8 *type, char **tag,
380 ret = decode_lockers(&p, end, type, tag, lockers, num_lockers);
390 char *lock_name, u8 type, char *cookie, char *tag)
395 int tag_len = strlen(tag);
424 ceph_encode_string(&p, end, tag, tag_len);