Lines Matching defs:lockname
32 static int stringify_lockname(const char *lockname, int locklen, char *buf,
89 stringify_lockname(res->lockname.name, res->lockname.len,
230 /* NOTE: This function converts a lockname into a string. It uses knowledge
231 * of the format of the lockname that should be outside the purview of the dlm.
234 * For more on lockname formats, please refer to dlmglue.c and ocfs2_lockid.h.
236 static int stringify_lockname(const char *lockname, int locklen, char *buf,
243 if (*lockname == 'N') {
245 (char *)&lockname[OCFS2_DENTRY_LOCK_INO_START],
248 OCFS2_DENTRY_LOCK_INO_START - 1, lockname,
252 locklen, lockname);
365 out += stringify_lockname(res->lockname.name,
366 res->lockname.len,
495 out += stringify_lockname(res->lockname.name, res->lockname.len,