Searched refs:VDUSE_NAME_MAX (Results 1 – 4 of 4) sorted by relevance
37 #define VDUSE_NAME_MAX 256 macro38 char name[VDUSE_NAME_MAX];56 #define VDUSE_DESTROY_DEV _IOW(VDUSE_BASE, 0x03, char[VDUSE_NAME_MAX])
1886 config.name[VDUSE_NAME_MAX - 1] = '\0'; in vduse_ioctl()1893 char name[VDUSE_NAME_MAX]; in vduse_ioctl()1896 if (copy_from_user(name, argp, VDUSE_NAME_MAX)) in vduse_ioctl()1899 name[VDUSE_NAME_MAX - 1] = '\0'; in vduse_ioctl()
1203 return strlen(name) >= VDUSE_NAME_MAX || strstr(name, ".."); in vduse_name_is_invalid()