/kernel/linux/linux-5.10/arch/um/drivers/ |
H A D | cow_user.c | 26 char backing_file[PATH_LEN_V1]; member 45 char backing_file[PATH_LEN_V2]; member 63 * Move the backing_file field to the end of the header. This allows 83 * now) is shifted onto the first 4 bytes of backing_file, where it is otherwise 94 char backing_file[PATH_LEN_V3]; member 106 char backing_file[PATH_LEN_V3]; member 197 int write_cow_header(char *cow_file, int fd, char *backing_file, in write_cow_header() argument 221 if (strlen(backing_file) > sizeof(header->backing_file) - 1) { in write_cow_header() 224 "limited to %zd characters\n", backing_file, in write_cow_header() 403 init_cow_file(int fd, char *cow_file, char *backing_file, int sectorsize, int alignment, int *bitmap_offset_out, unsigned long *bitmap_len_out, int *data_offset_out) init_cow_file() argument [all...] |
H A D | cow.h | 7 extern int init_cow_file(int fd, char *cow_file, char *backing_file, 18 extern int write_cow_header(char *cow_file, int fd, char *backing_file,
|
H A D | ubd_kern.c | 275 char *backing_file; in ubd_setup_common() local 371 backing_file = strchr(str, ','); in ubd_setup_common() 373 if (backing_file == NULL) in ubd_setup_common() 374 backing_file = strchr(str, ':'); in ubd_setup_common() 376 if(backing_file != NULL){ in ubd_setup_common() 382 *backing_file = '\0'; in ubd_setup_common() 383 backing_file++; in ubd_setup_common() 388 ubd_dev->cow.file = backing_file; in ubd_setup_common() 566 char *backing_file; in ubd_file_size() local 582 err = read_cow_header(file_reader, &fd, &version, &backing_file, \ in ubd_file_size() 680 char *backing_file; open_ubd_file() local 751 create_cow_file(char *cow_file, char *backing_file, struct openflags flags, int sectorsize, int alignment, int *bitmap_offset_out, unsigned long *bitmap_len_out, int *data_offset_out) create_cow_file() argument [all...] |
/kernel/linux/linux-6.6/arch/um/drivers/ |
H A D | cow_user.c | 26 char backing_file[PATH_LEN_V1]; member 45 char backing_file[PATH_LEN_V2]; member 63 * Move the backing_file field to the end of the header. This allows 83 * now) is shifted onto the first 4 bytes of backing_file, where it is otherwise 94 char backing_file[PATH_LEN_V3]; member 106 char backing_file[PATH_LEN_V3]; member 197 int write_cow_header(char *cow_file, int fd, char *backing_file, in write_cow_header() argument 221 if (strlen(backing_file) > sizeof(header->backing_file) - 1) { in write_cow_header() 224 "limited to %zd characters\n", backing_file, in write_cow_header() 403 init_cow_file(int fd, char *cow_file, char *backing_file, int sectorsize, int alignment, int *bitmap_offset_out, unsigned long *bitmap_len_out, int *data_offset_out) init_cow_file() argument [all...] |
H A D | cow.h | 7 extern int init_cow_file(int fd, char *cow_file, char *backing_file, 18 extern int write_cow_header(char *cow_file, int fd, char *backing_file,
|
H A D | ubd_kern.c | 241 char *file, *backing_file, *serial; in ubd_setup_common() local 319 backing_file = strsep(&str, ",:"); in ubd_setup_common() 320 if (backing_file && *backing_file == '\0') in ubd_setup_common() 321 backing_file = NULL; in ubd_setup_common() 327 if (backing_file && ubd_dev->no_cow) { in ubd_setup_common() 334 ubd_dev->cow.file = backing_file; in ubd_setup_common() 518 char *backing_file; in ubd_file_size() local 534 err = read_cow_header(file_reader, &fd, &version, &backing_file, \ in ubd_file_size() 541 file = backing_file; in ubd_file_size() 632 char *backing_file; open_ubd_file() local 703 create_cow_file(char *cow_file, char *backing_file, struct openflags flags, int sectorsize, int alignment, int *bitmap_offset_out, unsigned long *bitmap_len_out, int *data_offset_out) create_cow_file() argument [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | file_table.c | 48 struct backing_file { struct 53 static inline struct backing_file *backing_file(struct file *f) in backing_file() function 55 return container_of(f, struct backing_file, file); in backing_file() 60 return &backing_file(f)->real_path; in backing_file_real_path() 70 kfree(backing_file(f)); in file_free_rcu() 256 * Variant of alloc_empty_file() that allocates a backing_file container 264 struct backing_file *ff; in alloc_empty_backing_file() 267 ff = kzalloc(sizeof(struct backing_file), GFP_KERNEL); in alloc_empty_backing_file()
|
/kernel/linux/linux-5.10/drivers/block/ |
H A D | loop.c | 829 LOOP_ATTR_RO(backing_file); variable
|
/kernel/linux/linux-6.6/drivers/block/ |
H A D | loop.c | 720 LOOP_ATTR_RO(backing_file); variable
|