Lines Matching defs:lockname
30 static int stringify_lockname(const char *lockname, int locklen, char *buf,
87 stringify_lockname(res->lockname.name, res->lockname.len,
228 /* NOTE: This function converts a lockname into a string. It uses knowledge
229 * of the format of the lockname that should be outside the purview of the dlm.
232 * For more on lockname formats, please refer to dlmglue.c and ocfs2_lockid.h.
234 static int stringify_lockname(const char *lockname, int locklen, char *buf,
241 if (*lockname == 'N') {
243 (char *)&lockname[OCFS2_DENTRY_LOCK_INO_START],
246 OCFS2_DENTRY_LOCK_INO_START - 1, lockname,
250 locklen, lockname);
363 out += stringify_lockname(res->lockname.name,
364 res->lockname.len,
493 out += stringify_lockname(res->lockname.name, res->lockname.len,