Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/sharefs/
Dauthentication.c22 struct inode *dinode = d_inode(dentry); in fixup_perm_from_level() local
23 struct sharefs_inode_info *dinfo = SHAREFS_I(dinode); in fixup_perm_from_level()
29 if (IS_ERR_OR_NULL(dinode)) in fixup_perm_from_level()
31 dinode->i_uid = dir->i_uid; in fixup_perm_from_level()
32 dinode->i_gid = dir->i_gid; in fixup_perm_from_level()
39 dinode->i_uid = KUIDT_INIT(bid); in fixup_perm_from_level()
40 dinode->i_gid = KGIDT_INIT(bid); in fixup_perm_from_level()
42 dinode->i_uid = ROOT_UID; in fixup_perm_from_level()
43 dinode->i_gid = ROOT_GID; in fixup_perm_from_level()
45 dinode->i_mode = (dinode->i_mode & S_IFMT) | SHAREFS_PERM_READONLY_DIR; in fixup_perm_from_level()
[all …]
/kernel/linux/linux-5.10/fs/hmdfs/authority/
Dauthentication.c361 struct inode *dinode, in check_and_fixup_ownership_remote() argument
365 struct hmdfs_inode_info *dinfo = hmdfs_i(dinode); in check_and_fixup_ownership_remote()
369 if (IS_ERR_OR_NULL(dinode)) in check_and_fixup_ownership_remote()
376 dinode->i_uid = USER_DATA_RW_UID; in check_and_fixup_ownership_remote()
377 dinode->i_gid = USER_DATA_RW_GID; in check_and_fixup_ownership_remote()
388 dinode->i_uid = DFS_SHARE_UID; in check_and_fixup_ownership_remote()
389 dinode->i_gid = DFS_SHARE_GID; in check_and_fixup_ownership_remote()
390 dinode->i_mode = dinode->i_mode | S_IRWXG; in check_and_fixup_ownership_remote()
398 dinode->i_uid = USER_DATA_RW_UID; in check_and_fixup_ownership_remote()
399 dinode->i_gid = USER_DATA_RW_GID; in check_and_fixup_ownership_remote()
[all …]
Dauthentication.h264 struct inode *dinode,
/kernel/linux/linux-5.10/fs/hmdfs/
Ddentry.c76 struct inode *dinode = NULL; in hmdfs_dev_d_revalidate() local
86 dinode = d_inode(direntry); in hmdfs_dev_d_revalidate()
87 if (!dinode) in hmdfs_dev_d_revalidate()
90 info = hmdfs_i(dinode); in hmdfs_dev_d_revalidate()
103 struct inode *dinode = NULL; in hmdfs_d_revalidate() local
118 dinode = d_inode(direntry); in hmdfs_d_revalidate()
119 if (!dinode) in hmdfs_d_revalidate()
123 info = hmdfs_i(dinode); in hmdfs_d_revalidate()
292 struct inode *dinode = NULL; in d_revalidate_merge() local
304 dinode = d_inode(direntry); in d_revalidate_merge()
[all …]
/kernel/linux/linux-5.10/fs/jfs/
Djfs_imap.c74 static int copy_from_dinode(struct dinode *, struct inode *);
75 static void copy_to_dinode(struct dinode *, struct inode *);
296 struct dinode *dp; in diRead()
372 dp = (struct dinode *) mp->data; in diRead()
420 struct dinode *dp; in diReadSpecial()
453 dp = (struct dinode *) (mp->data); in diReadSpecial()
502 struct dinode *dp; in diWriteSpecial()
523 dp = (struct dinode *) (mp->data); in diWriteSpecial()
585 struct dinode *dp; in diWrite()
642 dp = (struct dinode *) mp->data; in diWrite()
[all …]
Djfs_dinode.h22 struct dinode { struct
/kernel/linux/linux-5.10/fs/gfs2/
Drgrp.c2155 static void gfs2_alloc_extent(const struct gfs2_rbm *rbm, bool dinode, in gfs2_alloc_extent() argument
2166 gfs2_setbit(rbm, true, dinode ? GFS2_BLKST_DINODE : GFS2_BLKST_USED); in gfs2_alloc_extent()
2316 const struct gfs2_inode *ip, bool dinode) in gfs2_set_alloc_start() argument
2325 if (!dinode && rgrp_contains_block(rbm->rgd, ip->i_goal)) in gfs2_set_alloc_start()
2348 bool dinode, u64 *generation) in gfs2_alloc_blocks() argument
2357 gfs2_set_alloc_start(&rbm, ip, dinode); in gfs2_alloc_blocks()
2361 gfs2_set_alloc_start(&rbm, ip, dinode); in gfs2_alloc_blocks()
2374 gfs2_alloc_extent(&rbm, dinode, nblocks); in gfs2_alloc_blocks()
2380 if (dinode) in gfs2_alloc_blocks()
2383 if (!dinode) { in gfs2_alloc_blocks()
[all …]
Drgrp.h45 bool dinode, u64 *generation);
/kernel/linux/linux-5.10/fs/ocfs2/
Docfs2_fs.h403 #define OCFS2_RAW_SB(dinode) (&((dinode)->id2.i_super)) argument
Dlocalalloc.c35 #define OCFS2_LOCAL_ALLOC(dinode) (&((dinode)->id2.i_lab)) argument