/linux/fs/xfs/scrub/ |
A D | inode.c | 70 struct xfs_dinode *dip, in xchk_inode_extsize() argument 106 struct xfs_dinode *dip, in xchk_inode_cowextsize() argument 125 struct xfs_dinode *dip, in xchk_inode_flags() argument 170 struct xfs_dinode *dip, in xchk_inode_flags2() argument 322 xchk_dinode_nsec(sc, ino, dip, dip->di_atime); in xchk_dinode() 323 xchk_dinode_nsec(sc, ino, dip, dip->di_mtime); in xchk_dinode() 324 xchk_dinode_nsec(sc, ino, dip, dip->di_ctime); in xchk_dinode() 398 if (XFS_DFORK_APTR(dip) >= (char *)dip + mp->m_sb.sb_inodesize) in xchk_dinode() 400 if (dip->di_anextents != 0 && dip->di_forkoff == 0) in xchk_dinode() 402 if (dip->di_forkoff == 0 && dip->di_aformat != XFS_DINODE_FMT_EXTENTS) in xchk_dinode() [all …]
|
A D | ialloc.c | 149 struct xfs_dinode *dip) in xchk_iallocbt_check_cluster_ifree() argument 170 if (be16_to_cpu(dip->di_magic) != XFS_DINODE_MAGIC || in xchk_iallocbt_check_cluster_ifree() 171 (dip->di_version >= 3 && be64_to_cpu(dip->di_ino) != fsino)) { in xchk_iallocbt_check_cluster_ifree() 180 freemask_ok = irec_free ^ !!(dip->di_mode); in xchk_iallocbt_check_cluster_ifree() 286 struct xfs_dinode *dip; in xchk_iallocbt_check_cluster() local 293 dip = xfs_buf_offset(cluster_bp, imap.im_boffset); in xchk_iallocbt_check_cluster() 295 cluster_base + cluster_index, dip); in xchk_iallocbt_check_cluster()
|
/linux/fs/xfs/libxfs/ |
A D | xfs_inode_buf.c | 54 struct xfs_dinode *dip; in xfs_inode_buf_verify() local 78 __func__, dip, sizeof(*dip), in xfs_inode_buf_verify() 155 struct xfs_dinode *dip, in xfs_inode_from_disk_ts() argument 335 struct xfs_dinode *dip, in xfs_dinode_verify_fork() argument 376 struct xfs_dinode *dip, in xfs_dinode_verify_forkoff() argument 379 if (!dip->di_forkoff) in xfs_dinode_verify_forkoff() 403 struct xfs_dinode *dip) in xfs_dinode_verify() argument 442 be32_to_cpu(dip->di_nextents) + be16_to_cpu(dip->di_anextents) > in xfs_dinode_verify() 482 if (dip->di_forkoff) { in xfs_dinode_verify() 500 if (dip->di_anextents) in xfs_dinode_verify() [all …]
|
A D | xfs_inode_fork.c | 71 struct xfs_dinode *dip, in xfs_iformat_local() argument 86 "xfs_iformat_local", dip, sizeof(*dip), in xfs_iformat_local() 102 struct xfs_dinode *dip, in xfs_iformat_extents() argument 123 "xfs_iformat_extents(1)", dip, sizeof(*dip), in xfs_iformat_extents() 166 struct xfs_dinode *dip, in xfs_iformat_btree() argument 223 struct xfs_dinode *dip) in xfs_iformat_data_fork() argument 259 dip, sizeof(*dip), __this_address); in xfs_iformat_data_fork() 272 struct xfs_dinode *dip) in xfs_dfork_attr_shortform_size() argument 296 struct xfs_dinode *dip) in xfs_iformat_attr_fork() argument 584 struct xfs_dinode *dip, in xfs_iflush_fork() argument [all …]
|
A D | xfs_format.h | 893 #define XFS_DFORK_BOFF(dip) ((int)((dip)->di_forkoff << 3)) argument 896 ((dip)->di_forkoff ? XFS_DFORK_BOFF(dip) : XFS_LITINO(mp)) 898 ((dip)->di_forkoff ? XFS_LITINO(mp) - XFS_DFORK_BOFF(dip) : 0) 902 XFS_DFORK_ASIZE(dip, mp)) 910 #define XFS_DFORK_DPTR(dip) \ argument 911 ((char *)dip + xfs_dinode_size(dip->di_version)) 912 #define XFS_DFORK_APTR(dip) \ argument 913 (XFS_DFORK_DPTR(dip) + XFS_DFORK_BOFF(dip)) 915 ((w) == XFS_DATA_FORK ? XFS_DFORK_DPTR(dip) : XFS_DFORK_APTR(dip)) 919 (dip)->di_format : \ [all …]
|
A D | xfs_inode_buf.h | 24 void xfs_dinode_calc_crc(struct xfs_mount *mp, struct xfs_dinode *dip); 30 struct xfs_dinode *dip); 42 struct timespec64 xfs_inode_from_disk_ts(struct xfs_dinode *dip,
|
/linux/fs/jfs/ |
A D | namei.c | 124 iplist[0] = dip; in jfs_create() 152 dip->i_ctime = dip->i_mtime = current_time(dip); in jfs_create() 154 mark_inode_dirty(dip); in jfs_create() 257 iplist[0] = dip; in jfs_mkdir() 287 dip->i_ctime = dip->i_mtime = current_time(dip); in jfs_mkdir() 368 iplist[0] = dip; in jfs_rmdir() 393 dip->i_ctime = dip->i_mtime = current_time(dip); in jfs_rmdir() 495 iplist[0] = dip; in jfs_unlink() 515 ip->i_ctime = dip->i_ctime = dip->i_mtime = current_time(ip); in jfs_unlink() 1026 dip->i_ctime = dip->i_mtime = current_time(dip); in jfs_symlink() [all …]
|
A D | jfs_imap.c | 3030 jfs_ip->mode2 = le32_to_cpu(dip->di_mode); in copy_from_dinode() 3046 set_nlink(ip, le32_to_cpu(dip->di_nlink)); in copy_from_dinode() 3062 ip->i_size = le64_to_cpu(dip->di_size); in copy_from_dinode() 3074 jfs_ip->ea = dip->di_ea; in copy_from_dinode() 3080 jfs_ip->dev = le32_to_cpu(dip->di_rdev); in copy_from_dinode() 3115 dip->di_number = cpu_to_le32(ip->i_ino); in copy_to_dinode() 3117 dip->di_size = cpu_to_le64(ip->i_size); in copy_to_dinode() 3119 dip->di_nlink = cpu_to_le32(ip->i_nlink); in copy_to_dinode() 3148 dip->di_ea = jfs_ip->ea; in copy_to_dinode() 3151 dip->di_otime.tv_nsec = 0; in copy_to_dinode() [all …]
|
/linux/fs/gfs2/ |
A D | dir.c | 620 gfs2_consist_inode(dip); in dirent_check_reclen() 981 dip->i_depth = y; in dir_make_exhash() 1187 dip->i_hash_cache = hc2; in dir_double_exhash() 1188 dip->i_depth++; in dir_double_exhash() 1579 if (!dip->i_entries) in gfs2_dir_read() 1610 dip->i_entries, in gfs2_dir_read() 1911 if (!dip->i_entries) in gfs2_dir_del() 1913 dip->i_entries--; in gfs2_dir_del() 1914 dip->i_inode.i_mtime = dip->i_inode.i_ctime = tv; in gfs2_dir_del() 1955 dip->i_inode.i_mtime = dip->i_inode.i_ctime = current_time(&dip->i_inode); in gfs2_dir_mvino() [all …]
|
A D | inode.c | 344 if (!dip->i_inode.i_nlink) in create_ok() 484 gfs2_init_dir(dibh, dip); in init_dinode() 546 gfs2_inplace_release(dip); in link_dinode() 548 gfs2_quota_unlock(dip); in link_dinode() 602 error = gfs2_qa_get(dip); in gfs2_create_inode() 666 ip->i_goal = dip->i_goal; in gfs2_create_inode() 781 gfs2_qa_put(dip); in gfs2_create_inode() 818 gfs2_qa_put(dip); in gfs2_create_inode() 922 error = gfs2_qa_get(dip); in gfs2_link() 1019 gfs2_quota_unlock(dip); in gfs2_link() [all …]
|
A D | dentry.c | 37 struct gfs2_inode *dip; in gfs2_drevalidate() local 49 dip = GFS2_I(d_inode(parent)); in gfs2_drevalidate() 63 had_lock = (gfs2_glock_is_locked_by_me(dip->i_gl) != NULL); in gfs2_drevalidate() 65 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh); in gfs2_drevalidate()
|
A D | dir.h | 38 extern int gfs2_dir_del(struct gfs2_inode *dip, const struct dentry *dentry); 41 extern int gfs2_dir_mvino(struct gfs2_inode *dip, const struct qstr *filename, 44 extern int gfs2_dir_exhash_dealloc(struct gfs2_inode *dip);
|
/linux/fs/freevxfs/ |
A D | vxfs_inode.c | 105 vip->vii_mode = fs32_to_cpu(sbi, dip->vdi_mode); 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() 116 vip->vii_orgtype = dip->vdi_orgtype; in dip2vip_cpy() 119 vip->vii_gen = fs32_to_cpu(sbi, dip->vdi_gen); in dip2vip_cpy() 181 struct vxfs_dinode *dip; in vxfs_blkiget() local 184 dip2vip_cpy(VXFS_SBI(sbp), vip, dip); in vxfs_blkiget() 220 struct vxfs_dinode *dip; in __vxfs_iget() local 223 dip = (struct vxfs_dinode *)(kaddr + offset); in __vxfs_iget() [all …]
|
A D | vxfs_lookup.c | 156 vxfs_inode_by_name(struct inode *dip, struct dentry *dp) in vxfs_inode_by_name() argument 162 de = vxfs_find_entry(dip, dp, &pp); in vxfs_inode_by_name() 164 ino = fs32_to_cpu(VXFS_SBI(dip->i_sb), de->d_ino); in vxfs_inode_by_name() 187 vxfs_lookup(struct inode *dip, struct dentry *dp, unsigned int flags) in vxfs_lookup() argument 195 ino = vxfs_inode_by_name(dip, dp); in vxfs_lookup() 197 ip = vxfs_iget(dip->i_sb, ino); in vxfs_lookup()
|
/linux/fs/xfs/ |
A D | xfs_inode_item_recover.c | 77 struct xfs_dinode *dip, in xfs_recover_inode_owner_change() argument 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 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() 415 XFS_DFORK_DSIZE(dip, mp)); in xlog_recover_inode_commit_pass2() 444 dest = XFS_DFORK_APTR(dip); in xlog_recover_inode_commit_pass2() 450 dest = XFS_DFORK_APTR(dip); in xlog_recover_inode_commit_pass2() 453 XFS_DFORK_ASIZE(dip, mp)); in xlog_recover_inode_commit_pass2() [all …]
|
/linux/arch/arm/mach-davinci/ |
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()
|
/linux/drivers/media/usb/pvrusb2/ |
A D | pvrusb2-v4l2.c | 843 dip->v4lp = NULL; in pvr2_v4l2_dev_destroy() 844 dip->stream = NULL; in pvr2_v4l2_dev_destroy() 857 if (!dip) return; in pvr2_v4l2_dev_disassociate_parent() 958 vp = dip->v4lp; in pvr2_v4l2_open() 976 fhp->pdi = dip; in pvr2_v4l2_open() 1190 dip->v4lp = vp; in pvr2_v4l2_dev_init() 1193 dip->v4l_type = v4l_type; in pvr2_v4l2_dev_init() 1201 if (!dip->stream) { in pvr2_v4l2_dev_init() 1208 dip->config = pvr2_config_vbi; in pvr2_v4l2_dev_init() 1226 dip->devbase = vdev_template; in pvr2_v4l2_dev_init() [all …]
|
A D | pvrusb2-sysfs.c | 415 struct pvr2_sysfs_debugifc *dip; in pvr2_sysfs_add_debugifc() local 418 dip = kzalloc(sizeof(*dip),GFP_KERNEL); in pvr2_sysfs_add_debugifc() 419 if (!dip) return; in pvr2_sysfs_add_debugifc() 420 sysfs_attr_init(&dip->attr_debugcmd.attr); in pvr2_sysfs_add_debugifc() 421 dip->attr_debugcmd.attr.name = "debugcmd"; in pvr2_sysfs_add_debugifc() 423 dip->attr_debugcmd.show = debugcmd_show; in pvr2_sysfs_add_debugifc() 424 dip->attr_debugcmd.store = debugcmd_store; in pvr2_sysfs_add_debugifc() 427 dip->attr_debuginfo.attr.mode = S_IRUGO; in pvr2_sysfs_add_debugifc() 429 sfp->debugifc = dip; in pvr2_sysfs_add_debugifc() 436 dip->debugcmd_created_ok = !0; in pvr2_sysfs_add_debugifc() [all …]
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
A D | devlink_trap_l3_drops.sh | 193 local dip=$1; shift 208 -B $dip -d 1msec -q & 229 local dip=$1; shift 263 local dip=$1; shift 277 -B $dip -d 1msec -q & 298 local dip=$1; shift 468 local dip=FF00:: 493 local dip=FF01:: 520 local dip=$1; shift 535 -B $dip -d 1msec -q & [all …]
|
A D | devlink_trap_l3_exceptions.sh | 370 local dip=$1; shift 386 ping_do $h1 $dip 401 local dip=$1; shift 423 ping_do $h1 $dip 426 ping_do $h1 $dip 437 ip $flags route add $dip via $via_add dev $h2 440 ping_do $h1 $dip 455 local dip=$1; shift 465 ip route add $dip nhid 10 468 ping_do $h1 $dip [all …]
|
/linux/tools/testing/selftests/net/forwarding/ |
A D | sch_ets_core.sh | 74 dip() function 85 start_traffic $h1.1$i $(sip $i) $(dip $i) $dst_mac 194 vlan_create $h2 1$i v$h2 $(dip $i)/28 285 ping_test $h1.10 $(dip 0) " vlan 10" 286 ping_test $h1.11 $(dip 1) " vlan 11" 287 ping_test $h1.12 $(dip 2) " vlan 12"
|
A D | router.sh | 220 local dip=$1; shift 227 flower dst_ip $dip action pass 229 create_mcast_sg $rp1 $sip $dip $rp2 232 -B $dip -q 239 delete_mcast_sg $rp1 $sip $dip $rp2 293 local dip=169.254.1.1 298 flower dst_ip $dip action pass 303 $MZ $h1 -t udp "sp=54321,dp=12345" -c 5 -d 1msec -b $rp1mac -B $dip -q
|
A D | mirror_lib.sh | 34 local dip=$1; shift 39 if is_ipv6 $dip; then 48 $MZ $proto $vrf_name ${sip:+-A $sip} -B $dip -a own -b bc -q \
|
/linux/arch/riscv/boot/dts/canaan/ |
A D | canaan_kd233.dts | 82 <K210_FPIOA(20, K210_PCF_GPIOHS4)>, /* Rot. dip sw line 8 */ 83 <K210_FPIOA(21, K210_PCF_GPIOHS5)>, /* Rot. dip sw line 4 */ 84 <K210_FPIOA(22, K210_PCF_GPIOHS6)>, /* Rot. dip sw line 2 */ 85 <K210_FPIOA(23, K210_PCF_GPIOHS7)>, /* Rot. dip sw line 1 */
|
/linux/net/bridge/netfilter/ |
A D | ebt_among.c | 138 __be32 dip = 0, sip = 0; in ebt_among_mt() local 160 if (get_ip_dst(skb, &dip)) in ebt_among_mt() 164 if (!ebt_mac_wormhash_contains(wh_dst, dmac, dip)) in ebt_among_mt() 168 if (ebt_mac_wormhash_contains(wh_dst, dmac, dip)) in ebt_among_mt()
|