Lines Matching refs:namelen
312 create.namelen = res->lockname.len; in dlm_send_remote_lock_request()
314 memcpy(create.name, res->lockname.name, create.namelen); in dlm_send_remote_lock_request()
323 "currently.\n", dlm->name, create.namelen, in dlm_send_remote_lock_request()
330 "node %u\n", dlm->name, create.namelen, create.name, in dlm_send_remote_lock_request()
467 unsigned int namelen; in dlm_create_lock_handler() local
475 namelen = create->namelen; in dlm_create_lock_handler()
480 dlm->name, create->node_idx, namelen, name); in dlm_create_lock_handler()
486 if (namelen > DLM_LOCKID_NAME_MAX) { in dlm_create_lock_handler()
508 res = dlm_lookup_lockres(dlm, name, namelen); in dlm_create_lock_handler()
559 const char *name, int namelen, dlm_astlockfunc_t *ast, in dlmlock() argument
590 (!dlm_is_recovery_lock(name, namelen) || convert) ) { in dlmlock()
662 if (namelen > DLM_LOCKID_NAME_MAX || namelen < 1) { in dlmlock()
678 res = dlm_get_lock_resource(dlm, name, namelen, flags); in dlmlock()