Home
last modified time | relevance | path

Searched refs:bi_mode (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dinode.h89 u16 bi_mode; member
206 return inode->bi_subvol ? DT_SUBVOL : mode_to_type(inode->bi_mode); in inode_d_type()
234 : bi->bi_nlink + nlink_bias(bi->bi_mode); in bch2_inode_nlink_get()
241 bi->bi_nlink = nlink - nlink_bias(bi->bi_mode); in bch2_inode_nlink_set()
256 return S_ISDIR(inode->bi_mode) || in bch2_inode_should_have_bp()
Dfs-common.c16 return S_ISDIR(inode->bi_mode) && !inode->bi_subvol; in is_subdir_for_nlink()
225 mode_to_type(inode_u->bi_mode), in bch2_link_trans()
275 if (!deleting_subvol && S_ISDIR(inode_u->bi_mode)) { in bch2_unlink_trans()
484 if (S_ISDIR(src_inode_u->bi_mode) != in bch2_rename_trans()
485 S_ISDIR(dst_inode_u->bi_mode)) { in bch2_rename_trans()
490 if (S_ISDIR(dst_inode_u->bi_mode)) { in bch2_rename_trans()
498 S_ISDIR(src_inode_u->bi_mode)) { in bch2_rename_trans()
505 S_ISDIR(dst_inode_u->bi_mode)) { in bch2_rename_trans()
Dinode.c95 SET_INODEv3_MODE(&packed->inode.v, inode->bi_mode); in bch2_inode_pack_inlined()
141 BUG_ON(unpacked.bi_mode != inode->bi_mode); in bch2_inode_pack_inlined()
248 unpacked->bi_mode = INODEv3_MODE(inode.v); in bch2_inode_unpack_v3()
296 unpacked->bi_mode = le16_to_cpu(inode.v->bi_mode); in bch2_inode_unpack_slowpath()
314 unpacked->bi_mode = le16_to_cpu(inode.v->bi_mode); in bch2_inode_unpack_slowpath()
463 bkey_fsck_err_on(unpacked.bi_subvol && !S_ISDIR(unpacked.bi_mode), in __bch2_inode_validate()
531 prt_printf(out, "mode=%o\n", inode->bi_mode); in __bch2_inode_unpacked_to_text()
817 inode_u->bi_mode = mode; in bch2_inode_init_late()
826 if (parent && parent->bi_mode & S_ISGID) { in bch2_inode_init_late()
829 inode_u->bi_mode |= S_ISGID; in bch2_inode_init_late()
[all …]
Dinode_format.h13 __le16 bi_mode; member
23 __le16 bi_mode; member
Dacl.c324 !S_ISDIR(inode_u->bi_mode)) in bch2_set_acl_trans()
370 mode = inode_u.bi_mode; in bch2_set_acl()
383 inode_u.bi_mode = mode; in bch2_set_acl()
Dfsck.c316 mode_to_type(lostfound->bi_mode), in lookup_lostfound()
395 lostfound.bi_nlink += S_ISDIR(inode->bi_mode); in reattach_inode()
1327 if (S_ISDIR(u.bi_mode) && (u.bi_flags & BCH_INODE_unlinked)) { in check_inode()
1616 if (fsck_err_on(i && !btree_matches_i_mode(iter->btree_id, i->inode.bi_mode), in check_key_has_inode()
1619 i->inode.bi_mode, in check_key_has_inode()
2135 fsck_err_on(S_ISDIR(target->bi_mode), in check_dirent_inode_dirent()
2199 (S_ISDIR(target->bi_mode) || in check_dirent_inode_dirent()
2203 S_ISDIR(target->bi_mode) ? "directory" : "subvolume", in check_dirent_inode_dirent()
2666 mustfix_fsck_err_on(!S_ISDIR(root_inode.bi_mode), in check_root_trans()
2799 if (!S_ISDIR(inode.bi_mode)) in check_path()
[all …]
Dfs-ioctl.c52 if (!S_ISREG(bi->bi_mode) && in bch2_inode_flags_set()
53 !S_ISDIR(bi->bi_mode) && in bch2_inode_flags_set()
Dfs.c66 inode->v.i_mode = bi->bi_mode; in bch2_inode_update_after_write()
1012 bi->bi_mode = mode; in bch2_setattr_copy()
1064 inode_u.bi_mode, &acl); in bch2_setattr_nonsize()
/linux-6.12.1/drivers/media/usb/gspca/
Dvc032x.c85 static const struct v4l2_pix_format bi_mode[] = { variable
3220 cam->cam_mode = bi_mode; in sd_init()
3221 cam->nmodes = ARRAY_SIZE(bi_mode); in sd_init()
3224 cam->cam_mode = bi_mode; in sd_init()
3225 cam->nmodes = ARRAY_SIZE(bi_mode) - 1; in sd_init()