/kernel/linux/linux-5.10/fs/xfs/scrub/ |
H A D | inode.c | 71 struct xfs_dinode *dip, in xchk_inode_extsize() 78 fa = xfs_inode_validate_extsize(sc->mp, be32_to_cpu(dip->di_extsize), in xchk_inode_extsize() 93 struct xfs_dinode *dip, in xchk_inode_cowextsize() 102 be32_to_cpu(dip->di_cowextsize), mode, flags, in xchk_inode_cowextsize() 112 struct xfs_dinode *dip, in xchk_inode_flags() 157 struct xfs_dinode *dip, in xchk_inode_flags2() 193 if (xfs_dinode_has_bigtime(dip) && in xchk_inode_flags2() 206 struct xfs_dinode *dip, in xchk_dinode_nsec() 211 tv = xfs_inode_from_disk_ts(dip, ts); in xchk_dinode_nsec() 220 struct xfs_dinode *dip, in xchk_dinode() 69 xchk_inode_extsize( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags) xchk_inode_extsize() argument 91 xchk_inode_cowextsize( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags, uint64_t flags2) xchk_inode_cowextsize() argument 110 xchk_inode_flags( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags) xchk_inode_flags() argument 155 xchk_inode_flags2( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags, uint64_t flags2) xchk_inode_flags2() argument 203 xchk_dinode_nsec( struct xfs_scrub *sc, xfs_ino_t ino, struct xfs_dinode *dip, const xfs_timestamp_t ts) xchk_dinode_nsec() argument 218 xchk_dinode( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino) xchk_dinode() argument 477 xchk_inode_xref_bmap( struct xfs_scrub *sc, struct xfs_dinode *dip) xchk_inode_xref_bmap() argument 511 xchk_inode_xref( struct xfs_scrub *sc, xfs_ino_t ino, struct xfs_dinode *dip) xchk_inode_xref() argument [all...] |
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | inode.c | 205 struct xfs_dinode *dip, in xchk_inode_extsize() 211 uint32_t value = be32_to_cpu(dip->di_extsize); in xchk_inode_extsize() 241 struct xfs_dinode *dip, in xchk_inode_cowextsize() 250 be32_to_cpu(dip->di_cowextsize), mode, flags, in xchk_inode_cowextsize() 260 struct xfs_dinode *dip, in xchk_inode_flags() 305 struct xfs_dinode *dip, in xchk_inode_flags2() 337 if (xfs_dinode_has_bigtime(dip) && !xfs_has_bigtime(mp)) in xchk_inode_flags2() 349 struct xfs_dinode *dip, in xchk_dinode_nsec() 354 tv = xfs_inode_from_disk_ts(dip, ts); in xchk_dinode_nsec() 363 struct xfs_dinode *dip, in xchk_dinode() 203 xchk_inode_extsize( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags) xchk_inode_extsize() argument 239 xchk_inode_cowextsize( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags, uint64_t flags2) xchk_inode_cowextsize() argument 258 xchk_inode_flags( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags) xchk_inode_flags() argument 303 xchk_inode_flags2( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags, uint64_t flags2) xchk_inode_flags2() argument 346 xchk_dinode_nsec( struct xfs_scrub *sc, xfs_ino_t ino, struct xfs_dinode *dip, const xfs_timestamp_t ts) xchk_dinode_nsec() argument 361 xchk_dinode( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino) xchk_dinode() argument 636 xchk_inode_xref_bmap( struct xfs_scrub *sc, struct xfs_dinode *dip) xchk_inode_xref_bmap() argument 670 xchk_inode_xref( struct xfs_scrub *sc, xfs_ino_t ino, struct xfs_dinode *dip) xchk_inode_xref() argument [all...] |
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_inode_buf.c | 53 struct xfs_dinode *dip; in xfs_inode_buf_verify() local 57 dip = xfs_buf_offset(bp, (i << mp->m_sb.sb_inodelog)); in xfs_inode_buf_verify() 58 unlinked_ino = be32_to_cpu(dip->di_next_unlinked); in xfs_inode_buf_verify() 59 di_ok = xfs_verify_magic16(bp, dip->di_magic) && in xfs_inode_buf_verify() 60 xfs_dinode_good_version(mp, dip->di_version) && in xfs_inode_buf_verify() 74 be16_to_cpu(dip->di_magic)); in xfs_inode_buf_verify() 77 __func__, dip, sizeof(*dip), in xfs_inode_buf_verify() 154 struct xfs_dinode *dip, in xfs_inode_from_disk_ts() 160 if (xfs_dinode_has_bigtime(dip)) in xfs_inode_from_disk_ts() 153 xfs_inode_from_disk_ts( struct xfs_dinode *dip, const xfs_timestamp_t ts) xfs_inode_from_disk_ts() argument 353 xfs_dinode_verify_fork( struct xfs_dinode *dip, struct xfs_mount *mp, int whichfork) xfs_dinode_verify_fork() argument 413 xfs_dinode_verify_forkoff( struct xfs_dinode *dip, struct xfs_mount *mp) xfs_dinode_verify_forkoff() argument 438 xfs_dinode_verify_nrext64( struct xfs_mount *mp, struct xfs_dinode *dip) xfs_dinode_verify_nrext64() argument 456 xfs_dinode_verify( struct xfs_mount *mp, xfs_ino_t ino, struct xfs_dinode *dip) xfs_dinode_verify() argument 615 xfs_dinode_calc_crc( struct xfs_mount *mp, struct xfs_dinode *dip) xfs_dinode_calc_crc() argument [all...] |
H A D | xfs_inode_fork.c | 70 struct xfs_dinode *dip, in xfs_iformat_local() 79 if (unlikely(size > XFS_DFORK_SIZE(dip, ip->i_mount, whichfork))) { in xfs_iformat_local() 83 XFS_DFORK_SIZE(dip, ip->i_mount, whichfork)); in xfs_iformat_local() 85 "xfs_iformat_local", dip, sizeof(*dip), in xfs_iformat_local() 90 xfs_init_local_fork(ip, whichfork, XFS_DFORK_PTR(dip, whichfork), size); in xfs_iformat_local() 101 struct xfs_dinode *dip, in xfs_iformat_extents() 107 xfs_extnum_t nex = xfs_dfork_nextents(dip, whichfork); in xfs_iformat_extents() 118 if (unlikely(size < 0 || size > XFS_DFORK_SIZE(dip, mp, whichfork))) { in xfs_iformat_extents() 122 "xfs_iformat_extents(1)", dip, sizeo in xfs_iformat_extents() 68 xfs_iformat_local( struct xfs_inode *ip, struct xfs_dinode *dip, int whichfork, int size) xfs_iformat_local() argument 99 xfs_iformat_extents( struct xfs_inode *ip, struct xfs_dinode *dip, int whichfork) xfs_iformat_extents() argument 164 xfs_iformat_btree( struct xfs_inode *ip, struct xfs_dinode *dip, int whichfork) xfs_iformat_btree() argument 221 xfs_iformat_data_fork( struct xfs_inode *ip, struct xfs_dinode *dip) xfs_iformat_data_fork() argument 276 xfs_dfork_attr_shortform_size( struct xfs_dinode *dip) xfs_dfork_attr_shortform_size() argument 314 xfs_iformat_attr_fork( struct xfs_inode *ip, struct xfs_dinode *dip) xfs_iformat_attr_fork() argument 595 xfs_iflush_fork( struct xfs_inode *ip, struct xfs_dinode *dip, struct xfs_inode_log_item *iip, int whichfork) xfs_iflush_fork() argument [all...] |
H A D | xfs_inode_fork.h | 127 struct xfs_dinode *dip) in xfs_dfork_data_extents() 129 if (xfs_dinode_has_large_extent_counts(dip)) in xfs_dfork_data_extents() 130 return be64_to_cpu(dip->di_big_nextents); in xfs_dfork_data_extents() 132 return be32_to_cpu(dip->di_nextents); in xfs_dfork_data_extents() 137 struct xfs_dinode *dip) in xfs_dfork_attr_extents() 139 if (xfs_dinode_has_large_extent_counts(dip)) in xfs_dfork_attr_extents() 140 return be32_to_cpu(dip->di_big_anextents); in xfs_dfork_attr_extents() 142 return be16_to_cpu(dip->di_anextents); in xfs_dfork_attr_extents() 147 struct xfs_dinode *dip, in xfs_dfork_nextents() 152 return xfs_dfork_data_extents(dip); in xfs_dfork_nextents() 126 xfs_dfork_data_extents( struct xfs_dinode *dip) xfs_dfork_data_extents() argument 136 xfs_dfork_attr_extents( struct xfs_dinode *dip) xfs_dfork_attr_extents() argument 146 xfs_dfork_nextents( struct xfs_dinode *dip, int whichfork) xfs_dfork_nextents() argument [all...] |
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_inode_buf.c | 55 xfs_dinode_t *dip; in xfs_inode_buf_verify() local 58 dip = xfs_buf_offset(bp, (i << mp->m_sb.sb_inodelog)); in xfs_inode_buf_verify() 59 unlinked_ino = be32_to_cpu(dip->di_next_unlinked); in xfs_inode_buf_verify() 60 di_ok = xfs_verify_magic16(bp, dip->di_magic) && in xfs_inode_buf_verify() 61 xfs_dinode_good_version(&mp->m_sb, dip->di_version) && in xfs_inode_buf_verify() 75 be16_to_cpu(dip->di_magic)); in xfs_inode_buf_verify() 78 __func__, dip, sizeof(*dip), in xfs_inode_buf_verify() 174 struct xfs_dinode *dip, in xfs_inode_from_disk_ts() 180 if (xfs_dinode_has_bigtime(dip)) in xfs_inode_from_disk_ts() 173 xfs_inode_from_disk_ts( struct xfs_dinode *dip, const xfs_timestamp_t ts) xfs_inode_from_disk_ts() argument 355 xfs_dinode_verify_fork( struct xfs_dinode *dip, struct xfs_mount *mp, int whichfork) xfs_dinode_verify_fork() argument 413 xfs_dinode_verify_forkoff( struct xfs_dinode *dip, struct xfs_mount *mp) xfs_dinode_verify_forkoff() argument 438 xfs_dinode_verify( struct xfs_mount *mp, xfs_ino_t ino, struct xfs_dinode *dip) xfs_dinode_verify() argument 586 xfs_dinode_calc_crc( struct xfs_mount *mp, struct xfs_dinode *dip) xfs_dinode_calc_crc() argument [all...] |
H A D | xfs_inode_fork.c | 71 xfs_dinode_t *dip, in xfs_iformat_local() 80 if (unlikely(size > XFS_DFORK_SIZE(dip, ip->i_mount, whichfork))) { in xfs_iformat_local() 84 XFS_DFORK_SIZE(dip, ip->i_mount, whichfork)); in xfs_iformat_local() 86 "xfs_iformat_local", dip, sizeof(*dip), in xfs_iformat_local() 91 xfs_init_local_fork(ip, whichfork, XFS_DFORK_PTR(dip, whichfork), size); in xfs_iformat_local() 102 struct xfs_dinode *dip, in xfs_iformat_extents() 108 int nex = XFS_DFORK_NEXTENTS(dip, whichfork); in xfs_iformat_extents() 119 if (unlikely(size < 0 || size > XFS_DFORK_SIZE(dip, mp, whichfork))) { in xfs_iformat_extents() 123 "xfs_iformat_extents(1)", dip, sizeo in xfs_iformat_extents() 69 xfs_iformat_local( xfs_inode_t *ip, xfs_dinode_t *dip, int whichfork, int size) xfs_iformat_local() argument 100 xfs_iformat_extents( struct xfs_inode *ip, struct xfs_dinode *dip, int whichfork) xfs_iformat_extents() argument 165 xfs_iformat_btree( xfs_inode_t *ip, xfs_dinode_t *dip, int whichfork) xfs_iformat_btree() argument 224 xfs_iformat_data_fork( struct xfs_inode *ip, struct xfs_dinode *dip) xfs_iformat_data_fork() argument 274 xfs_dfork_attr_shortform_size( struct xfs_dinode *dip) xfs_dfork_attr_shortform_size() argument 284 xfs_iformat_attr_fork( struct xfs_inode *ip, struct xfs_dinode *dip) xfs_iformat_attr_fork() argument 577 xfs_iflush_fork( xfs_inode_t *ip, xfs_dinode_t *dip, struct xfs_inode_log_item *iip, int whichfork) xfs_iflush_fork() argument [all...] |
/kernel/linux/linux-5.10/fs/jfs/ |
H A D | namei.c | 49 * NAME: jfs_create(dip, dentry, mode) 51 * FUNCTION: create a regular file in the parent directory <dip> 54 * PARAMETER: dip - parent directory vnode 62 static int jfs_create(struct inode *dip, struct dentry *dentry, umode_t mode, in jfs_create() argument 74 jfs_info("jfs_create: dip:0x%p name:%pd", dip, dentry); in jfs_create() 76 rc = dquot_initialize(dip); in jfs_create() 92 ip = ialloc(dip, mode); in jfs_create() 98 tid = txBegin(dip->i_sb, 0); in jfs_create() 100 mutex_lock_nested(&JFS_IP(dip) in jfs_create() 195 jfs_mkdir(struct inode *dip, struct dentry *dentry, umode_t mode) jfs_mkdir() argument 332 jfs_rmdir(struct inode *dip, struct dentry *dentry) jfs_rmdir() argument 462 jfs_unlink(struct inode *dip, struct dentry *dentry) jfs_unlink() argument 876 jfs_symlink(struct inode *dip, struct dentry *dentry, const char *name) jfs_symlink() argument 1446 jfs_lookup(struct inode *dip, struct dentry *dentry, unsigned int flags) jfs_lookup() argument [all...] |
/kernel/linux/linux-6.6/fs/jfs/ |
H A D | namei.c | 49 * NAME: jfs_create(dip, dentry, mode) 51 * FUNCTION: create a regular file in the parent directory <dip> 54 * PARAMETER: dip - parent directory vnode 62 static int jfs_create(struct mnt_idmap *idmap, struct inode *dip, in jfs_create() argument 74 jfs_info("jfs_create: dip:0x%p name:%pd", dip, dentry); in jfs_create() 76 rc = dquot_initialize(dip); in jfs_create() 92 ip = ialloc(dip, mode); in jfs_create() 98 tid = txBegin(dip->i_sb, 0); in jfs_create() 100 mutex_lock_nested(&JFS_IP(dip) in jfs_create() 195 jfs_mkdir(struct mnt_idmap *idmap, struct inode *dip, struct dentry *dentry, umode_t mode) jfs_mkdir() argument 333 jfs_rmdir(struct inode *dip, struct dentry *dentry) jfs_rmdir() argument 463 jfs_unlink(struct inode *dip, struct dentry *dentry) jfs_unlink() argument 877 jfs_symlink(struct mnt_idmap *idmap, struct inode *dip, struct dentry *dentry, const char *name) jfs_symlink() argument 1447 jfs_lookup(struct inode *dip, struct dentry *dentry, unsigned int flags) jfs_lookup() argument [all...] |
/kernel/linux/linux-5.10/fs/gfs2/ |
H A D | dir.c | 36 * dip->i_diskflags & GFS2_DIF_EXHASH is true 607 static int dirent_check_reclen(struct gfs2_inode *dip, in dirent_check_reclen() argument 621 gfs2_consist_inode(dip); in dirent_check_reclen() 627 * @dip: the directory 634 static int dirent_next(struct gfs2_inode *dip, struct buffer_head *bh, in dirent_next() argument 641 ret = dirent_check_reclen(dip, cur, bh_end); in dirent_next() 646 ret = dirent_check_reclen(dip, tmp, bh_end); in dirent_next() 652 gfs2_consist_inode(dip); in dirent_next() 662 * @dip: The GFS2 inode 669 static void dirent_del(struct gfs2_inode *dip, struc argument 756 get_leaf(struct gfs2_inode *dip, u64 leaf_no, struct buffer_head **bhp) get_leaf() argument 779 get_leaf_nr(struct gfs2_inode *dip, u32 index, u64 *leaf_out) get_leaf_nr() argument 794 get_first_leaf(struct gfs2_inode *dip, u32 index, struct buffer_head **bh_out) get_first_leaf() argument 908 struct gfs2_inode *dip = GFS2_I(inode); dir_make_exhash() local 1003 struct gfs2_inode *dip = GFS2_I(inode); dir_split_leaf() local 1150 dir_double_exhash(struct gfs2_inode *dip) dir_double_exhash() argument 1265 do_filldir_main(struct gfs2_inode *dip, struct dir_context *ctx, struct gfs2_dirent **darr, u32 entries, u32 sort_start, int *copied) do_filldir_main() argument 1529 struct gfs2_inode *dip = GFS2_I(inode); dir_e_read() local 1568 struct gfs2_inode *dip = GFS2_I(inode); gfs2_dir_read() local 1872 gfs2_dir_del(struct gfs2_inode *dip, const struct dentry *dentry) gfs2_dir_del() argument 1932 gfs2_dir_mvino(struct gfs2_inode *dip, const struct qstr *filename, const struct gfs2_inode *nip, unsigned int new_type) gfs2_dir_mvino() argument 1968 leaf_dealloc(struct gfs2_inode *dip, u32 index, u32 len, u64 leaf_no, struct buffer_head *leaf_bh, int last_dealloc) leaf_dealloc() argument 2096 gfs2_dir_exhash_dealloc(struct gfs2_inode *dip) gfs2_dir_exhash_dealloc() argument [all...] |
H A D | inode.c | 264 struct inode *gfs2_lookup_simple(struct inode *dip, const char *name) in gfs2_lookup_simple() argument 269 inode = gfs2_lookupi(dip, &qstr, 1); in gfs2_lookup_simple() 301 struct gfs2_inode *dip = GFS2_I(dir); in gfs2_lookupi() local 317 if (gfs2_glock_is_locked_by_me(dip->i_gl) == NULL) { in gfs2_lookupi() 318 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh); in gfs2_lookupi() 342 * @dip: Directory in which dinode is to be created 349 static int create_ok(struct gfs2_inode *dip, const struct qstr *name, in create_ok() argument 354 error = gfs2_permission(&dip->i_inode, MAY_WRITE | MAY_EXEC); in create_ok() 359 if (!dip->i_inode.i_nlink) in create_ok() 362 if (dip in create_ok() 370 munge_mode_uid_gid(const struct gfs2_inode *dip, struct inode *inode) munge_mode_uid_gid() argument 478 init_dinode(struct gfs2_inode *dip, struct gfs2_inode *ip, const char *symname) init_dinode() argument 525 gfs2_trans_da_blks(const struct gfs2_inode *dip, const struct gfs2_diradd *da, unsigned nr_inodes) gfs2_trans_da_blks() argument 533 link_dinode(struct gfs2_inode *dip, const struct qstr *name, struct gfs2_inode *ip, struct gfs2_diradd *da) link_dinode() argument 606 struct gfs2_inode *dip = GFS2_I(dir), *ip; gfs2_create_inode() local 923 struct gfs2_inode *dip = GFS2_I(dir); gfs2_link() local 1055 gfs2_unlink_ok(struct gfs2_inode *dip, const struct qstr *name, const struct gfs2_inode *ip) gfs2_unlink_ok() argument 1090 gfs2_unlink_inode(struct gfs2_inode *dip, const struct dentry *dentry) gfs2_unlink_inode() argument 1127 struct gfs2_inode *dip = GFS2_I(dir); gfs2_unlink() local [all...] |
/kernel/linux/linux-6.6/fs/gfs2/ |
H A D | dir.c | 36 * dip->i_diskflags & GFS2_DIF_EXHASH is true 606 static int dirent_check_reclen(struct gfs2_inode *dip, in dirent_check_reclen() argument 620 gfs2_consist_inode(dip); in dirent_check_reclen() 626 * @dip: the directory 633 static int dirent_next(struct gfs2_inode *dip, struct buffer_head *bh, in dirent_next() argument 640 ret = dirent_check_reclen(dip, cur, bh_end); in dirent_next() 645 ret = dirent_check_reclen(dip, tmp, bh_end); in dirent_next() 651 gfs2_consist_inode(dip); in dirent_next() 661 * @dip: The GFS2 inode 668 static void dirent_del(struct gfs2_inode *dip, struc argument 755 get_leaf(struct gfs2_inode *dip, u64 leaf_no, struct buffer_head **bhp) get_leaf() argument 778 get_leaf_nr(struct gfs2_inode *dip, u32 index, u64 *leaf_out) get_leaf_nr() argument 792 get_first_leaf(struct gfs2_inode *dip, u32 index, struct buffer_head **bh_out) get_first_leaf() argument 906 struct gfs2_inode *dip = GFS2_I(inode); dir_make_exhash() local 1000 struct gfs2_inode *dip = GFS2_I(inode); dir_split_leaf() local 1147 dir_double_exhash(struct gfs2_inode *dip) dir_double_exhash() argument 1263 do_filldir_main(struct gfs2_inode *dip, struct dir_context *ctx, struct gfs2_dirent **darr, u32 entries, u32 sort_start, int *copied) do_filldir_main() argument 1531 struct gfs2_inode *dip = GFS2_I(inode); dir_e_read() local 1570 struct gfs2_inode *dip = GFS2_I(inode); gfs2_dir_read() local 1874 gfs2_dir_del(struct gfs2_inode *dip, const struct dentry *dentry) gfs2_dir_del() argument 1936 gfs2_dir_mvino(struct gfs2_inode *dip, const struct qstr *filename, const struct gfs2_inode *nip, unsigned int new_type) gfs2_dir_mvino() argument 1972 leaf_dealloc(struct gfs2_inode *dip, u32 index, u32 len, u64 leaf_no, struct buffer_head *leaf_bh, int last_dealloc) leaf_dealloc() argument 2100 gfs2_dir_exhash_dealloc(struct gfs2_inode *dip) gfs2_dir_exhash_dealloc() argument [all...] |
H A D | inode.c | 268 struct inode *gfs2_lookup_simple(struct inode *dip, const char *name) in gfs2_lookup_simple() argument 273 inode = gfs2_lookupi(dip, &qstr, 1); in gfs2_lookup_simple() 310 struct gfs2_inode *dip = GFS2_I(dir); in gfs2_lookupi() local 326 if (gfs2_glock_is_locked_by_me(dip->i_gl) == NULL) { in gfs2_lookupi() 327 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh); in gfs2_lookupi() 351 * @dip: Directory in which dinode is to be created 358 static int create_ok(struct gfs2_inode *dip, const struct qstr *name, in create_ok() argument 363 error = gfs2_permission(&nop_mnt_idmap, &dip->i_inode, in create_ok() 369 if (!dip->i_inode.i_nlink) in create_ok() 372 if (dip in create_ok() 380 munge_mode_uid_gid(const struct gfs2_inode *dip, struct inode *inode) munge_mode_uid_gid() argument 492 init_dinode(struct gfs2_inode *dip, struct gfs2_inode *ip, const char *symname) init_dinode() argument 539 gfs2_trans_da_blks(const struct gfs2_inode *dip, const struct gfs2_diradd *da, unsigned nr_inodes) gfs2_trans_da_blks() argument 547 link_dinode(struct gfs2_inode *dip, const struct qstr *name, struct gfs2_inode *ip, struct gfs2_diradd *da) link_dinode() argument 627 struct gfs2_inode *dip = GFS2_I(dir), *ip; gfs2_create_inode() local 946 struct gfs2_inode *dip = GFS2_I(dir); gfs2_link() local 1076 gfs2_unlink_ok(struct gfs2_inode *dip, const struct qstr *name, const struct gfs2_inode *ip) gfs2_unlink_ok() argument 1111 gfs2_unlink_inode(struct gfs2_inode *dip, const struct dentry *dentry) gfs2_unlink_inode() argument 1148 struct gfs2_inode *dip = GFS2_I(dir); gfs2_unlink() local [all...] |
/kernel/linux/linux-5.10/fs/freevxfs/ |
H A D | vxfs_inode.c | 101 struct vxfs_inode_info *vip, struct vxfs_dinode *dip) in dip2vip_cpy() 105 vip->vii_mode = fs32_to_cpu(sbi, dip->vdi_mode); in dip2vip_cpy() 106 vip->vii_nlink = fs32_to_cpu(sbi, dip->vdi_nlink); in dip2vip_cpy() 107 vip->vii_uid = fs32_to_cpu(sbi, dip->vdi_uid); in dip2vip_cpy() 108 vip->vii_gid = fs32_to_cpu(sbi, dip->vdi_gid); in dip2vip_cpy() 109 vip->vii_size = fs64_to_cpu(sbi, dip->vdi_size); in dip2vip_cpy() 110 vip->vii_atime = fs32_to_cpu(sbi, dip->vdi_atime); in dip2vip_cpy() 111 vip->vii_autime = fs32_to_cpu(sbi, dip->vdi_autime); in dip2vip_cpy() 112 vip->vii_mtime = fs32_to_cpu(sbi, dip->vdi_mtime); in dip2vip_cpy() 113 vip->vii_mutime = fs32_to_cpu(sbi, dip in dip2vip_cpy() 100 dip2vip_cpy(struct vxfs_sb_info *sbi, struct vxfs_inode_info *vip, struct vxfs_dinode *dip) dip2vip_cpy() argument 181 struct vxfs_dinode *dip; vxfs_blkiget() local 184 dip2vip_cpy(VXFS_SBI(sbp), vip, dip); vxfs_blkiget() local 220 struct vxfs_dinode *dip; __vxfs_iget() local [all...] |
/kernel/linux/linux-6.6/fs/freevxfs/ |
H A D | vxfs_inode.c | 77 struct vxfs_inode_info *vip, struct vxfs_dinode *dip) in dip2vip_cpy() 81 vip->vii_mode = fs32_to_cpu(sbi, dip->vdi_mode); in dip2vip_cpy() 82 vip->vii_nlink = fs32_to_cpu(sbi, dip->vdi_nlink); in dip2vip_cpy() 83 vip->vii_uid = fs32_to_cpu(sbi, dip->vdi_uid); in dip2vip_cpy() 84 vip->vii_gid = fs32_to_cpu(sbi, dip->vdi_gid); in dip2vip_cpy() 85 vip->vii_size = fs64_to_cpu(sbi, dip->vdi_size); in dip2vip_cpy() 86 vip->vii_atime = fs32_to_cpu(sbi, dip->vdi_atime); in dip2vip_cpy() 87 vip->vii_autime = fs32_to_cpu(sbi, dip->vdi_autime); in dip2vip_cpy() 88 vip->vii_mtime = fs32_to_cpu(sbi, dip->vdi_mtime); in dip2vip_cpy() 89 vip->vii_mutime = fs32_to_cpu(sbi, dip in dip2vip_cpy() 76 dip2vip_cpy(struct vxfs_sb_info *sbi, struct vxfs_inode_info *vip, struct vxfs_dinode *dip) dip2vip_cpy() argument 156 struct vxfs_dinode *dip; vxfs_blkiget() local 159 dip2vip_cpy(VXFS_SBI(sbp), vip, dip); vxfs_blkiget() local 195 struct vxfs_dinode *dip; __vxfs_iget() local [all...] |
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_inode_item_recover.c | 77 struct xfs_dinode *dip, in xfs_recover_inode_owner_change() 91 ASSERT(dip->di_version >= 3); in xfs_recover_inode_owner_change() 93 error = xfs_inode_from_disk(ip, dip); in xfs_recover_inode_owner_change() 205 struct xfs_dinode *dip; in xlog_recover_inode_commit_pass2() local 242 dip = xfs_buf_offset(bp, in_f->ilf_boffset); in xlog_recover_inode_commit_pass2() 248 if (XFS_IS_CORRUPT(mp, !xfs_verify_magic16(bp, dip->di_magic))) { in xlog_recover_inode_commit_pass2() 250 "%s: Bad inode magic number, dip = "PTR_FMT", dino bp = "PTR_FMT", ino = %Ld", in xlog_recover_inode_commit_pass2() 251 __func__, dip, bp, in_f->ilf_ino); in xlog_recover_inode_commit_pass2() 280 if (dip->di_version >= 3) { in xlog_recover_inode_commit_pass2() 281 xfs_lsn_t lsn = be64_to_cpu(dip in xlog_recover_inode_commit_pass2() 75 xfs_recover_inode_owner_change( struct xfs_mount *mp, struct xfs_dinode *dip, struct xfs_inode_log_format *in_f, struct list_head *buffer_list) xfs_recover_inode_owner_change() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/ |
H A D | tc_flower_port_range.sh | 80 local dip=$1; shift 95 flower src_ip $sip dst_ip $dip ip_proto $ip_proto \ 100 flower src_ip $sip dst_ip $dip ip_proto $ip_proto \ 105 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \ 112 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \ 119 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \ 128 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \ 130 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \ 132 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \ 134 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \ [all...] |
H A D | tc_flower_l2_miss.sh | 74 local dip=192.0.2.2 82 dst_ip $dip action pass 86 dst_ip $dip action pass 89 $MZ $h1 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q 100 $MZ $h1 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q 111 $MZ $h1 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q 129 local dip=$1; shift 138 flower indev $swp1 l2_miss 1 src_ip $sip dst_ip $dip \ 142 flower indev $swp1 l2_miss 0 src_ip $sip dst_ip $dip \ 146 $MZ $mode $h1 -a own -b $dmac -t ip -A $sip -B $dip [all...] |
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_inode_item_recover.c | 77 struct xfs_dinode *dip, in xfs_recover_inode_owner_change() 91 ASSERT(dip->di_version >= 3); in xfs_recover_inode_owner_change() 93 error = xfs_inode_from_disk(ip, dip); in xfs_recover_inode_owner_change() 279 struct xfs_dinode *dip; in xlog_recover_inode_commit_pass2() local 317 dip = xfs_buf_offset(bp, in_f->ilf_boffset); in xlog_recover_inode_commit_pass2() 323 if (XFS_IS_CORRUPT(mp, !xfs_verify_magic16(bp, dip->di_magic))) { in xlog_recover_inode_commit_pass2() 325 "%s: Bad inode magic number, dip = "PTR_FMT", dino bp = "PTR_FMT", ino = %lld", in xlog_recover_inode_commit_pass2() 326 __func__, dip, bp, in_f->ilf_ino); in xlog_recover_inode_commit_pass2() 355 if (dip->di_version >= 3) { in xlog_recover_inode_commit_pass2() 356 xfs_lsn_t lsn = be64_to_cpu(dip in xlog_recover_inode_commit_pass2() 75 xfs_recover_inode_owner_change( struct xfs_mount *mp, struct xfs_dinode *dip, struct xfs_inode_log_format *in_f, struct list_head *buffer_list) xfs_recover_inode_owner_change() argument [all...] |
H A D | xfs_iunlink_item.c | 57 struct xfs_dinode *dip; in xfs_iunlink_log_dinode() local 73 dip = xfs_buf_offset(ibp, ip->i_imap.im_boffset); in xfs_iunlink_log_dinode() 76 if (be32_to_cpu(dip->di_next_unlinked) != iup->old_agino) { in xfs_iunlink_log_dinode() 77 xfs_inode_verifier_error(ip, -EFSCORRUPTED, __func__, dip, in xfs_iunlink_log_dinode() 78 sizeof(*dip), __this_address); in xfs_iunlink_log_dinode() 85 be32_to_cpu(dip->di_next_unlinked), iup->next_agino); in xfs_iunlink_log_dinode() 87 dip->di_next_unlinked = cpu_to_be32(iup->next_agino); in xfs_iunlink_log_dinode() 91 xfs_dinode_calc_crc(mp, dip); in xfs_iunlink_log_dinode()
|
/kernel/linux/linux-5.10/arch/arm/mach-davinci/ |
H A D | common.c | 29 struct davinci_id *dip; in davinci_init_id() local 46 for (i = 0, dip = soc_info->ids; i < soc_info->ids_num; in davinci_init_id() 47 i++, dip++) in davinci_init_id() 49 if ((dip->part_no == part_no) && (dip->variant == variant)) { in davinci_init_id() 50 soc_info->cpu_id = dip->cpu_id; in davinci_init_id() 51 pr_info("DaVinci %s variant 0x%x\n", dip->name, in davinci_init_id() 52 dip->variant); in davinci_init_id()
|
/kernel/linux/linux-6.6/arch/arm/mach-davinci/ |
H A D | common.c | 28 struct davinci_id *dip; in davinci_init_id() local 45 for (i = 0, dip = soc_info->ids; i < soc_info->ids_num; in davinci_init_id() 46 i++, dip++) in davinci_init_id() 48 if ((dip->part_no == part_no) && (dip->variant == variant)) { in davinci_init_id() 49 soc_info->cpu_id = dip->cpu_id; in davinci_init_id() 50 pr_info("DaVinci %s variant 0x%x\n", dip->name, in davinci_init_id() 51 dip->variant); in davinci_init_id()
|
/kernel/linux/linux-5.10/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-v4l2.c | 828 static void pvr2_v4l2_dev_destroy(struct pvr2_v4l2_dev *dip) in pvr2_v4l2_dev_destroy() argument 830 struct pvr2_hdw *hdw = dip->v4lp->channel.mc_head->hdw; in pvr2_v4l2_dev_destroy() 831 enum pvr2_config cfg = dip->config; in pvr2_v4l2_dev_destroy() 840 video_device_node_name(&dip->devbase), in pvr2_v4l2_dev_destroy() 844 pvr2_hdw_v4l_store_minor_number(hdw,dip->minor_type,-1); in pvr2_v4l2_dev_destroy() 847 dip->v4lp = NULL; in pvr2_v4l2_dev_destroy() 848 dip->stream = NULL; in pvr2_v4l2_dev_destroy() 852 video_unregister_device(&dip->devbase); in pvr2_v4l2_dev_destroy() 859 static void pvr2_v4l2_dev_disassociate_parent(struct pvr2_v4l2_dev *dip) in pvr2_v4l2_dev_disassociate_parent() argument 861 if (!dip) retur in pvr2_v4l2_dev_disassociate_parent() 952 struct pvr2_v4l2_dev *dip; /* Our own context pointer */ pvr2_v4l2_open() local 1184 pvr2_v4l2_dev_init(struct pvr2_v4l2_dev *dip, struct pvr2_v4l2 *vp, int v4l_type) pvr2_v4l2_dev_init() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-v4l2.c | 824 static void pvr2_v4l2_dev_destroy(struct pvr2_v4l2_dev *dip) in pvr2_v4l2_dev_destroy() argument 826 struct pvr2_hdw *hdw = dip->v4lp->channel.mc_head->hdw; in pvr2_v4l2_dev_destroy() 827 enum pvr2_config cfg = dip->config; in pvr2_v4l2_dev_destroy() 836 video_device_node_name(&dip->devbase), in pvr2_v4l2_dev_destroy() 840 pvr2_hdw_v4l_store_minor_number(hdw,dip->minor_type,-1); in pvr2_v4l2_dev_destroy() 843 dip->v4lp = NULL; in pvr2_v4l2_dev_destroy() 844 dip->stream = NULL; in pvr2_v4l2_dev_destroy() 848 video_unregister_device(&dip->devbase); in pvr2_v4l2_dev_destroy() 855 static void pvr2_v4l2_dev_disassociate_parent(struct pvr2_v4l2_dev *dip) in pvr2_v4l2_dev_disassociate_parent() argument 857 if (!dip) retur in pvr2_v4l2_dev_disassociate_parent() 948 struct pvr2_v4l2_dev *dip; /* Our own context pointer */ pvr2_v4l2_open() local 1182 pvr2_v4l2_dev_init(struct pvr2_v4l2_dev *dip, struct pvr2_v4l2 *vp, int v4l_type) pvr2_v4l2_dev_init() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | devlink_trap_l3_drops.sh | 193 local dip=$1; shift 208 -B $dip -d 1msec -q & 229 local dip=$1; shift 243 -b $rp1mac -B $dip -d 1msec -q & 263 local dip=$1; shift 273 flower dst_ip $dip action drop 277 -B $dip -d 1msec -q & 298 local dip=$1; shift 312 -b $rp1mac -B $dip -d 1msec -q & 468 local dip [all...] |