Home
last modified time | relevance | path

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

/fs/adfs/
Dsuper.c121 struct adfs_sb_info *asb = ADFS_SB(sb); in adfs_put_super() local
123 for (i = 0; i < asb->s_map_size; i++) in adfs_put_super()
124 brelse(asb->s_map[i].dm_bh); in adfs_put_super()
125 kfree(asb->s_map); in adfs_put_super()
126 kfree(asb); in adfs_put_super()
132 struct adfs_sb_info *asb = ADFS_SB(root->d_sb); in adfs_show_options() local
134 if (!uid_eq(asb->s_uid, GLOBAL_ROOT_UID)) in adfs_show_options()
135 seq_printf(seq, ",uid=%u", from_kuid_munged(&init_user_ns, asb->s_uid)); in adfs_show_options()
136 if (!gid_eq(asb->s_gid, GLOBAL_ROOT_GID)) in adfs_show_options()
137 seq_printf(seq, ",gid=%u", from_kgid_munged(&init_user_ns, asb->s_gid)); in adfs_show_options()
[all …]
Dmap.c131 scan_free_map(struct adfs_sb_info *asb, struct adfs_discmap *dm) in scan_free_map() argument
134 const unsigned int idlen = asb->s_idlen; in scan_free_map()
192 scan_map(struct adfs_sb_info *asb, unsigned int zone, in scan_map() argument
195 const unsigned int idlen = asb->s_idlen; in scan_map()
199 dm = asb->s_map + zone; in scan_map()
200 zone = asb->s_map_size; in scan_map()
201 dm_end = asb->s_map + zone; in scan_map()
211 dm = asb->s_map; in scan_map()
232 struct adfs_sb_info *asb = ADFS_SB(sb); in adfs_map_free() local
237 dm = asb->s_map; in adfs_map_free()
[all …]
Dinode.c93 struct adfs_sb_info *asb = ADFS_SB(sb); in adfs_atts2mode() local
96 mode = S_IRUGO & asb->s_owner_mask; in adfs_atts2mode()
115 mode |= rmask & asb->s_owner_mask; in adfs_atts2mode()
118 mode |= S_IWUGO & asb->s_owner_mask; in adfs_atts2mode()
121 mode |= rmask & asb->s_other_mask; in adfs_atts2mode()
124 mode |= S_IWUGO & asb->s_other_mask; in adfs_atts2mode()
137 struct adfs_sb_info *asb = ADFS_SB(sb); in adfs_mode2atts() local
148 mode = inode->i_mode & asb->s_owner_mask; in adfs_mode2atts()
154 mode = inode->i_mode & asb->s_other_mask; in adfs_mode2atts()
155 mode &= ~asb->s_owner_mask; in adfs_mode2atts()