Home
last modified time | relevance | path

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

/fs/orangefs/
Ddir.c62 struct orangefs_dir *od, struct dentry *dentry, in do_readdir() argument
76 op->upcall.req.readdir.token = od->token; in do_readdir()
83 od->error = bufi; in do_readdir()
100 od->error = r; in do_readdir()
107 od->error = r; in do_readdir()
111 od->error = op->downcall.status; in do_readdir()
121 od->error = -EIO; in do_readdir()
127 od->token = resp->token; in do_readdir()
131 static int parse_readdir(struct orangefs_dir *od, in parse_readdir() argument
138 part = od->part; in parse_readdir()
[all …]
/fs/overlayfs/
Dreaddir.c238 static void ovl_cache_put(struct ovl_dir_file *od, struct dentry *dentry) in ovl_cache_put() argument
240 struct ovl_dir_cache *cache = od->cache; in ovl_cache_put()
324 struct ovl_dir_file *od = file->private_data; in ovl_dir_reset() local
325 struct ovl_dir_cache *cache = od->cache; in ovl_dir_reset()
330 ovl_cache_put(od, dentry); in ovl_dir_reset()
331 od->cache = NULL; in ovl_dir_reset()
332 od->cursor = NULL; in ovl_dir_reset()
335 if (od->is_real != is_real) { in ovl_dir_reset()
339 od->is_real = false; in ovl_dir_reset()
379 static void ovl_seek_cursor(struct ovl_dir_file *od, loff_t pos) in ovl_seek_cursor() argument
[all …]
/fs/ocfs2/
Dquota_local.c871 struct ocfs2_dquot *od = private; in olq_set_dquot() local
873 struct super_block *sb = od->dq_dquot.dq_sb; in olq_set_dquot()
876 + ol_dqblk_block_offset(sb, od->dq_local_off)); in olq_set_dquot()
879 od->dq_dquot.dq_id)); in olq_set_dquot()
880 spin_lock(&od->dq_dquot.dq_dqb_lock); in olq_set_dquot()
881 dqblk->dqb_spacemod = cpu_to_le64(od->dq_dquot.dq_dqb.dqb_curspace - in olq_set_dquot()
882 od->dq_origspace); in olq_set_dquot()
883 dqblk->dqb_inodemod = cpu_to_le64(od->dq_dquot.dq_dqb.dqb_curinodes - in olq_set_dquot()
884 od->dq_originodes); in olq_set_dquot()
885 spin_unlock(&od->dq_dquot.dq_dqb_lock); in olq_set_dquot()
[all …]
/fs/nfsd/
Dnfs4state.c6799 struct nfsd4_open_downgrade *od = &u->open_downgrade; in nfsd4_open_downgrade() local
6808 if (od->od_deleg_want) in nfsd4_open_downgrade()
6810 od->od_deleg_want); in nfsd4_open_downgrade()
6812 status = nfs4_preprocess_confirmed_seqid_op(cstate, od->od_seqid, in nfsd4_open_downgrade()
6813 &od->od_stateid, &stp, nn); in nfsd4_open_downgrade()
6817 if (!test_access(od->od_share_access, stp)) { in nfsd4_open_downgrade()
6819 stp->st_access_bmap, od->od_share_access); in nfsd4_open_downgrade()
6822 if (!test_deny(od->od_share_deny, stp)) { in nfsd4_open_downgrade()
6824 stp->st_deny_bmap, od->od_share_deny); in nfsd4_open_downgrade()
6827 nfs4_stateid_downgrade(stp, od->od_share_access); in nfsd4_open_downgrade()
[all …]
Dnfs4xdr.c3926 …code_open_downgrade(struct nfsd4_compoundres *resp, __be32 nfserr, struct nfsd4_open_downgrade *od) in nfsd4_encode_open_downgrade() argument
3930 return nfsd4_encode_stateid(xdr, &od->od_stateid); in nfsd4_encode_open_downgrade()