Home
last modified time | relevance | path

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

/linux-6.12.1/arch/um/drivers/
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 …]
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,
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 …]
/linux-6.12.1/fs/fuse/
Dpassthrough.c32 struct file *backing_file = fuse_file_passthrough(ff); in fuse_passthrough_read_iter() local
43 backing_file, iocb->ki_pos, count); in fuse_passthrough_read_iter()
48 ret = backing_file_read_iter(backing_file, iter, iocb, iocb->ki_flags, in fuse_passthrough_read_iter()
60 struct file *backing_file = fuse_file_passthrough(ff); in fuse_passthrough_write_iter() local
70 backing_file, iocb->ki_pos, count); in fuse_passthrough_write_iter()
76 ret = backing_file_write_iter(backing_file, iter, iocb, iocb->ki_flags, in fuse_passthrough_write_iter()
88 struct file *backing_file = fuse_file_passthrough(ff); in fuse_passthrough_splice_read() local
96 backing_file, ppos ? *ppos : 0, len, flags); in fuse_passthrough_splice_read()
98 return backing_file_splice_read(backing_file, ppos, pipe, len, flags, in fuse_passthrough_splice_read()
107 struct file *backing_file = fuse_file_passthrough(ff); in fuse_passthrough_splice_write() local
[all …]
/linux-6.12.1/fs/
Dfile_table.c47 struct backing_file { struct
52 static inline struct backing_file *backing_file(struct file *f) in backing_file() function
54 return container_of(f, struct backing_file, file); in backing_file()
59 return &backing_file(f)->user_path; in backing_file_user_path()
71 kfree(backing_file(f)); in file_free()
267 struct backing_file *ff; in alloc_empty_backing_file()
270 ff = kzalloc(sizeof(struct backing_file), GFP_KERNEL); in alloc_empty_backing_file()
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-block-loop10 What: /sys/block/loopX/loop/backing_file
/linux-6.12.1/drivers/block/
Dloop.c738 LOOP_ATTR_RO(backing_file);