/linux/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 | 230 char *file, *backing_file, *serial; in ubd_setup_common() local 308 backing_file = strsep(&str, ",:"); in ubd_setup_common() 309 if (backing_file && *backing_file == '\0') in ubd_setup_common() 310 backing_file = NULL; in ubd_setup_common() 316 if (backing_file && ubd_dev->no_cow) { in ubd_setup_common() 323 ubd_dev->cow.file = backing_file; in ubd_setup_common() 495 char *backing_file; in ubd_file_size() local 511 err = read_cow_header(file_reader, &fd, &version, &backing_file, \ in ubd_file_size() 518 file = backing_file; in ubd_file_size() 609 char *backing_file; open_ubd_file() local 680 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...] |
/linux/fs/fuse/ |
H A D | passthrough.c | 32 struct file *backing_file = fuse_file_passthrough(ff); in fuse_passthrough_read_iter() local 41 pr_debug("%s: backing_file=0x%p, pos=%lld, len=%zu\n", __func__, in fuse_passthrough_read_iter() 42 backing_file, iocb->ki_pos, count); in fuse_passthrough_read_iter() 47 ret = backing_file_read_iter(backing_file, iter, iocb, iocb->ki_flags, in fuse_passthrough_read_iter() 59 struct file *backing_file = fuse_file_passthrough(ff); in fuse_passthrough_write_iter() local 67 pr_debug("%s: backing_file=0x%p, pos=%lld, len=%zu\n", __func__, in fuse_passthrough_write_iter() 68 backing_file, iocb->ki_pos, count); in fuse_passthrough_write_iter() 74 ret = backing_file_write_iter(backing_file, iter, iocb, iocb->ki_flags, in fuse_passthrough_write_iter() 86 struct file *backing_file = fuse_file_passthrough(ff); in fuse_passthrough_splice_read() local 94 pr_debug("%s: backing_file in fuse_passthrough_splice_read() 110 struct file *backing_file = fuse_file_passthrough(ff); fuse_passthrough_splice_write() local 135 struct file *backing_file = fuse_file_passthrough(ff); fuse_passthrough_mmap() local 311 struct file *backing_file; fuse_passthrough_open() local [all...] |
/linux/fs/ |
H A D | file_table.c | 47 struct backing_file { struct 55 #define backing_file(f) container_of(f, struct backing_file, file) macro 59 return &backing_file(f)->user_path; in backing_file_user_path() 65 backing_file(f)->user_path = *path; in backing_file_set_user_path() 77 kmem_cache_free(bfilp_cachep, backing_file(f)); in file_free() 287 * Variant of alloc_empty_file() that allocates a backing_file container 295 struct backing_file *ff; in alloc_empty_backing_file() 599 args.freeptr_offset = offsetof(struct backing_file, bf_freeptr); in files_init() 600 bfilp_cachep = kmem_cache_create("bfilp", sizeof(struct backing_file), in files_init() [all...] |
/linux/tools/testing/selftests/ublk/ |
H A D | common.c | 22 char *file = dev->tgt.backing_file[i]; in backing_file_tgt_init()
|
H A D | kublk.h | 157 char backing_file[MAX_BACK_FILES][PATH_MAX]; member
|
H A D | kublk.c | 1185 strcpy(dev->tgt.backing_file[i], ctx->files[i]); in __cmd_dev_add()
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-block-loop | 10 What: /sys/block/loopX/loop/backing_file
|
/linux/drivers/block/ |
H A D | loop.c | 697 LOOP_ATTR_RO(backing_file);
|