Home
last modified time | relevance | path

Searched refs:ffl (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/fs/nfs/flexfilelayout/
H A Dflexfilelayout.c48 struct nfs4_flexfile_layout *ffl; in ff_layout_alloc_layout_hdr() local
50 ffl = kzalloc(sizeof(*ffl), gfp_flags); in ff_layout_alloc_layout_hdr()
51 if (ffl) { in ff_layout_alloc_layout_hdr()
52 pnfs_init_ds_commit_info(&ffl->commit_info); in ff_layout_alloc_layout_hdr()
53 INIT_LIST_HEAD(&ffl->error_list); in ff_layout_alloc_layout_hdr()
54 INIT_LIST_HEAD(&ffl->mirrors); in ff_layout_alloc_layout_hdr()
55 ffl->last_report_time = ktime_get(); in ff_layout_alloc_layout_hdr()
56 ffl->commit_info.ops = &ff_layout_commit_ops; in ff_layout_alloc_layout_hdr()
57 return &ffl in ff_layout_alloc_layout_hdr()
65 struct nfs4_flexfile_layout *ffl = FF_LAYOUT_FROM_HDR(lo); ff_layout_free_layout_hdr() local
561 struct nfs4_flexfile_layout *ffl; ff_layout_free_lseg() local
601 struct nfs4_flexfile_layout *ffl = FF_LAYOUT_FROM_HDR(mirror->layout); nfs4_ff_layoutstat_start_io() local
[all...]
/kernel/linux/linux-6.6/fs/nfs/flexfilelayout/
H A Dflexfilelayout.c54 struct nfs4_flexfile_layout *ffl; in ff_layout_alloc_layout_hdr() local
56 ffl = kzalloc(sizeof(*ffl), gfp_flags); in ff_layout_alloc_layout_hdr()
57 if (ffl) { in ff_layout_alloc_layout_hdr()
58 pnfs_init_ds_commit_info(&ffl->commit_info); in ff_layout_alloc_layout_hdr()
59 INIT_LIST_HEAD(&ffl->error_list); in ff_layout_alloc_layout_hdr()
60 INIT_LIST_HEAD(&ffl->mirrors); in ff_layout_alloc_layout_hdr()
61 ffl->last_report_time = ktime_get(); in ff_layout_alloc_layout_hdr()
62 ffl->commit_info.ops = &ff_layout_commit_ops; in ff_layout_alloc_layout_hdr()
63 return &ffl in ff_layout_alloc_layout_hdr()
71 struct nfs4_flexfile_layout *ffl = FF_LAYOUT_FROM_HDR(lo); ff_layout_free_layout_hdr() local
567 struct nfs4_flexfile_layout *ffl; ff_layout_free_lseg() local
607 struct nfs4_flexfile_layout *ffl = FF_LAYOUT_FROM_HDR(mirror->layout); nfs4_ff_layoutstat_start_io() local
[all...]
/kernel/linux/linux-5.10/fs/fuse/
H A Dfile.c2414 const struct fuse_file_lock *ffl, in convert_fuse_file_lock()
2417 switch (ffl->type) { in convert_fuse_file_lock()
2423 if (ffl->start > OFFSET_MAX || ffl->end > OFFSET_MAX || in convert_fuse_file_lock()
2424 ffl->end < ffl->start) in convert_fuse_file_lock()
2427 fl->fl_start = ffl->start; in convert_fuse_file_lock()
2428 fl->fl_end = ffl->end; in convert_fuse_file_lock()
2435 fl->fl_pid = pid_nr_ns(find_pid_ns(ffl->pid, fc->pid_ns), &init_pid_ns); in convert_fuse_file_lock()
2442 fl->fl_type = ffl in convert_fuse_file_lock()
2413 convert_fuse_file_lock(struct fuse_conn *fc, const struct fuse_file_lock *ffl, struct file_lock *fl) convert_fuse_file_lock() argument
[all...]
/kernel/linux/linux-6.6/fs/fuse/
H A Dfile.c2494 const struct fuse_file_lock *ffl, in convert_fuse_file_lock()
2497 switch (ffl->type) { in convert_fuse_file_lock()
2503 if (ffl->start > OFFSET_MAX || ffl->end > OFFSET_MAX || in convert_fuse_file_lock()
2504 ffl->end < ffl->start) in convert_fuse_file_lock()
2507 fl->fl_start = ffl->start; in convert_fuse_file_lock()
2508 fl->fl_end = ffl->end; in convert_fuse_file_lock()
2515 fl->fl_pid = pid_nr_ns(find_pid_ns(ffl->pid, fc->pid_ns), &init_pid_ns); in convert_fuse_file_lock()
2522 fl->fl_type = ffl in convert_fuse_file_lock()
2493 convert_fuse_file_lock(struct fuse_conn *fc, const struct fuse_file_lock *ffl, struct file_lock *fl) convert_fuse_file_lock() argument
[all...]

Completed in 13 milliseconds