Symbol: backing_file
arch/um/drivers/cow.h
18
extern int write_cow_header(char *cow_file, int fd, char *backing_file,
arch/um/drivers/cow.h
7
extern int init_cow_file(int fd, char *cow_file, char *backing_file,
arch/um/drivers/cow_user.c
100
char backing_file[PATH_LEN_V3];
arch/um/drivers/cow_user.c
112
char backing_file[PATH_LEN_V3];
arch/um/drivers/cow_user.c
203
int write_cow_header(char *cow_file, int fd, char *backing_file,
arch/um/drivers/cow_user.c
227
if (strlen(backing_file) > sizeof(header->backing_file) - 1) {
arch/um/drivers/cow_user.c
230
"limited to %zd characters\n", backing_file,
arch/um/drivers/cow_user.c
231
sizeof(header->backing_file) - 1);
arch/um/drivers/cow_user.c
235
if (absolutize(header->backing_file, sizeof(header->backing_file),
arch/um/drivers/cow_user.c
236
backing_file))
arch/um/drivers/cow_user.c
239
err = os_file_modtime(header->backing_file, &modtime);
arch/um/drivers/cow_user.c
242
"request failed, err = %d\n", header->backing_file,
arch/um/drivers/cow_user.c
247
err = cow_file_size(header->backing_file, size);
arch/um/drivers/cow_user.c
251
header->backing_file, -err);
arch/um/drivers/cow_user.c
302
if (n < offsetof(typeof(header->v1), backing_file)) {
arch/um/drivers/cow_user.c
32
char backing_file[PATH_LEN_V1];
arch/um/drivers/cow_user.c
328
file = header->v1.backing_file;
arch/um/drivers/cow_user.c
341
file = header->v2.backing_file;
arch/um/drivers/cow_user.c
344
else if (version == 3 && (*((int*)header->v3.backing_file) != 0)) {
arch/um/drivers/cow_user.c
359
file = header->v3.backing_file;
arch/um/drivers/cow_user.c
390
file = header->v3_b.backing_file;
arch/um/drivers/cow_user.c
409
int init_cow_file(int fd, char *cow_file, char *backing_file, int sectorsize,
arch/um/drivers/cow_user.c
417
err = write_cow_header(cow_file, fd, backing_file, sectorsize,
arch/um/drivers/cow_user.c
51
char backing_file[PATH_LEN_V2];
arch/um/drivers/ubd_kern.c
230
char *file, *backing_file, *serial;
arch/um/drivers/ubd_kern.c
308
backing_file = strsep(&str, ",:");
arch/um/drivers/ubd_kern.c
309
if (backing_file && *backing_file == '\0')
arch/um/drivers/ubd_kern.c
310
backing_file = NULL;
arch/um/drivers/ubd_kern.c
316
if (backing_file && ubd_dev->no_cow) {
arch/um/drivers/ubd_kern.c
323
ubd_dev->cow.file = backing_file;
arch/um/drivers/ubd_kern.c
495
char *backing_file;
arch/um/drivers/ubd_kern.c
511
err = read_cow_header(file_reader, &fd, &version, &backing_file, \
arch/um/drivers/ubd_kern.c
518
file = backing_file;
arch/um/drivers/ubd_kern.c
609
char *backing_file;
arch/um/drivers/ubd_kern.c
640
err = read_cow_header(file_reader, &fd, &version, &backing_file, &mtime,
arch/um/drivers/ubd_kern.c
650
asked_switch = path_requires_switch(*backing_file_out, backing_file,
arch/um/drivers/ubd_kern.c
665
*backing_file_out = backing_file;
arch/um/drivers/ubd_kern.c
680
static int create_cow_file(char *cow_file, char *backing_file,
arch/um/drivers/ubd_kern.c
696
err = init_cow_file(fd, cow_file, backing_file, sectorsize, alignment,
drivers/block/loop.c
703
LOOP_ATTR_RO(backing_file);
fs/file_table.c
102
backing_file_free(backing_file(f));
fs/file_table.c
311
static int init_backing_file(struct backing_file *ff,
fs/file_table.c
329
struct backing_file *ff;
fs/file_table.c
62
#define backing_file(f) container_of(f, struct backing_file, file)
fs/file_table.c
644
args.freeptr_offset = offsetof(struct backing_file, bf_freeptr);
fs/file_table.c
645
__bfilp_cache = kmem_cache_create("bfilp", sizeof(struct backing_file),
fs/file_table.c
66
return &backing_file(f)->user_path;
fs/file_table.c
72
backing_file(f)->user_path = *path;
fs/file_table.c
79
return backing_file(f)->security;
fs/file_table.c
84
backing_file(f)->security = security;
fs/file_table.c
88
static inline void backing_file_free(struct backing_file *ff)
fs/fuse/passthrough.c
110
struct file *backing_file = fuse_file_passthrough(ff);
fs/fuse/passthrough.c
120
backing_file, *ppos, len, flags);
fs/fuse/passthrough.c
125
ret = backing_file_splice_write(pipe, backing_file, &iocb, len, flags, &ctx);
fs/fuse/passthrough.c
135
struct file *backing_file = fuse_file_passthrough(ff);
fs/fuse/passthrough.c
142
backing_file, vma->vm_start, vma->vm_end);
fs/fuse/passthrough.c
144
return backing_file_mmap(backing_file, vma, &ctx);
fs/fuse/passthrough.c
157
struct file *backing_file;
fs/fuse/passthrough.c
170
backing_file = backing_file_open(file, file->f_flags,
fs/fuse/passthrough.c
172
err = PTR_ERR(backing_file);
fs/fuse/passthrough.c
173
if (IS_ERR(backing_file)) {
fs/fuse/passthrough.c
179
ff->passthrough = backing_file;
fs/fuse/passthrough.c
32
struct file *backing_file = fuse_file_passthrough(ff);
fs/fuse/passthrough.c
42
backing_file, iocb->ki_pos, count);
fs/fuse/passthrough.c
47
ret = backing_file_read_iter(backing_file, iter, iocb, iocb->ki_flags,
fs/fuse/passthrough.c
59
struct file *backing_file = fuse_file_passthrough(ff);
fs/fuse/passthrough.c
68
backing_file, iocb->ki_pos, count);
fs/fuse/passthrough.c
74
ret = backing_file_write_iter(backing_file, iter, iocb, iocb->ki_flags,
fs/fuse/passthrough.c
86
struct file *backing_file = fuse_file_passthrough(ff);
fs/fuse/passthrough.c
95
backing_file, *ppos, len, flags);
fs/fuse/passthrough.c
99
ret = backing_file_splice_read(backing_file, &iocb, pipe, len, flags, &ctx);
include/linux/lsm_hook_defs.h
194
LSM_HOOK(int, 0, backing_file_alloc, struct file *backing_file,
include/linux/lsm_hook_defs.h
196
LSM_HOOK(void, LSM_RET_VOID, backing_file_free, struct file *backing_file)
include/linux/lsm_hook_defs.h
205
struct file *backing_file, struct file *user_file)
include/linux/security.h
1151
static inline int security_backing_file_alloc(struct file *backing_file,
include/linux/security.h
1157
static inline void security_backing_file_free(struct file *backing_file)
include/linux/security.h
1180
struct file *backing_file,
include/linux/security.h
475
int security_backing_file_alloc(struct file *backing_file,
include/linux/security.h
477
void security_backing_file_free(struct file *backing_file);
include/linux/security.h
484
struct file *backing_file,
security/security.c
185
static int lsm_backing_file_alloc(struct file *backing_file)
security/security.c
190
backing_file_set_security(backing_file, NULL);
security/security.c
195
backing_file_set_security(backing_file, blob);
security/security.c
2463
int security_backing_file_alloc(struct file *backing_file,
security/security.c
2468
rc = lsm_backing_file_alloc(backing_file);
security/security.c
2471
rc = call_int_hook(backing_file_alloc, backing_file, user_file);
security/security.c
2473
security_backing_file_free(backing_file);
security/security.c
2485
void security_backing_file_free(struct file *backing_file)
security/security.c
2487
void *blob = backing_file_security(backing_file);
security/security.c
2489
call_void_hook(backing_file_free, backing_file);
security/security.c
2492
backing_file_set_security(backing_file, NULL);
security/security.c
2600
struct file *backing_file,
security/security.c
2604
if (WARN_ON_ONCE(!(backing_file->f_mode & FMODE_BACKING)))
security/security.c
2607
return call_int_hook(mmap_backing_file, vma, backing_file, user_file);
security/selinux/hooks.c
3844
static int selinux_backing_file_alloc(struct file *backing_file,
security/selinux/hooks.c
3849
bfsec = selinux_backing_file(backing_file);
security/selinux/hooks.c
4082
struct file *backing_file,
security/selinux/hooks.c
4095
return selinux_mmap_file_common(backing_file, prot,
security/selinux/hooks.c
4108
bool backing_file;
security/selinux/hooks.c
4112
backing_file = file && (file->f_mode & FMODE_BACKING);
security/selinux/hooks.c
4146
backing_file);
security/selinux/hooks.c
4149
if (backing_file) {
security/selinux/hooks.c
4158
rc = __file_map_prot_check(file, prot, shared, false, backing_file);
security/selinux/hooks.c
4161
if (backing_file) {
security/selinux/include/objsec.h
201
selinux_backing_file(const struct file *backing_file)
security/selinux/include/objsec.h
203
void *blob = backing_file_security(backing_file);
tools/testing/selftests/ublk/common.c
22
char *file = dev->tgt.backing_file[i];
tools/testing/selftests/ublk/kublk.c
1723
strcpy(dev->tgt.backing_file[i], ctx->files[i]);
tools/testing/selftests/ublk/kublk.h
173
char backing_file[MAX_BACK_FILES][PATH_MAX];