Home
last modified time | relevance | path

Searched refs:asb (Results 1 – 3 of 3) sorted by relevance

/fs/adfs/
Dsuper.c94 struct adfs_sb_info *asb = ADFS_SB(sb); in adfs_put_super() local
97 kfree_rcu(asb, rcu); in adfs_put_super()
102 struct adfs_sb_info *asb = ADFS_SB(root->d_sb); in adfs_show_options() local
104 if (!uid_eq(asb->s_uid, GLOBAL_ROOT_UID)) in adfs_show_options()
105 seq_printf(seq, ",uid=%u", from_kuid_munged(&init_user_ns, asb->s_uid)); in adfs_show_options()
106 if (!gid_eq(asb->s_gid, GLOBAL_ROOT_GID)) in adfs_show_options()
107 seq_printf(seq, ",gid=%u", from_kgid_munged(&init_user_ns, asb->s_gid)); in adfs_show_options()
108 if (asb->s_owner_mask != ADFS_DEFAULT_OWNER_MASK) in adfs_show_options()
109 seq_printf(seq, ",ownmask=%o", asb->s_owner_mask); in adfs_show_options()
110 if (asb->s_other_mask != ADFS_DEFAULT_OTHER_MASK) in adfs_show_options()
[all …]
Dmap.c115 scan_free_map(struct adfs_sb_info *asb, struct adfs_discmap *dm) in scan_free_map() argument
118 const unsigned int idlen = asb->s_idlen; in scan_free_map()
159 static int scan_map(struct adfs_sb_info *asb, unsigned int zone, in scan_map() argument
162 const unsigned int idlen = asb->s_idlen; in scan_map()
166 dm = asb->s_map + zone; in scan_map()
167 zone = asb->s_map_size; in scan_map()
168 dm_end = asb->s_map + zone; in scan_map()
178 dm = asb->s_map; in scan_map()
198 struct adfs_sb_info *asb = ADFS_SB(sb); in adfs_map_statfs() local
199 struct adfs_discrecord *dr = adfs_map_discrecord(asb->s_map); in adfs_map_statfs()
[all …]
Dinode.c91 struct adfs_sb_info *asb = ADFS_SB(sb); in adfs_atts2mode() local
94 mode = S_IRUGO & asb->s_owner_mask; in adfs_atts2mode()
113 mode |= rmask & asb->s_owner_mask; in adfs_atts2mode()
116 mode |= S_IWUGO & asb->s_owner_mask; in adfs_atts2mode()
119 mode |= rmask & asb->s_other_mask; in adfs_atts2mode()
122 mode |= S_IWUGO & asb->s_other_mask; in adfs_atts2mode()
133 struct adfs_sb_info *asb = ADFS_SB(sb); in adfs_mode2atts() local
146 mode = ia_mode & asb->s_owner_mask; in adfs_mode2atts()
152 mode = ia_mode & asb->s_other_mask; in adfs_mode2atts()
153 mode &= ~asb->s_owner_mask; in adfs_mode2atts()