Home
last modified time | relevance | path

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

/linux-6.15/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
221 if (strlen(backing_file) > 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()
245 header->backing_file, -err); in write_cow_header()
322 file = header->v1.backing_file; in read_cow_header()
335 file = header->v2.backing_file; in read_cow_header()
[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,
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
518 file = backing_file; in ubd_file_size()
609 char *backing_file; in open_ubd_file() local
665 *backing_file_out = backing_file; in open_ubd_file()
[all …]
/linux-6.15/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()
68 backing_file, iocb->ki_pos, count); in fuse_passthrough_write_iter()
95 backing_file, *ppos, len, flags); in fuse_passthrough_splice_read()
120 backing_file, *ppos, len, flags); in fuse_passthrough_splice_write()
142 backing_file, vma->vm_start, vma->vm_end); in fuse_passthrough_mmap()
144 return backing_file_mmap(backing_file, vma, &ctx); in fuse_passthrough_mmap()
311 struct file *backing_file; in fuse_passthrough_open() local
330 err = PTR_ERR(backing_file); in fuse_passthrough_open()
331 if (IS_ERR(backing_file)) { in fuse_passthrough_open()
[all …]
/linux-6.15/fs/
H A Dfile_table.c47 struct backing_file { struct
55 static inline struct backing_file *backing_file(struct file *f) in backing_file() argument
57 return container_of(f, struct backing_file, file); in backing_file()
62 return &backing_file(f)->user_path; in backing_file_user_path()
74 kmem_cache_free(bfilp_cachep, backing_file(f)); in file_free()
292 struct backing_file *ff; in alloc_empty_backing_file()
596 args.freeptr_offset = offsetof(struct backing_file, bf_freeptr); in files_init()
597 bfilp_cachep = kmem_cache_create("bfilp", sizeof(struct backing_file), in files_init()
/linux-6.15/tools/testing/selftests/ublk/
H A Dcommon.c22 char *file = dev->tgt.backing_file[i]; in backing_file_tgt_init()
H A Dkublk.h155 char backing_file[MAX_BACK_FILES][PATH_MAX]; member
H A Dkublk.c1020 strcpy(dev->tgt.backing_file[i], ctx->files[i]); in __cmd_dev_add()
/linux-6.15/Documentation/ABI/testing/
H A Dsysfs-block-loop10 What: /sys/block/loopX/loop/backing_file
/linux-6.15/drivers/block/
H A Dloop.c694 LOOP_ATTR_RO(backing_file);