Home
last modified time | relevance | path

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

/linux/fs/fuse/
H A Dpassthrough.c32 struct file *backing_file = fuse_file_passthrough(ff); in fuse_passthrough_read_iter() local
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
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
95 backing_file, *ppos, len, flags); in fuse_passthrough_splice_read()
99 ret = backing_file_splice_read(backing_file, &iocb, pipe, len, flags, &ctx); in fuse_passthrough_splice_read()
110 struct file *backing_file = fuse_file_passthrough(ff); in fuse_passthrough_splice_write() local
[all …]
/linux/arch/um/drivers/
H A Dcow_user.c26 char backing_file[PATH_LEN_V1]; member
45 char backing_file[PATH_LEN_V2]; member
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()
225 sizeof(header->backing_file) - 1); in write_cow_header()
229 if (absolutize(header->backing_file, sizeof(header->backing_file), in write_cow_header()
230 backing_file)) in write_cow_header()
[all …]
H A Dubd_kern.c230 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; in open_ubd_file() local
[all …]
H A Dcow.h7 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,
/linux/fs/
H A Dfile_table.c47 struct backing_file { struct
55 #define backing_file(f) container_of(f, struct backing_file, file) argument
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()
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()
/linux/tools/testing/selftests/ublk/
H A Dcommon.c22 char *file = dev->tgt.backing_file[i]; in backing_file_tgt_init()
H A Dkublk.h158 char backing_file[MAX_BACK_FILES][PATH_MAX]; member
H A Dkublk.c1259 strcpy(dev->tgt.backing_file[i], ctx->files[i]); in cmd_dev_add()
/linux/Documentation/ABI/testing/
H A Dsysfs-block-loop10 What: /sys/block/loopX/loop/backing_file