Home
last modified time | relevance | path

Searched refs:flo (Results 1 – 5 of 5) sorted by relevance

/fs/nfs/flexfilelayout/
Dflexfilelayoutdev.c225 ff_layout_add_ds_error_locked(struct nfs4_flexfile_layout *flo, in ff_layout_add_ds_error_locked() argument
229 struct list_head *head = &flo->error_list; in ff_layout_add_ds_error_locked()
233 list_for_each_entry_safe(err, tmp, &flo->error_list, list) { in ff_layout_add_ds_error_locked()
252 int ff_layout_track_ds_error(struct nfs4_flexfile_layout *flo, in ff_layout_track_ds_error() argument
278 spin_lock(&flo->generic_hdr.plh_inode->i_lock); in ff_layout_track_ds_error()
279 ff_layout_add_ds_error_locked(flo, dserr); in ff_layout_track_ds_error()
280 spin_unlock(&flo->generic_hdr.plh_inode->i_lock); in ff_layout_track_ds_error()
513 struct nfs4_flexfile_layout *flo = FF_LAYOUT_FROM_HDR(lo); in do_layout_fetch_ds_ioerr() local
519 list_for_each_entry_safe(err, n, &flo->error_list, list) { in do_layout_fetch_ds_ioerr()
Dflexfilelayout.h194 int ff_layout_track_ds_error(struct nfs4_flexfile_layout *flo,
/fs/nfs/filelayout/
Dfilelayout.c650 filelayout_decode_layout(struct pnfs_layout_hdr *flo, in filelayout_decode_layout() argument
753 struct nfs4_filelayout *flo; in filelayout_free_lseg() local
756 flo = FILELAYOUT_FROM_HDR(lseg->pls_layout); in filelayout_free_lseg()
757 inode = flo->generic_hdr.plh_inode; in filelayout_free_lseg()
759 pnfs_generic_ds_cinfo_release_lseg(&flo->commit_info, lseg); in filelayout_free_lseg()
1058 struct nfs4_filelayout *flo; in filelayout_alloc_layout_hdr() local
1060 flo = kzalloc(sizeof(*flo), gfp_flags); in filelayout_alloc_layout_hdr()
1061 if (flo == NULL) in filelayout_alloc_layout_hdr()
1063 pnfs_init_ds_commit_info(&flo->commit_info); in filelayout_alloc_layout_hdr()
1064 flo->commit_info.ops = &filelayout_commit_ops; in filelayout_alloc_layout_hdr()
[all …]
/fs/fuse/
Dbacking.c394 .out_args[0].size = sizeof(flio->flo), in fuse_lseek_initialize()
395 .out_args[0].value = &flio->flo, in fuse_lseek_initialize()
404 struct fuse_lseek_out *flo = fa->out_args[0].value; in fuse_lseek_backing() local
412 flo->offset = file->f_pos; in fuse_lseek_backing()
413 return flo->offset; in fuse_lseek_backing()
417 flo->offset = vfs_setpos(file, 0, 0); in fuse_lseek_backing()
418 return flo->offset; in fuse_lseek_backing()
425 flo->offset = ret; in fuse_lseek_backing()
432 struct fuse_lseek_out *flo = fa->out_args[0].value; in fuse_lseek_finalize() local
435 file->f_pos = flo->offset; in fuse_lseek_finalize()
[all …]
Dfuse_i.h1604 struct fuse_lseek_out flo; member