Home
last modified time | relevance | path

Searched refs:MFD_NAME_PREFIX_LEN (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/mm/
H A Dmemfd.c266 #define MFD_NAME_PREFIX_LEN (sizeof(MFD_NAME_PREFIX) - 1) macro
267 #define MFD_NAME_MAX_LEN (NAME_MAX - MFD_NAME_PREFIX_LEN)
335 name = kmalloc(len + MFD_NAME_PREFIX_LEN, GFP_KERNEL); in SYSCALL_DEFINE2()
340 if (copy_from_user(&name[MFD_NAME_PREFIX_LEN], uname, len)) { in SYSCALL_DEFINE2()
346 if (name[len + MFD_NAME_PREFIX_LEN - 1]) { in SYSCALL_DEFINE2()