Searched refs:hsb (Results 1 – 3 of 3) sorted by relevance
230 static int parse_options(char *options, struct hfs_sb_info *hsb) in parse_options() argument237 hsb->s_uid = current_uid(); in parse_options()238 hsb->s_gid = current_gid(); in parse_options()239 hsb->s_file_umask = 0133; in parse_options()240 hsb->s_dir_umask = 0022; in parse_options()241 hsb->s_type = hsb->s_creator = cpu_to_be32(0x3f3f3f3f); /* == '????' */ in parse_options()242 hsb->s_quiet = 0; in parse_options()243 hsb->part = -1; in parse_options()244 hsb->session = -1; in parse_options()260 hsb->s_uid = make_kuid(current_user_ns(), (uid_t)tmp); in parse_options()[all …]
316 struct hfs_sb_info *hsb = HFS_SB(inode->i_sb); in hfs_read_inode() local326 inode->i_uid = hsb->s_uid; in hfs_read_inode()327 inode->i_gid = hsb->s_gid; in hfs_read_inode()351 inode->i_mode &= ~hsb->s_file_umask; in hfs_read_inode()363 inode->i_mode = S_IFDIR | (S_IRWXUGO & ~hsb->s_dir_umask); in hfs_read_inode()612 struct hfs_sb_info *hsb = HFS_SB(inode->i_sb); in hfs_inode_setattr() local621 (!uid_eq(attr->ia_uid, hsb->s_uid))) || in hfs_inode_setattr()623 (!gid_eq(attr->ia_gid, hsb->s_gid))) || in hfs_inode_setattr()628 return hsb->s_quiet ? 0 : error; in hfs_inode_setattr()637 attr->ia_mode &= S_ISDIR(inode->i_mode) ? ~hsb->s_dir_umask: ~hsb->s_file_umask; in hfs_inode_setattr()
336 u32 lsb, msb, hsb, err_val; in stv0900_get_err_count() local341 hsb = stv0900_get_bits(intp, ERR_CNT12); in stv0900_get_err_count()346 hsb = stv0900_get_bits(intp, ERR_CNT22); in stv0900_get_err_count()352 err_val = (hsb << 16) + (msb << 8) + (lsb); in stv0900_get_err_count()