Searched refs:DLM_RESNAME_MAXLEN (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/fs/dlm/ |
D | dir.c | 74 last_name = kmalloc(DLM_RESNAME_MAXLEN, GFP_NOFS); in dlm_recover_directory() 82 memset(last_name, 0, DLM_RESNAME_MAXLEN); in dlm_recover_directory() 131 if (namelen > DLM_RESNAME_MAXLEN) in dlm_recover_directory()
|
D | dlm_internal.h | 319 char res_name[DLM_RESNAME_MAXLEN+1]; 535 char rl_name[DLM_RESNAME_MAXLEN];
|
D | debug_fs.c | 708 char name[DLM_RESNAME_MAXLEN + 1] = {}; in table_write2() 718 n = sscanf(buf, "%x %" __stringify(DLM_RESNAME_MAXLEN) "s %x %d %d", in table_write2() 723 len = strnlen(name, DLM_RESNAME_MAXLEN); in table_write2()
|
D | lock.c | 433 char maxname[DLM_RESNAME_MAXLEN]; in rsb_cmp() 435 memset(maxname, 0, DLM_RESNAME_MAXLEN); in rsb_cmp() 437 return memcmp(r->res_name, maxname, DLM_RESNAME_MAXLEN); in rsb_cmp() 817 if (len > DLM_RESNAME_MAXLEN) in find_rsb() 995 if (len > DLM_RESNAME_MAXLEN) in dlm_master_lookup() 1625 DLM_RESNAME_MAXLEN); in shrink_bucket() 2594 if (!(flags & DLM_LKF_CONVERT) && (namelen > DLM_RESNAME_MAXLEN)) in set_lock_args() 4137 char name[DLM_RESNAME_MAXLEN+1]; in receive_remove() 4146 if (len > DLM_RESNAME_MAXLEN) { in receive_remove()
|
D | lockspace.c | 508 ls->ls_remove_names[i] = kzalloc(DLM_RESNAME_MAXLEN+1, in new_lockspace()
|
D | user.c | 545 if (count > sizeof(struct dlm_write_request) + DLM_RESNAME_MAXLEN) in device_write()
|
/linux-6.6.21/include/uapi/linux/ |
D | dlmconstants.h | 23 #define DLM_RESNAME_MAXLEN 64 macro
|