dip                29 arch/arm/mach-davinci/common.c 	struct davinci_id	*dip;
dip                46 arch/arm/mach-davinci/common.c 	for (i = 0, dip = soc_info->ids; i < soc_info->ids_num;
dip                47 arch/arm/mach-davinci/common.c 			i++, dip++)
dip                49 arch/arm/mach-davinci/common.c 		if ((dip->part_no == part_no) && (dip->variant == variant)) {
dip                50 arch/arm/mach-davinci/common.c 			soc_info->cpu_id = dip->cpu_id;
dip                51 arch/arm/mach-davinci/common.c 			pr_info("DaVinci %s variant 0x%x\n", dip->name,
dip                52 arch/arm/mach-davinci/common.c 					dip->variant);
dip               415 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 	struct pvr2_sysfs_debugifc *dip;
dip               418 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 	dip = kzalloc(sizeof(*dip),GFP_KERNEL);
dip               419 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 	if (!dip) return;
dip               420 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 	sysfs_attr_init(&dip->attr_debugcmd.attr);
dip               421 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 	dip->attr_debugcmd.attr.name = "debugcmd";
dip               422 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 	dip->attr_debugcmd.attr.mode = S_IRUGO|S_IWUSR|S_IWGRP;
dip               423 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 	dip->attr_debugcmd.show = debugcmd_show;
dip               424 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 	dip->attr_debugcmd.store = debugcmd_store;
dip               425 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 	sysfs_attr_init(&dip->attr_debuginfo.attr);
dip               426 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 	dip->attr_debuginfo.attr.name = "debuginfo";
dip               427 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 	dip->attr_debuginfo.attr.mode = S_IRUGO;
dip               428 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 	dip->attr_debuginfo.show = debuginfo_show;
dip               429 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 	sfp->debugifc = dip;
dip               430 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 	ret = device_create_file(sfp->class_dev,&dip->attr_debugcmd);
dip               436 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 		dip->debugcmd_created_ok = !0;
dip               438 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 	ret = device_create_file(sfp->class_dev,&dip->attr_debuginfo);
dip               444 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 		dip->debuginfo_created_ok = !0;
dip               828 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static void pvr2_v4l2_dev_destroy(struct pvr2_v4l2_dev *dip)
dip               830 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_hdw *hdw = dip->v4lp->channel.mc_head->hdw;
dip               831 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	enum pvr2_config cfg = dip->config;
dip               840 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 			 video_device_node_name(&dip->devbase),
dip               844 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	pvr2_hdw_v4l_store_minor_number(hdw,dip->minor_type,-1);
dip               847 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	dip->v4lp = NULL;
dip               848 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	dip->stream = NULL;
dip               852 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	video_unregister_device(&dip->devbase);
dip               859 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static void pvr2_v4l2_dev_disassociate_parent(struct pvr2_v4l2_dev *dip)
dip               861 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	if (!dip) return;
dip               862 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	if (!dip->devbase.v4l2_dev->dev) return;
dip               863 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	dip->devbase.v4l2_dev->dev = NULL;
dip               864 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	device_move(&dip->devbase.dev, NULL, DPM_ORDER_NONE);
dip               952 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	struct pvr2_v4l2_dev *dip; /* Our own context pointer */
dip               960 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	dip = container_of(video_devdata(file),struct pvr2_v4l2_dev,devbase);
dip               962 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	vp = dip->v4lp;
dip               978 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	v4l2_fh_init(&fhp->fh, &dip->devbase);
dip               980 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	fhp->pdi = dip;
dip               985 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	if (dip->v4l_type == VFL_TYPE_RADIO) {
dip              1184 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c static void pvr2_v4l2_dev_init(struct pvr2_v4l2_dev *dip,
dip              1194 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	dip->v4lp = vp;
dip              1197 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	dip->v4l_type = v4l_type;
dip              1200 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 		dip->stream = &vp->channel.mc_head->video_stream;
dip              1201 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 		dip->config = pvr2_config_mpeg;
dip              1202 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 		dip->minor_type = pvr2_v4l_type_video;
dip              1205 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 		if (!dip->stream) {
dip              1212 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 		dip->config = pvr2_config_vbi;
dip              1213 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 		dip->minor_type = pvr2_v4l_type_vbi;
dip              1218 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 		dip->stream = &vp->channel.mc_head->video_stream;
dip              1219 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 		dip->config = pvr2_config_mpeg;
dip              1220 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 		dip->minor_type = pvr2_v4l_type_radio;
dip              1230 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	dip->devbase = vdev_template;
dip              1231 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	dip->devbase.release = pvr2_video_device_release;
dip              1232 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	dip->devbase.ioctl_ops = &pvr2_ioctl_ops;
dip              1233 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	dip->devbase.device_caps = caps;
dip              1239 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 		dip->devbase.tvnorms = (v4l2_std_id)val;
dip              1247 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	pvr2_hdw_set_v4l2_dev(hdw, &dip->devbase);
dip              1248 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	if ((video_register_device(&dip->devbase,
dip              1249 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 				   dip->v4l_type, mindevnum) < 0) &&
dip              1250 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	    (video_register_device(&dip->devbase,
dip              1251 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 				   dip->v4l_type, -1) < 0)) {
dip              1257 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	       video_device_node_name(&dip->devbase),
dip              1258 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	       pvr2_config_get_name(dip->config));
dip              1261 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 					dip->minor_type,dip->devbase.minor);
dip               412 drivers/net/ethernet/chelsio/cxgb3/common.h 	u32 dip;
dip               156 drivers/net/ethernet/chelsio/cxgb3/cxgb3_ioctl.h 	uint32_t dip;
dip              3003 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	key[2] = tp->dip;
dip               165 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c 			   unsigned int tid, bool dip, bool sip, bool dp,
dip               168 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c 	if (dip) {
dip               533 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	memcpy(hw_sa->ipsec_sa_v1.dip, daddr, sizeof(hw_sa->ipsec_sa_v1.dip));
dip              6995 drivers/net/ethernet/mellanox/mlxsw/reg.h 					 u32 dip)
dip              6998 drivers/net/ethernet/mellanox/mlxsw/reg.h 	mlxsw_reg_ralue_dip4_set(payload, dip);
dip              7005 drivers/net/ethernet/mellanox/mlxsw/reg.h 					 const void *dip)
dip              7008 drivers/net/ethernet/mellanox/mlxsw/reg.h 	mlxsw_reg_ralue_dip6_memcpy_to(payload, dip);
dip              7182 drivers/net/ethernet/mellanox/mlxsw/reg.h 					 const char *mac, u32 dip)
dip              7185 drivers/net/ethernet/mellanox/mlxsw/reg.h 	mlxsw_reg_rauht_dip4_set(payload, dip);
dip              7190 drivers/net/ethernet/mellanox/mlxsw/reg.h 					 const char *mac, const char *dip)
dip              7194 drivers/net/ethernet/mellanox/mlxsw/reg.h 	mlxsw_reg_rauht_dip6_memcpy_to(payload, dip);
dip              8645 drivers/net/ethernet/mellanox/mlxsw/reg.h 				      u32 sip, u32 dip)
dip              8652 drivers/net/ethernet/mellanox/mlxsw/reg.h 	mlxsw_reg_mpat_eth_rspan_dip4_set(payload, dip);
dip              8658 drivers/net/ethernet/mellanox/mlxsw/reg.h 				      struct in6_addr sip, struct in6_addr dip)
dip              8665 drivers/net/ethernet/mellanox/mlxsw/reg.h 	mlxsw_reg_mpat_eth_rspan_dip6_memcpy_to(payload, (void *)&dip);
dip               457 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c 				       unsigned char *ha, void *dip)
dip               473 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c 	memcpy(value->value, dip, value->value_size);
dip               487 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c 	u32 dip;
dip               490 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c 	dip = mlxsw_sp_neigh4_entry_dip(neigh_entry);
dip               491 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c 	__mlxsw_sp_dpipe_table_host_entry_fill(entry, rif, ha, &dip);
dip               499 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c 	struct in6_addr *dip;
dip               503 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c 	dip = mlxsw_sp_neigh6_entry_dip(neigh_entry);
dip               505 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c 	__mlxsw_sp_dpipe_table_host_entry_fill(entry, rif, ha, dip);
dip               183 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 				      u32 dip, u8 prefix_len, u16 ul_vr_id,
dip               190 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 			      ul_vr_id, prefix_len, dip);
dip               201 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 	__be32 dip;
dip               209 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 	dip = mlxsw_sp_ipip_netdev_saddr(MLXSW_SP_L3_PROTO_IPV4,
dip               211 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 	return mlxsw_sp_ipip_fib_entry_op_gre4_ralue(mlxsw_sp, be32_to_cpu(dip),
dip              2106 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	u32 dip;
dip              2109 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	mlxsw_reg_rauhtd_ent_ipv4_unpack(rauhtd_pl, ent_index, &rif, &dip);
dip              2116 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	dipn = htonl(dip);
dip              2122 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	netdev_dbg(dev, "Updating neighbour with IP=%pI4h\n", &dip);
dip              2134 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	struct in6_addr dip;
dip              2138 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 					 (char *) &dip);
dip              2146 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	n = neigh_lookup(&nd_tbl, &dip, dev);
dip              2150 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	netdev_dbg(dev, "Updating neighbour with IP=%pI6c\n", &dip);
dip              2364 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	u32 dip = ntohl(*((__be32 *) n->primary_key));
dip              2368 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 			      dip);
dip              2382 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	const char *dip = n->primary_key;
dip              2385 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 			      dip);
dip              4339 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	union mlxsw_sp_l3addr dip = { .addr4 = htonl(fen_info->dst) };
dip              4347 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 						 MLXSW_SP_L3_PROTO_IPV4, dip);
dip              4355 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 						     dip.addr4)) {
dip               425 drivers/net/ethernet/mscc/ocelot_ace.c 				   arp->dip.value.addr, arp->dip.mask.addr, 4);
dip               439 drivers/net/ethernet/mscc/ocelot_ace.c 		struct ocelot_vcap_ipv4 sip, dip;
dip               452 drivers/net/ethernet/mscc/ocelot_ace.c 			dip = ipv4->dip;
dip               476 drivers/net/ethernet/mscc/ocelot_ace.c 					dip.value.addr[i] = val;
dip               477 drivers/net/ethernet/mscc/ocelot_ace.c 					dip.mask.addr[i] = msk;
dip               503 drivers/net/ethernet/mscc/ocelot_ace.c 		vcap_key_bytes_set(&data, IS2_HKO_L3_IP4_DIP, dip.value.addr,
dip               504 drivers/net/ethernet/mscc/ocelot_ace.c 				   dip.mask.addr, 4);
dip               132 drivers/net/ethernet/mscc/ocelot_ace.h 	struct ocelot_vcap_ipv4 dip;     /* Target IP address */
dip               142 drivers/net/ethernet/mscc/ocelot_ace.h 	struct ocelot_vcap_ipv4 dip;      /* Destination IP address */
dip               131 drivers/net/ethernet/mscc/ocelot_flower.c 		tmp = &ocelot_rule->frame.ipv4.dip.value.addr[0];
dip               134 drivers/net/ethernet/mscc/ocelot_flower.c 		tmp = &ocelot_rule->frame.ipv4.dip.mask.addr[0];
dip              7348 drivers/net/ethernet/sun/niu.c 	u32 sip, dip, sipm, dipm, spi, spim;
dip              7353 drivers/net/ethernet/sun/niu.c 	dip = be32_to_cpu(fsp->h_u.tcp_ip4_spec.ip4dst);
dip              7362 drivers/net/ethernet/sun/niu.c 	tp->key[3] |= dip;
dip               397 drivers/net/ipvlan/ipvlan_core.c 		__be32 dip;
dip               406 drivers/net/ipvlan/ipvlan_core.c 		memcpy(&dip, arp_ptr, 4);
dip               407 drivers/net/ipvlan/ipvlan_core.c 		addr = ipvlan_ht_addr_lookup(port, &dip, false);
dip               415 drivers/perf/xgene_pmu.c 	XGENE_PMU_EVENT_ATTR(dip-insertions-r-set,		0x18),
dip               416 drivers/perf/xgene_pmu.c 	XGENE_PMU_EVENT_ATTR(dip-insertions-r-clear,		0x19),
dip               417 drivers/perf/xgene_pmu.c 	XGENE_PMU_EVENT_ATTR(dip-insertions-force-r-set,	0x1a),
dip                23 drivers/scsi/bfa/bfa_port.c 	u32    *dip = (u32 *) stats;
dip                29 drivers/scsi/bfa/bfa_port.c 		t0 = dip[i];
dip                30 drivers/scsi/bfa/bfa_port.c 		t1 = dip[i + 1];
dip                32 drivers/scsi/bfa/bfa_port.c 		dip[i] = be32_to_cpu(t0);
dip                33 drivers/scsi/bfa/bfa_port.c 		dip[i + 1] = be32_to_cpu(t1);
dip                35 drivers/scsi/bfa/bfa_port.c 		dip[i] = be32_to_cpu(t1);
dip                36 drivers/scsi/bfa/bfa_port.c 		dip[i + 1] = be32_to_cpu(t0);
dip              3238 drivers/scsi/bfa/bfa_svc.c 	u32	*dip = (u32 *) d;
dip              3244 drivers/scsi/bfa/bfa_svc.c 		dip[i] = be32_to_cpu(sip[i]);
dip              3251 drivers/scsi/bfa/bfa_svc.c 	u32	*dip = (u32 *) d;
dip              3258 drivers/scsi/bfa/bfa_svc.c 		dip[i] = be32_to_cpu(sip[i]);
dip              3259 drivers/scsi/bfa/bfa_svc.c 		dip[i + 1] = be32_to_cpu(sip[i + 1]);
dip              3261 drivers/scsi/bfa/bfa_svc.c 		dip[i] = be32_to_cpu(sip[i + 1]);
dip              3262 drivers/scsi/bfa/bfa_svc.c 		dip[i + 1] = be32_to_cpu(sip[i]);
dip              8293 fs/btrfs/inode.c 	struct btrfs_dio_private *dip = bio->bi_private;
dip              8294 fs/btrfs/inode.c 	struct inode *inode = dip->inode;
dip              8299 fs/btrfs/inode.c 	if (dip->flags & BTRFS_DIO_ORIG_BIO_SUBMITTED)
dip              8302 fs/btrfs/inode.c 	unlock_extent(&BTRFS_I(inode)->io_tree, dip->logical_offset,
dip              8303 fs/btrfs/inode.c 		      dip->logical_offset + dip->bytes - 1);
dip              8304 fs/btrfs/inode.c 	dio_bio = dip->dio_bio;
dip              8306 fs/btrfs/inode.c 	kfree(dip);
dip              8359 fs/btrfs/inode.c 	struct btrfs_dio_private *dip = bio->bi_private;
dip              8360 fs/btrfs/inode.c 	struct bio *dio_bio = dip->dio_bio;
dip              8362 fs/btrfs/inode.c 	__endio_write_update_ordered(dip->inode, dip->logical_offset,
dip              8363 fs/btrfs/inode.c 				     dip->bytes, !bio->bi_status);
dip              8365 fs/btrfs/inode.c 	kfree(dip);
dip              8384 fs/btrfs/inode.c 	struct btrfs_dio_private *dip = bio->bi_private;
dip              8388 fs/btrfs/inode.c 		btrfs_warn(BTRFS_I(dip->inode)->root->fs_info,
dip              8390 fs/btrfs/inode.c 			   btrfs_ino(BTRFS_I(dip->inode)), bio_op(bio),
dip              8395 fs/btrfs/inode.c 	if (dip->subio_endio)
dip              8396 fs/btrfs/inode.c 		err = dip->subio_endio(dip->inode, btrfs_io_bio(bio), err);
dip              8405 fs/btrfs/inode.c 		dip->errors = 1;
dip              8409 fs/btrfs/inode.c 	if (!atomic_dec_and_test(&dip->pending_bios))
dip              8412 fs/btrfs/inode.c 	if (dip->errors) {
dip              8413 fs/btrfs/inode.c 		bio_io_error(dip->orig_bio);
dip              8415 fs/btrfs/inode.c 		dip->dio_bio->bi_status = BLK_STS_OK;
dip              8416 fs/btrfs/inode.c 		bio_endio(dip->orig_bio);
dip              8423 fs/btrfs/inode.c 						 struct btrfs_dio_private *dip,
dip              8428 fs/btrfs/inode.c 	struct btrfs_io_bio *orig_io_bio = btrfs_io_bio(dip->orig_bio);
dip              8437 fs/btrfs/inode.c 	if (dip->logical_offset == file_offset) {
dip              8438 fs/btrfs/inode.c 		ret = btrfs_lookup_bio_sums_dio(inode, dip->orig_bio,
dip              8444 fs/btrfs/inode.c 	if (bio == dip->orig_bio)
dip              8447 fs/btrfs/inode.c 	file_offset -= dip->logical_offset;
dip              8459 fs/btrfs/inode.c 	struct btrfs_dio_private *dip = bio->bi_private;
dip              8490 fs/btrfs/inode.c 		ret = btrfs_lookup_and_bind_dio_csum(inode, dip, bio,
dip              8501 fs/btrfs/inode.c static int btrfs_submit_direct_hook(struct btrfs_dio_private *dip)
dip              8503 fs/btrfs/inode.c 	struct inode *inode = dip->inode;
dip              8506 fs/btrfs/inode.c 	struct bio *orig_bio = dip->orig_bio;
dip              8508 fs/btrfs/inode.c 	u64 file_offset = dip->logical_offset;
dip              8525 fs/btrfs/inode.c 		dip->flags |= BTRFS_DIO_ORIG_BIO_SUBMITTED;
dip              8537 fs/btrfs/inode.c 	atomic_inc(&dip->pending_bios);
dip              8547 fs/btrfs/inode.c 		bio->bi_private = dip;
dip              8562 fs/btrfs/inode.c 		atomic_inc(&dip->pending_bios);
dip              8568 fs/btrfs/inode.c 			atomic_dec(&dip->pending_bios);
dip              8589 fs/btrfs/inode.c 	dip->errors = 1;
dip              8596 fs/btrfs/inode.c 	if (atomic_dec_and_test(&dip->pending_bios))
dip              8597 fs/btrfs/inode.c 		bio_io_error(dip->orig_bio);
dip              8606 fs/btrfs/inode.c 	struct btrfs_dio_private *dip = NULL;
dip              8614 fs/btrfs/inode.c 	dip = kzalloc(sizeof(*dip), GFP_NOFS);
dip              8615 fs/btrfs/inode.c 	if (!dip) {
dip              8620 fs/btrfs/inode.c 	dip->private = dio_bio->bi_private;
dip              8621 fs/btrfs/inode.c 	dip->inode = inode;
dip              8622 fs/btrfs/inode.c 	dip->logical_offset = file_offset;
dip              8623 fs/btrfs/inode.c 	dip->bytes = dio_bio->bi_iter.bi_size;
dip              8624 fs/btrfs/inode.c 	dip->disk_bytenr = (u64)dio_bio->bi_iter.bi_sector << 9;
dip              8625 fs/btrfs/inode.c 	bio->bi_private = dip;
dip              8626 fs/btrfs/inode.c 	dip->orig_bio = bio;
dip              8627 fs/btrfs/inode.c 	dip->dio_bio = dio_bio;
dip              8628 fs/btrfs/inode.c 	atomic_set(&dip->pending_bios, 0);
dip              8636 fs/btrfs/inode.c 		dip->subio_endio = btrfs_subio_endio_read;
dip              8648 fs/btrfs/inode.c 		dio_data->unsubmitted_oe_range_end = dip->logical_offset +
dip              8649 fs/btrfs/inode.c 			dip->bytes;
dip              8654 fs/btrfs/inode.c 	ret = btrfs_submit_direct_hook(dip);
dip              8670 fs/btrfs/inode.c 	if (bio && dip) {
dip              8677 fs/btrfs/inode.c 		dip = NULL;
dip              8698 fs/btrfs/inode.c 	kfree(dip);
dip               101 fs/freevxfs/vxfs_inode.c 		struct vxfs_inode_info *vip, struct vxfs_dinode *dip)
dip               105 fs/freevxfs/vxfs_inode.c 	vip->vii_mode = fs32_to_cpu(sbi, dip->vdi_mode);
dip               106 fs/freevxfs/vxfs_inode.c 	vip->vii_nlink = fs32_to_cpu(sbi, dip->vdi_nlink);
dip               107 fs/freevxfs/vxfs_inode.c 	vip->vii_uid = fs32_to_cpu(sbi, dip->vdi_uid);
dip               108 fs/freevxfs/vxfs_inode.c 	vip->vii_gid = fs32_to_cpu(sbi, dip->vdi_gid);
dip               109 fs/freevxfs/vxfs_inode.c 	vip->vii_size = fs64_to_cpu(sbi, dip->vdi_size);
dip               110 fs/freevxfs/vxfs_inode.c 	vip->vii_atime = fs32_to_cpu(sbi, dip->vdi_atime);
dip               111 fs/freevxfs/vxfs_inode.c 	vip->vii_autime = fs32_to_cpu(sbi, dip->vdi_autime);
dip               112 fs/freevxfs/vxfs_inode.c 	vip->vii_mtime = fs32_to_cpu(sbi, dip->vdi_mtime);
dip               113 fs/freevxfs/vxfs_inode.c 	vip->vii_mutime = fs32_to_cpu(sbi, dip->vdi_mutime);
dip               114 fs/freevxfs/vxfs_inode.c 	vip->vii_ctime = fs32_to_cpu(sbi, dip->vdi_ctime);
dip               115 fs/freevxfs/vxfs_inode.c 	vip->vii_cutime = fs32_to_cpu(sbi, dip->vdi_cutime);
dip               116 fs/freevxfs/vxfs_inode.c 	vip->vii_orgtype = dip->vdi_orgtype;
dip               118 fs/freevxfs/vxfs_inode.c 	vip->vii_blocks = fs32_to_cpu(sbi, dip->vdi_blocks);
dip               119 fs/freevxfs/vxfs_inode.c 	vip->vii_gen = fs32_to_cpu(sbi, dip->vdi_gen);
dip               122 fs/freevxfs/vxfs_inode.c 		vip->vii_dotdot = fs32_to_cpu(sbi, dip->vdi_dotdot);
dip               124 fs/freevxfs/vxfs_inode.c 		vip->vii_rdev = fs32_to_cpu(sbi, dip->vdi_rdev);
dip               127 fs/freevxfs/vxfs_inode.c 	memcpy(&vip->vii_org, &dip->vdi_org, sizeof(vip->vii_org));
dip               181 fs/freevxfs/vxfs_inode.c 		struct vxfs_dinode	*dip;
dip               183 fs/freevxfs/vxfs_inode.c 		dip = (struct vxfs_dinode *)(bp->b_data + offset);
dip               184 fs/freevxfs/vxfs_inode.c 		dip2vip_cpy(VXFS_SBI(sbp), vip, dip);
dip               220 fs/freevxfs/vxfs_inode.c 		struct vxfs_dinode	*dip;
dip               223 fs/freevxfs/vxfs_inode.c 		dip = (struct vxfs_dinode *)(kaddr + offset);
dip               224 fs/freevxfs/vxfs_inode.c 		dip2vip_cpy(VXFS_SBI(ilistp->i_sb), vip, dip);
dip               156 fs/freevxfs/vxfs_lookup.c vxfs_inode_by_name(struct inode *dip, struct dentry *dp)
dip               162 fs/freevxfs/vxfs_lookup.c 	de = vxfs_find_entry(dip, dp, &pp);
dip               164 fs/freevxfs/vxfs_lookup.c 		ino = fs32_to_cpu(VXFS_SBI(dip->i_sb), de->d_ino);
dip               187 fs/freevxfs/vxfs_lookup.c vxfs_lookup(struct inode *dip, struct dentry *dp, unsigned int flags)
dip               195 fs/freevxfs/vxfs_lookup.c 	ino = vxfs_inode_by_name(dip, dp);
dip               197 fs/freevxfs/vxfs_lookup.c 		ip = vxfs_iget(dip->i_sb, ino);
dip                37 fs/gfs2/dentry.c 	struct gfs2_inode *dip;
dip                49 fs/gfs2/dentry.c 	dip = GFS2_I(d_inode(parent));
dip                63 fs/gfs2/dentry.c 	had_lock = (gfs2_glock_is_locked_by_me(dip->i_gl) != NULL);
dip                65 fs/gfs2/dentry.c 		error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh);
dip               610 fs/gfs2/dir.c  static int dirent_check_reclen(struct gfs2_inode *dip,
dip               624 fs/gfs2/dir.c  	gfs2_consist_inode(dip);
dip               637 fs/gfs2/dir.c  static int dirent_next(struct gfs2_inode *dip, struct buffer_head *bh,
dip               644 fs/gfs2/dir.c  	ret = dirent_check_reclen(dip, cur, bh_end);
dip               649 fs/gfs2/dir.c  	ret = dirent_check_reclen(dip, tmp, bh_end);
dip               655 fs/gfs2/dir.c  		gfs2_consist_inode(dip);
dip               672 fs/gfs2/dir.c  static void dirent_del(struct gfs2_inode *dip, struct buffer_head *bh,
dip               678 fs/gfs2/dir.c  		gfs2_consist_inode(dip);
dip               682 fs/gfs2/dir.c  	gfs2_trans_add_meta(dip->i_gl, bh);
dip               700 fs/gfs2/dir.c  		gfs2_consist_inode(dip);
dip               702 fs/gfs2/dir.c  		gfs2_consist_inode(dip);
dip               759 fs/gfs2/dir.c  static int get_leaf(struct gfs2_inode *dip, u64 leaf_no,
dip               764 fs/gfs2/dir.c  	error = gfs2_meta_read(dip->i_gl, leaf_no, DIO_WAIT, 0, bhp);
dip               765 fs/gfs2/dir.c  	if (!error && gfs2_metatype_check(GFS2_SB(&dip->i_inode), *bhp, GFS2_METATYPE_LF)) {
dip               782 fs/gfs2/dir.c  static int get_leaf_nr(struct gfs2_inode *dip, u32 index,
dip               788 fs/gfs2/dir.c  	hash = gfs2_dir_get_hash_table(dip);
dip               797 fs/gfs2/dir.c  static int get_first_leaf(struct gfs2_inode *dip, u32 index,
dip               803 fs/gfs2/dir.c  	error = get_leaf_nr(dip, index, &leaf_no);
dip               805 fs/gfs2/dir.c  		error = get_leaf(dip, leaf_no, bh_out);
dip               911 fs/gfs2/dir.c  	struct gfs2_inode *dip = GFS2_I(inode);
dip               923 fs/gfs2/dir.c  	error = gfs2_meta_inode_buffer(dip, &dibh);
dip               934 fs/gfs2/dir.c  	gfs2_assert(sdp, dip->i_entries < BIT(16));
dip               935 fs/gfs2/dir.c  	leaf->lf_entries = cpu_to_be16(dip->i_entries);
dip               948 fs/gfs2/dir.c  	dent = gfs2_dirent_scan(&dip->i_inode, bh->b_data, bh->b_size,
dip               973 fs/gfs2/dir.c  	gfs2_trans_add_meta(dip->i_gl, dibh);
dip               982 fs/gfs2/dir.c  	gfs2_add_inode_blocks(&dip->i_inode, 1);
dip               983 fs/gfs2/dir.c  	dip->i_diskflags |= GFS2_DIF_EXHASH;
dip               986 fs/gfs2/dir.c  	dip->i_depth = y;
dip               988 fs/gfs2/dir.c  	gfs2_dinode_out(dip, dibh->b_data);
dip              1006 fs/gfs2/dir.c  	struct gfs2_inode *dip = GFS2_I(inode);
dip              1017 fs/gfs2/dir.c  	index = name->hash >> (32 - dip->i_depth);
dip              1018 fs/gfs2/dir.c  	error = get_leaf_nr(dip, index, &leaf_no);
dip              1023 fs/gfs2/dir.c  	error = get_leaf(dip, leaf_no, &obh);
dip              1028 fs/gfs2/dir.c  	if (dip->i_depth == be16_to_cpu(oleaf->lf_depth)) {
dip              1033 fs/gfs2/dir.c  	gfs2_trans_add_meta(dip->i_gl, obh);
dip              1043 fs/gfs2/dir.c  	len = BIT(dip->i_depth - be16_to_cpu(oleaf->lf_depth));
dip              1047 fs/gfs2/dir.c  			dip->i_depth, be16_to_cpu(oleaf->lf_depth), index);
dip              1048 fs/gfs2/dir.c  		gfs2_consist_inode(dip);
dip              1068 fs/gfs2/dir.c  	gfs2_dir_hash_inval(dip);
dip              1070 fs/gfs2/dir.c  	error = gfs2_dir_write_data(dip, (char *)lp, start * sizeof(u64),
dip              1081 fs/gfs2/dir.c  	divider = (start + half_len) << (32 - dip->i_depth);
dip              1088 fs/gfs2/dir.c  		if (dirent_next(dip, obh, &next))
dip              1108 fs/gfs2/dir.c  			dirent_del(dip, obh, prev, dent);
dip              1111 fs/gfs2/dir.c  				gfs2_consist_inode(dip);
dip              1124 fs/gfs2/dir.c  	error = gfs2_meta_inode_buffer(dip, &dibh);
dip              1125 fs/gfs2/dir.c  	if (!gfs2_assert_withdraw(GFS2_SB(&dip->i_inode), !error)) {
dip              1126 fs/gfs2/dir.c  		gfs2_trans_add_meta(dip->i_gl, dibh);
dip              1127 fs/gfs2/dir.c  		gfs2_add_inode_blocks(&dip->i_inode, 1);
dip              1128 fs/gfs2/dir.c  		gfs2_dinode_out(dip, dibh->b_data);
dip              1153 fs/gfs2/dir.c  static int dir_double_exhash(struct gfs2_inode *dip)
dip              1163 fs/gfs2/dir.c  	hsize = BIT(dip->i_depth);
dip              1166 fs/gfs2/dir.c  	hc = gfs2_dir_get_hash_table(dip);
dip              1178 fs/gfs2/dir.c  	error = gfs2_meta_inode_buffer(dip, &dibh);
dip              1188 fs/gfs2/dir.c  	error = gfs2_dir_write_data(dip, (char *)hc2, 0, hsize_bytes * 2);
dip              1192 fs/gfs2/dir.c  	gfs2_dir_hash_inval(dip);
dip              1193 fs/gfs2/dir.c  	dip->i_hash_cache = hc2;
dip              1194 fs/gfs2/dir.c  	dip->i_depth++;
dip              1195 fs/gfs2/dir.c  	gfs2_dinode_out(dip, dibh->b_data);
dip              1201 fs/gfs2/dir.c  	gfs2_dir_write_data(dip, (char *)hc, 0, hsize_bytes);
dip              1202 fs/gfs2/dir.c  	i_size_write(&dip->i_inode, hsize_bytes);
dip              1203 fs/gfs2/dir.c  	gfs2_dinode_out(dip, dibh->b_data);
dip              1268 fs/gfs2/dir.c  static int do_filldir_main(struct gfs2_inode *dip, struct dir_context *ctx,
dip              1532 fs/gfs2/dir.c  	struct gfs2_inode *dip = GFS2_I(inode);
dip              1540 fs/gfs2/dir.c  	hsize = BIT(dip->i_depth);
dip              1542 fs/gfs2/dir.c  	index = hash >> (32 - dip->i_depth);
dip              1544 fs/gfs2/dir.c  	if (dip->i_hash_cache == NULL)
dip              1546 fs/gfs2/dir.c  	lp = gfs2_dir_get_hash_table(dip);
dip              1559 fs/gfs2/dir.c  		len = BIT(dip->i_depth - depth);
dip              1571 fs/gfs2/dir.c  	struct gfs2_inode *dip = GFS2_I(inode);
dip              1579 fs/gfs2/dir.c  	if (!dip->i_entries)
dip              1582 fs/gfs2/dir.c  	if (dip->i_diskflags & GFS2_DIF_EXHASH)
dip              1585 fs/gfs2/dir.c  	if (!gfs2_is_stuffed(dip)) {
dip              1586 fs/gfs2/dir.c  		gfs2_consist_inode(dip);
dip              1590 fs/gfs2/dir.c  	error = gfs2_meta_inode_buffer(dip, &dibh);
dip              1606 fs/gfs2/dir.c  		if (dip->i_entries != g.offset) {
dip              1609 fs/gfs2/dir.c  				(unsigned long long)dip->i_no_addr,
dip              1610 fs/gfs2/dir.c  				dip->i_entries,
dip              1612 fs/gfs2/dir.c  			gfs2_consist_inode(dip);
dip              1616 fs/gfs2/dir.c  		gfs2_set_cookies(sdp, dibh, 0, darr, dip->i_entries);
dip              1617 fs/gfs2/dir.c  		error = do_filldir_main(dip, ctx, darr,
dip              1618 fs/gfs2/dir.c  					dip->i_entries, 0, &copied);
dip              1875 fs/gfs2/dir.c  int gfs2_dir_del(struct gfs2_inode *dip, const struct dentry *dentry)
dip              1880 fs/gfs2/dir.c  	struct timespec64 tv = current_time(&dip->i_inode);
dip              1884 fs/gfs2/dir.c  	dent = gfs2_dirent_search(&dip->i_inode, name, gfs2_dirent_prev, &bh);
dip              1886 fs/gfs2/dir.c  		gfs2_consist_inode(dip);
dip              1890 fs/gfs2/dir.c  		gfs2_consist_inode(dip);
dip              1899 fs/gfs2/dir.c  	dirent_del(dip, bh, prev, dent);
dip              1900 fs/gfs2/dir.c  	if (dip->i_diskflags & GFS2_DIF_EXHASH) {
dip              1904 fs/gfs2/dir.c  			gfs2_consist_inode(dip);
dip              1911 fs/gfs2/dir.c  	if (!dip->i_entries)
dip              1912 fs/gfs2/dir.c  		gfs2_consist_inode(dip);
dip              1913 fs/gfs2/dir.c  	dip->i_entries--;
dip              1914 fs/gfs2/dir.c  	dip->i_inode.i_mtime = dip->i_inode.i_ctime = tv;
dip              1916 fs/gfs2/dir.c  		drop_nlink(&dip->i_inode);
dip              1917 fs/gfs2/dir.c  	mark_inode_dirty(&dip->i_inode);
dip              1935 fs/gfs2/dir.c  int gfs2_dir_mvino(struct gfs2_inode *dip, const struct qstr *filename,
dip              1941 fs/gfs2/dir.c  	dent = gfs2_dirent_search(&dip->i_inode, filename, gfs2_dirent_find, &bh);
dip              1943 fs/gfs2/dir.c  		gfs2_consist_inode(dip);
dip              1949 fs/gfs2/dir.c  	gfs2_trans_add_meta(dip->i_gl, bh);
dip              1954 fs/gfs2/dir.c  	dip->i_inode.i_mtime = dip->i_inode.i_ctime = current_time(&dip->i_inode);
dip              1955 fs/gfs2/dir.c  	mark_inode_dirty_sync(&dip->i_inode);
dip              1971 fs/gfs2/dir.c  static int leaf_dealloc(struct gfs2_inode *dip, u32 index, u32 len,
dip              1975 fs/gfs2/dir.c  	struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode);
dip              1998 fs/gfs2/dir.c  	error = gfs2_quota_hold(dip, NO_UID_QUOTA_CHANGE, NO_GID_QUOTA_CHANGE);
dip              2007 fs/gfs2/dir.c  			error = get_leaf(dip, blk, &bh);
dip              2016 fs/gfs2/dir.c  		gfs2_rlist_add(dip, &rlist, blk);
dip              2044 fs/gfs2/dir.c  			error = get_leaf(dip, blk, &bh);
dip              2054 fs/gfs2/dir.c  		gfs2_free_meta(dip, rgd, blk, 1);
dip              2055 fs/gfs2/dir.c  		gfs2_add_inode_blocks(&dip->i_inode, -1);
dip              2058 fs/gfs2/dir.c  	error = gfs2_dir_write_data(dip, ht, index * sizeof(u64), size);
dip              2065 fs/gfs2/dir.c  	error = gfs2_meta_inode_buffer(dip, &dibh);
dip              2069 fs/gfs2/dir.c  	gfs2_trans_add_meta(dip->i_gl, dibh);
dip              2073 fs/gfs2/dir.c  		dip->i_inode.i_mode = S_IFREG;
dip              2074 fs/gfs2/dir.c  	gfs2_dinode_out(dip, dibh->b_data);
dip              2083 fs/gfs2/dir.c  	gfs2_quota_unhold(dip);
dip              2099 fs/gfs2/dir.c  int gfs2_dir_exhash_dealloc(struct gfs2_inode *dip)
dip              2109 fs/gfs2/dir.c  	hsize = BIT(dip->i_depth);
dip              2111 fs/gfs2/dir.c  	lp = gfs2_dir_get_hash_table(dip);
dip              2118 fs/gfs2/dir.c  			error = get_leaf(dip, leaf_no, &bh);
dip              2122 fs/gfs2/dir.c  			len = BIT(dip->i_depth - be16_to_cpu(leaf->lf_depth));
dip              2126 fs/gfs2/dir.c  			error = leaf_dealloc(dip, index, len, leaf_no, bh,
dip              2137 fs/gfs2/dir.c  		gfs2_consist_inode(dip);
dip                38 fs/gfs2/dir.h  extern int gfs2_dir_del(struct gfs2_inode *dip, const struct dentry *dentry);
dip                41 fs/gfs2/dir.h  extern int gfs2_dir_mvino(struct gfs2_inode *dip, const struct qstr *filename,
dip                44 fs/gfs2/dir.h  extern int gfs2_dir_exhash_dealloc(struct gfs2_inode *dip);
dip                90 fs/gfs2/export.c 	struct gfs2_inode *dip, *ip;
dip               105 fs/gfs2/export.c 	dip = GFS2_I(dir);
dip               112 fs/gfs2/export.c 	error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &gh);
dip               106 fs/gfs2/file.c 	struct gfs2_inode *dip = GFS2_I(dir);
dip               110 fs/gfs2/file.c 	error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh);
dip               244 fs/gfs2/inode.c struct inode *gfs2_lookup_simple(struct inode *dip, const char *name)
dip               249 fs/gfs2/inode.c 	inode = gfs2_lookupi(dip, &qstr, 1);
dip               281 fs/gfs2/inode.c 	struct gfs2_inode *dip = GFS2_I(dir);
dip               297 fs/gfs2/inode.c 	if (gfs2_glock_is_locked_by_me(dip->i_gl) == NULL) {
dip               298 fs/gfs2/inode.c 		error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh);
dip               329 fs/gfs2/inode.c static int create_ok(struct gfs2_inode *dip, const struct qstr *name,
dip               334 fs/gfs2/inode.c 	error = gfs2_permission(&dip->i_inode, MAY_WRITE | MAY_EXEC);
dip               339 fs/gfs2/inode.c 	if (!dip->i_inode.i_nlink)
dip               342 fs/gfs2/inode.c 	if (dip->i_entries == (u32)-1)
dip               344 fs/gfs2/inode.c 	if (S_ISDIR(mode) && dip->i_inode.i_nlink == (u32)-1)
dip               350 fs/gfs2/inode.c static void munge_mode_uid_gid(const struct gfs2_inode *dip,
dip               353 fs/gfs2/inode.c 	if (GFS2_SB(&dip->i_inode)->sd_args.ar_suiddir &&
dip               354 fs/gfs2/inode.c 	    (dip->i_inode.i_mode & S_ISUID) &&
dip               355 fs/gfs2/inode.c 	    !uid_eq(dip->i_inode.i_uid, GLOBAL_ROOT_UID)) {
dip               358 fs/gfs2/inode.c 		else if (!uid_eq(dip->i_inode.i_uid, current_fsuid()))
dip               360 fs/gfs2/inode.c 		inode->i_uid = dip->i_inode.i_uid;
dip               364 fs/gfs2/inode.c 	if (dip->i_inode.i_mode & S_ISGID) {
dip               367 fs/gfs2/inode.c 		inode->i_gid = dip->i_inode.i_gid;
dip               458 fs/gfs2/inode.c static void init_dinode(struct gfs2_inode *dip, struct gfs2_inode *ip,
dip               480 fs/gfs2/inode.c 		gfs2_init_dir(dibh, dip);
dip               505 fs/gfs2/inode.c static unsigned gfs2_trans_da_blks(const struct gfs2_inode *dip,
dip               509 fs/gfs2/inode.c 	return da->nr_blocks + gfs2_rg_blocks(dip, da->nr_blocks) +
dip               513 fs/gfs2/inode.c static int link_dinode(struct gfs2_inode *dip, const struct qstr *name,
dip               516 fs/gfs2/inode.c 	struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode);
dip               521 fs/gfs2/inode.c 		error = gfs2_quota_lock_check(dip, &ap);
dip               525 fs/gfs2/inode.c 		error = gfs2_inplace_reserve(dip, &ap);
dip               529 fs/gfs2/inode.c 		error = gfs2_trans_begin(sdp, gfs2_trans_da_blks(dip, da, 2), 0);
dip               538 fs/gfs2/inode.c 	error = gfs2_dir_add(&dip->i_inode, name, ip, da);
dip               542 fs/gfs2/inode.c 	gfs2_inplace_release(dip);
dip               544 fs/gfs2/inode.c 	gfs2_quota_unlock(dip);
dip               586 fs/gfs2/inode.c 	struct gfs2_inode *dip = GFS2_I(dir), *ip;
dip               587 fs/gfs2/inode.c 	struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode);
dip               597 fs/gfs2/inode.c 	error = gfs2_rsqa_alloc(dip);
dip               605 fs/gfs2/inode.c 	error = gfs2_glock_nq_init(dip->i_gl, LM_ST_EXCLUSIVE, 0, ghs);
dip               610 fs/gfs2/inode.c 	error = create_ok(dip, name, mode);
dip               660 fs/gfs2/inode.c 	munge_mode_uid_gid(dip, inode);
dip               661 fs/gfs2/inode.c 	check_and_update_goal(dip);
dip               662 fs/gfs2/inode.c 	ip->i_goal = dip->i_goal;
dip               672 fs/gfs2/inode.c 		if ((dip->i_diskflags & GFS2_DIF_INHERIT_JDATA) ||
dip               678 fs/gfs2/inode.c 		ip->i_diskflags |= (dip->i_diskflags & GFS2_DIF_INHERIT_JDATA);
dip               685 fs/gfs2/inode.c 	if (dip->i_diskflags & GFS2_DIF_SYSTEM)
dip               690 fs/gfs2/inode.c 	if ((GFS2_I(d_inode(sdp->sd_root_dir)) == dip) ||
dip               691 fs/gfs2/inode.c 	    (dip->i_diskflags & GFS2_DIF_TOPDIR))
dip               721 fs/gfs2/inode.c 	init_dinode(dip, ip, symname);
dip               757 fs/gfs2/inode.c 	error = security_inode_init_security(&ip->i_inode, &dip->i_inode, name,
dip               762 fs/gfs2/inode.c 	error = link_dinode(dip, name, ip, &da);
dip               896 fs/gfs2/inode.c 	struct gfs2_inode *dip = GFS2_I(dir);
dip               908 fs/gfs2/inode.c 	error = gfs2_rsqa_alloc(dip);
dip               912 fs/gfs2/inode.c 	gfs2_holder_init(dip->i_gl, LM_ST_EXCLUSIVE, 0, ghs);
dip               942 fs/gfs2/inode.c 	if (!dip->i_inode.i_nlink)
dip               945 fs/gfs2/inode.c 	if (dip->i_entries == (u32)-1)
dip               963 fs/gfs2/inode.c 		error = gfs2_quota_lock_check(dip, &ap);
dip               967 fs/gfs2/inode.c 		error = gfs2_inplace_reserve(dip, &ap);
dip               971 fs/gfs2/inode.c 		error = gfs2_trans_begin(sdp, gfs2_trans_da_blks(dip, &da, 2), 0);
dip              1001 fs/gfs2/inode.c 		gfs2_inplace_release(dip);
dip              1004 fs/gfs2/inode.c 		gfs2_quota_unlock(dip);
dip              1027 fs/gfs2/inode.c static int gfs2_unlink_ok(struct gfs2_inode *dip, const struct qstr *name,
dip              1035 fs/gfs2/inode.c 	if ((dip->i_inode.i_mode & S_ISVTX) &&
dip              1036 fs/gfs2/inode.c 	    !uid_eq(dip->i_inode.i_uid, current_fsuid()) &&
dip              1040 fs/gfs2/inode.c 	if (IS_APPEND(&dip->i_inode))
dip              1043 fs/gfs2/inode.c 	error = gfs2_permission(&dip->i_inode, MAY_WRITE | MAY_EXEC);
dip              1047 fs/gfs2/inode.c 	return gfs2_dir_check(&dip->i_inode, name, ip);
dip              1062 fs/gfs2/inode.c static int gfs2_unlink_inode(struct gfs2_inode *dip,
dip              1069 fs/gfs2/inode.c 	error = gfs2_dir_del(dip, dentry);
dip              1099 fs/gfs2/inode.c 	struct gfs2_inode *dip = GFS2_I(dir);
dip              1113 fs/gfs2/inode.c 	gfs2_holder_init(dip->i_gl, LM_ST_EXCLUSIVE, 0, ghs);
dip              1145 fs/gfs2/inode.c 	error = gfs2_unlink_ok(dip, &dentry->d_name, ip);
dip              1153 fs/gfs2/inode.c 	error = gfs2_unlink_inode(dip, dentry);
dip               104 fs/gfs2/inode.h extern struct inode *gfs2_lookup_simple(struct inode *dip, const char *name);
dip               542 fs/gfs2/ops_fstype.c 	struct gfs2_inode *dip = GFS2_I(sdp->sd_jindex);
dip               553 fs/gfs2/ops_fstype.c 		error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, ji_gh);
dip              3026 fs/jfs/jfs_imap.c static int copy_from_dinode(struct dinode * dip, struct inode *ip)
dip              3031 fs/jfs/jfs_imap.c 	jfs_ip->fileset = le32_to_cpu(dip->di_fileset);
dip              3032 fs/jfs/jfs_imap.c 	jfs_ip->mode2 = le32_to_cpu(dip->di_mode);
dip              3035 fs/jfs/jfs_imap.c 	ip->i_mode = le32_to_cpu(dip->di_mode) & 0xffff;
dip              3048 fs/jfs/jfs_imap.c 	set_nlink(ip, le32_to_cpu(dip->di_nlink));
dip              3050 fs/jfs/jfs_imap.c 	jfs_ip->saved_uid = make_kuid(&init_user_ns, le32_to_cpu(dip->di_uid));
dip              3057 fs/jfs/jfs_imap.c 	jfs_ip->saved_gid = make_kgid(&init_user_ns, le32_to_cpu(dip->di_gid));
dip              3064 fs/jfs/jfs_imap.c 	ip->i_size = le64_to_cpu(dip->di_size);
dip              3065 fs/jfs/jfs_imap.c 	ip->i_atime.tv_sec = le32_to_cpu(dip->di_atime.tv_sec);
dip              3066 fs/jfs/jfs_imap.c 	ip->i_atime.tv_nsec = le32_to_cpu(dip->di_atime.tv_nsec);
dip              3067 fs/jfs/jfs_imap.c 	ip->i_mtime.tv_sec = le32_to_cpu(dip->di_mtime.tv_sec);
dip              3068 fs/jfs/jfs_imap.c 	ip->i_mtime.tv_nsec = le32_to_cpu(dip->di_mtime.tv_nsec);
dip              3069 fs/jfs/jfs_imap.c 	ip->i_ctime.tv_sec = le32_to_cpu(dip->di_ctime.tv_sec);
dip              3070 fs/jfs/jfs_imap.c 	ip->i_ctime.tv_nsec = le32_to_cpu(dip->di_ctime.tv_nsec);
dip              3071 fs/jfs/jfs_imap.c 	ip->i_blocks = LBLK2PBLK(ip->i_sb, le64_to_cpu(dip->di_nblocks));
dip              3072 fs/jfs/jfs_imap.c 	ip->i_generation = le32_to_cpu(dip->di_gen);
dip              3074 fs/jfs/jfs_imap.c 	jfs_ip->ixpxd = dip->di_ixpxd;	/* in-memory pxd's are little-endian */
dip              3075 fs/jfs/jfs_imap.c 	jfs_ip->acl = dip->di_acl;	/* as are dxd's */
dip              3076 fs/jfs/jfs_imap.c 	jfs_ip->ea = dip->di_ea;
dip              3077 fs/jfs/jfs_imap.c 	jfs_ip->next_index = le32_to_cpu(dip->di_next_index);
dip              3078 fs/jfs/jfs_imap.c 	jfs_ip->otime = le32_to_cpu(dip->di_otime.tv_sec);
dip              3079 fs/jfs/jfs_imap.c 	jfs_ip->acltype = le32_to_cpu(dip->di_acltype);
dip              3082 fs/jfs/jfs_imap.c 		jfs_ip->dev = le32_to_cpu(dip->di_rdev);
dip              3087 fs/jfs/jfs_imap.c 		memcpy(&jfs_ip->i_dirtable, &dip->di_dirtable, 384);
dip              3089 fs/jfs/jfs_imap.c 		memcpy(&jfs_ip->i_xtroot, &dip->di_xtroot, 288);
dip              3091 fs/jfs/jfs_imap.c 		memcpy(&jfs_ip->i_inline_ea, &dip->di_inlineea, 128);
dip              3110 fs/jfs/jfs_imap.c static void copy_to_dinode(struct dinode * dip, struct inode *ip)
dip              3115 fs/jfs/jfs_imap.c 	dip->di_fileset = cpu_to_le32(jfs_ip->fileset);
dip              3116 fs/jfs/jfs_imap.c 	dip->di_inostamp = cpu_to_le32(sbi->inostamp);
dip              3117 fs/jfs/jfs_imap.c 	dip->di_number = cpu_to_le32(ip->i_ino);
dip              3118 fs/jfs/jfs_imap.c 	dip->di_gen = cpu_to_le32(ip->i_generation);
dip              3119 fs/jfs/jfs_imap.c 	dip->di_size = cpu_to_le64(ip->i_size);
dip              3120 fs/jfs/jfs_imap.c 	dip->di_nblocks = cpu_to_le64(PBLK2LBLK(ip->i_sb, ip->i_blocks));
dip              3121 fs/jfs/jfs_imap.c 	dip->di_nlink = cpu_to_le32(ip->i_nlink);
dip              3123 fs/jfs/jfs_imap.c 		dip->di_uid = cpu_to_le32(i_uid_read(ip));
dip              3125 fs/jfs/jfs_imap.c 		dip->di_uid =cpu_to_le32(from_kuid(&init_user_ns,
dip              3128 fs/jfs/jfs_imap.c 		dip->di_gid = cpu_to_le32(i_gid_read(ip));
dip              3130 fs/jfs/jfs_imap.c 		dip->di_gid = cpu_to_le32(from_kgid(&init_user_ns,
dip              3137 fs/jfs/jfs_imap.c 		dip->di_mode = cpu_to_le32((jfs_ip->mode2 & 0xffff0000) |
dip              3140 fs/jfs/jfs_imap.c 		dip->di_mode = cpu_to_le32(jfs_ip->mode2);
dip              3142 fs/jfs/jfs_imap.c 	dip->di_atime.tv_sec = cpu_to_le32(ip->i_atime.tv_sec);
dip              3143 fs/jfs/jfs_imap.c 	dip->di_atime.tv_nsec = cpu_to_le32(ip->i_atime.tv_nsec);
dip              3144 fs/jfs/jfs_imap.c 	dip->di_ctime.tv_sec = cpu_to_le32(ip->i_ctime.tv_sec);
dip              3145 fs/jfs/jfs_imap.c 	dip->di_ctime.tv_nsec = cpu_to_le32(ip->i_ctime.tv_nsec);
dip              3146 fs/jfs/jfs_imap.c 	dip->di_mtime.tv_sec = cpu_to_le32(ip->i_mtime.tv_sec);
dip              3147 fs/jfs/jfs_imap.c 	dip->di_mtime.tv_nsec = cpu_to_le32(ip->i_mtime.tv_nsec);
dip              3148 fs/jfs/jfs_imap.c 	dip->di_ixpxd = jfs_ip->ixpxd;	/* in-memory pxd's are little-endian */
dip              3149 fs/jfs/jfs_imap.c 	dip->di_acl = jfs_ip->acl;	/* as are dxd's */
dip              3150 fs/jfs/jfs_imap.c 	dip->di_ea = jfs_ip->ea;
dip              3151 fs/jfs/jfs_imap.c 	dip->di_next_index = cpu_to_le32(jfs_ip->next_index);
dip              3152 fs/jfs/jfs_imap.c 	dip->di_otime.tv_sec = cpu_to_le32(jfs_ip->otime);
dip              3153 fs/jfs/jfs_imap.c 	dip->di_otime.tv_nsec = 0;
dip              3154 fs/jfs/jfs_imap.c 	dip->di_acltype = cpu_to_le32(jfs_ip->acltype);
dip              3156 fs/jfs/jfs_imap.c 		dip->di_rdev = cpu_to_le32(jfs_ip->dev);
dip                62 fs/jfs/namei.c static int jfs_create(struct inode *dip, struct dentry *dentry, umode_t mode,
dip                74 fs/jfs/namei.c 	jfs_info("jfs_create: dip:0x%p name:%pd", dip, dentry);
dip                76 fs/jfs/namei.c 	rc = dquot_initialize(dip);
dip                92 fs/jfs/namei.c 	ip = ialloc(dip, mode);
dip                98 fs/jfs/namei.c 	tid = txBegin(dip->i_sb, 0);
dip               100 fs/jfs/namei.c 	mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT);
dip               103 fs/jfs/namei.c 	rc = jfs_init_acl(tid, ip, dip);
dip               107 fs/jfs/namei.c 	rc = jfs_init_security(tid, ip, dip, &dentry->d_name);
dip               113 fs/jfs/namei.c 	if ((rc = dtSearch(dip, &dname, &ino, &btstack, JFS_CREATE))) {
dip               124 fs/jfs/namei.c 	iplist[0] = dip;
dip               137 fs/jfs/namei.c 	if ((rc = dtInsert(tid, dip, &dname, &ino, &btstack))) {
dip               152 fs/jfs/namei.c 	dip->i_ctime = dip->i_mtime = current_time(dip);
dip               154 fs/jfs/namei.c 	mark_inode_dirty(dip);
dip               161 fs/jfs/namei.c 	mutex_unlock(&JFS_IP(dip)->commit_mutex);
dip               195 fs/jfs/namei.c static int jfs_mkdir(struct inode *dip, struct dentry *dentry, umode_t mode)
dip               206 fs/jfs/namei.c 	jfs_info("jfs_mkdir: dip:0x%p name:%pd", dip, dentry);
dip               208 fs/jfs/namei.c 	rc = dquot_initialize(dip);
dip               224 fs/jfs/namei.c 	ip = ialloc(dip, S_IFDIR | mode);
dip               230 fs/jfs/namei.c 	tid = txBegin(dip->i_sb, 0);
dip               232 fs/jfs/namei.c 	mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT);
dip               235 fs/jfs/namei.c 	rc = jfs_init_acl(tid, ip, dip);
dip               239 fs/jfs/namei.c 	rc = jfs_init_security(tid, ip, dip, &dentry->d_name);
dip               245 fs/jfs/namei.c 	if ((rc = dtSearch(dip, &dname, &ino, &btstack, JFS_CREATE))) {
dip               256 fs/jfs/namei.c 	iplist[0] = dip;
dip               262 fs/jfs/namei.c 	dtInitRoot(tid, ip, dip->i_ino);
dip               269 fs/jfs/namei.c 	if ((rc = dtInsert(tid, dip, &dname, &ino, &btstack))) {
dip               285 fs/jfs/namei.c 	inc_nlink(dip);		/* for '..' from child directory */
dip               286 fs/jfs/namei.c 	dip->i_ctime = dip->i_mtime = current_time(dip);
dip               287 fs/jfs/namei.c 	mark_inode_dirty(dip);
dip               294 fs/jfs/namei.c 	mutex_unlock(&JFS_IP(dip)->commit_mutex);
dip               332 fs/jfs/namei.c static int jfs_rmdir(struct inode *dip, struct dentry *dentry)
dip               342 fs/jfs/namei.c 	jfs_info("jfs_rmdir: dip:0x%p name:%pd", dip, dentry);
dip               345 fs/jfs/namei.c 	rc = dquot_initialize(dip);
dip               362 fs/jfs/namei.c 	tid = txBegin(dip->i_sb, 0);
dip               364 fs/jfs/namei.c 	mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT);
dip               367 fs/jfs/namei.c 	iplist[0] = dip;
dip               378 fs/jfs/namei.c 	if ((rc = dtDelete(tid, dip, &dname, &ino, JFS_REMOVE))) {
dip               384 fs/jfs/namei.c 		mutex_unlock(&JFS_IP(dip)->commit_mutex);
dip               392 fs/jfs/namei.c 	dip->i_ctime = dip->i_mtime = current_time(dip);
dip               393 fs/jfs/namei.c 	inode_dec_link_count(dip);
dip               421 fs/jfs/namei.c 	mutex_unlock(&JFS_IP(dip)->commit_mutex);
dip               427 fs/jfs/namei.c 	if (test_cflag(COMMIT_Stale, dip)) {
dip               428 fs/jfs/namei.c 		if (dip->i_size > 1)
dip               429 fs/jfs/namei.c 			jfs_truncate_nolock(dip, 0);
dip               431 fs/jfs/namei.c 		clear_cflag(COMMIT_Stale, dip);
dip               462 fs/jfs/namei.c static int jfs_unlink(struct inode *dip, struct dentry *dentry)
dip               474 fs/jfs/namei.c 	jfs_info("jfs_unlink: dip:0x%p name:%pd", dip, dentry);
dip               477 fs/jfs/namei.c 	rc = dquot_initialize(dip);
dip               489 fs/jfs/namei.c 	tid = txBegin(dip->i_sb, 0);
dip               491 fs/jfs/namei.c 	mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT);
dip               494 fs/jfs/namei.c 	iplist[0] = dip;
dip               501 fs/jfs/namei.c 	if ((rc = dtDelete(tid, dip, &dname, &ino, JFS_REMOVE))) {
dip               507 fs/jfs/namei.c 		mutex_unlock(&JFS_IP(dip)->commit_mutex);
dip               514 fs/jfs/namei.c 	ip->i_ctime = dip->i_ctime = dip->i_mtime = current_time(ip);
dip               515 fs/jfs/namei.c 	mark_inode_dirty(dip);
dip               530 fs/jfs/namei.c 			mutex_unlock(&JFS_IP(dip)->commit_mutex);
dip               559 fs/jfs/namei.c 	mutex_unlock(&JFS_IP(dip)->commit_mutex);
dip               562 fs/jfs/namei.c 		tid = txBegin(dip->i_sb, 0);
dip               583 fs/jfs/namei.c 	if (test_cflag(COMMIT_Stale, dip)) {
dip               584 fs/jfs/namei.c 		if (dip->i_size > 1)
dip               585 fs/jfs/namei.c 			jfs_truncate_nolock(dip, 0);
dip               587 fs/jfs/namei.c 		clear_cflag(COMMIT_Stale, dip);
dip               871 fs/jfs/namei.c static int jfs_symlink(struct inode *dip, struct dentry *dentry,
dip               890 fs/jfs/namei.c 	jfs_info("jfs_symlink: dip:0x%p name:%s", dip, name);
dip               892 fs/jfs/namei.c 	rc = dquot_initialize(dip);
dip               910 fs/jfs/namei.c 	ip = ialloc(dip, S_IFLNK | 0777);
dip               916 fs/jfs/namei.c 	tid = txBegin(dip->i_sb, 0);
dip               918 fs/jfs/namei.c 	mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT);
dip               921 fs/jfs/namei.c 	rc = jfs_init_security(tid, ip, dip, &dentry->d_name);
dip              1010 fs/jfs/namei.c 	rc = dtSearch(dip, &dname, &ino, &btstack, JFS_CREATE);
dip              1013 fs/jfs/namei.c 		rc = dtInsert(tid, dip, &dname, &ino, &btstack);
dip              1025 fs/jfs/namei.c 	dip->i_ctime = dip->i_mtime = current_time(dip);
dip              1026 fs/jfs/namei.c 	mark_inode_dirty(dip);
dip              1031 fs/jfs/namei.c 	iplist[0] = dip;
dip              1038 fs/jfs/namei.c 	mutex_unlock(&JFS_IP(dip)->commit_mutex);
dip              1441 fs/jfs/namei.c static struct dentry *jfs_lookup(struct inode *dip, struct dentry *dentry, unsigned int flags)
dip              1453 fs/jfs/namei.c 	rc = dtSearch(dip, &key, &inum, &btstack, JFS_LOOKUP);
dip              1461 fs/jfs/namei.c 		ip = jfs_iget(dip->i_sb, inum);
dip               955 fs/xfs/libxfs/xfs_format.h #define XFS_DFORK_Q(dip)		((dip)->di_forkoff != 0)
dip               956 fs/xfs/libxfs/xfs_format.h #define XFS_DFORK_BOFF(dip)		((int)((dip)->di_forkoff << 3))
dip               958 fs/xfs/libxfs/xfs_format.h #define XFS_DFORK_DSIZE(dip,mp) \
dip               959 fs/xfs/libxfs/xfs_format.h 	(XFS_DFORK_Q(dip) ? \
dip               960 fs/xfs/libxfs/xfs_format.h 		XFS_DFORK_BOFF(dip) : \
dip               961 fs/xfs/libxfs/xfs_format.h 		XFS_LITINO(mp, (dip)->di_version))
dip               962 fs/xfs/libxfs/xfs_format.h #define XFS_DFORK_ASIZE(dip,mp) \
dip               963 fs/xfs/libxfs/xfs_format.h 	(XFS_DFORK_Q(dip) ? \
dip               964 fs/xfs/libxfs/xfs_format.h 		XFS_LITINO(mp, (dip)->di_version) - XFS_DFORK_BOFF(dip) : \
dip               966 fs/xfs/libxfs/xfs_format.h #define XFS_DFORK_SIZE(dip,mp,w) \
dip               968 fs/xfs/libxfs/xfs_format.h 		XFS_DFORK_DSIZE(dip, mp) : \
dip               969 fs/xfs/libxfs/xfs_format.h 		XFS_DFORK_ASIZE(dip, mp))
dip               971 fs/xfs/libxfs/xfs_format.h #define XFS_DFORK_MAXEXT(dip, mp, w) \
dip               972 fs/xfs/libxfs/xfs_format.h 	(XFS_DFORK_SIZE(dip, mp, w) / sizeof(struct xfs_bmbt_rec))
dip               977 fs/xfs/libxfs/xfs_format.h #define XFS_DFORK_DPTR(dip) \
dip               978 fs/xfs/libxfs/xfs_format.h 	((char *)dip + xfs_dinode_size(dip->di_version))
dip               979 fs/xfs/libxfs/xfs_format.h #define XFS_DFORK_APTR(dip)	\
dip               980 fs/xfs/libxfs/xfs_format.h 	(XFS_DFORK_DPTR(dip) + XFS_DFORK_BOFF(dip))
dip               981 fs/xfs/libxfs/xfs_format.h #define XFS_DFORK_PTR(dip,w)	\
dip               982 fs/xfs/libxfs/xfs_format.h 	((w) == XFS_DATA_FORK ? XFS_DFORK_DPTR(dip) : XFS_DFORK_APTR(dip))
dip               984 fs/xfs/libxfs/xfs_format.h #define XFS_DFORK_FORMAT(dip,w) \
dip               986 fs/xfs/libxfs/xfs_format.h 		(dip)->di_format : \
dip               987 fs/xfs/libxfs/xfs_format.h 		(dip)->di_aformat)
dip               988 fs/xfs/libxfs/xfs_format.h #define XFS_DFORK_NEXTENTS(dip,w) \
dip               990 fs/xfs/libxfs/xfs_format.h 		be32_to_cpu((dip)->di_nextents) : \
dip               991 fs/xfs/libxfs/xfs_format.h 		be16_to_cpu((dip)->di_anextents))
dip               997 fs/xfs/libxfs/xfs_format.h static inline xfs_dev_t xfs_dinode_get_rdev(struct xfs_dinode *dip)
dip               999 fs/xfs/libxfs/xfs_format.h 	return be32_to_cpu(*(__be32 *)XFS_DFORK_DPTR(dip));
dip              1002 fs/xfs/libxfs/xfs_format.h static inline void xfs_dinode_put_rdev(struct xfs_dinode *dip, xfs_dev_t rdev)
dip              1004 fs/xfs/libxfs/xfs_format.h 	*(__be32 *)XFS_DFORK_DPTR(dip) = cpu_to_be32(rdev);
dip                34 fs/xfs/libxfs/xfs_inode_buf.c 	xfs_dinode_t	*dip;
dip                37 fs/xfs/libxfs/xfs_inode_buf.c 		dip = xfs_buf_offset(bp, i * mp->m_sb.sb_inodesize);
dip                38 fs/xfs/libxfs/xfs_inode_buf.c 		if (!dip->di_next_unlinked)  {
dip                90 fs/xfs/libxfs/xfs_inode_buf.c 		xfs_dinode_t	*dip;
dip                93 fs/xfs/libxfs/xfs_inode_buf.c 		dip = xfs_buf_offset(bp, (i << mp->m_sb.sb_inodelog));
dip                94 fs/xfs/libxfs/xfs_inode_buf.c 		unlinked_ino = be32_to_cpu(dip->di_next_unlinked);
dip                95 fs/xfs/libxfs/xfs_inode_buf.c 		di_ok = xfs_verify_magic16(bp, dip->di_magic) &&
dip                96 fs/xfs/libxfs/xfs_inode_buf.c 			xfs_dinode_good_version(mp, dip->di_version) &&
dip               110 fs/xfs/libxfs/xfs_inode_buf.c 				be16_to_cpu(dip->di_magic));
dip               113 fs/xfs/libxfs/xfs_inode_buf.c 					__func__, dip, sizeof(*dip),
dip               377 fs/xfs/libxfs/xfs_inode_buf.c 	struct xfs_dinode	*dip,
dip               381 fs/xfs/libxfs/xfs_inode_buf.c 	uint32_t		di_nextents = XFS_DFORK_NEXTENTS(dip, whichfork);
dip               383 fs/xfs/libxfs/xfs_inode_buf.c 	switch (XFS_DFORK_FORMAT(dip, whichfork)) {
dip               389 fs/xfs/libxfs/xfs_inode_buf.c 			if (S_ISREG(be16_to_cpu(dip->di_mode)))
dip               391 fs/xfs/libxfs/xfs_inode_buf.c 			if (be64_to_cpu(dip->di_size) >
dip               392 fs/xfs/libxfs/xfs_inode_buf.c 					XFS_DFORK_SIZE(dip, mp, whichfork))
dip               399 fs/xfs/libxfs/xfs_inode_buf.c 		if (di_nextents > XFS_DFORK_MAXEXT(dip, mp, whichfork))
dip               418 fs/xfs/libxfs/xfs_inode_buf.c 	struct xfs_dinode	*dip,
dip               421 fs/xfs/libxfs/xfs_inode_buf.c 	if (!XFS_DFORK_Q(dip))
dip               424 fs/xfs/libxfs/xfs_inode_buf.c 	switch (dip->di_format)  {
dip               426 fs/xfs/libxfs/xfs_inode_buf.c 		if (dip->di_forkoff != (roundup(sizeof(xfs_dev_t), 8) >> 3))
dip               432 fs/xfs/libxfs/xfs_inode_buf.c 		if (dip->di_forkoff >= (XFS_LITINO(mp, dip->di_version) >> 3))
dip               445 fs/xfs/libxfs/xfs_inode_buf.c 	struct xfs_dinode	*dip)
dip               453 fs/xfs/libxfs/xfs_inode_buf.c 	if (dip->di_magic != cpu_to_be16(XFS_DINODE_MAGIC))
dip               457 fs/xfs/libxfs/xfs_inode_buf.c 	if (dip->di_version >= 3) {
dip               460 fs/xfs/libxfs/xfs_inode_buf.c 		if (!xfs_verify_cksum((char *)dip, mp->m_sb.sb_inodesize,
dip               463 fs/xfs/libxfs/xfs_inode_buf.c 		if (be64_to_cpu(dip->di_ino) != ino)
dip               465 fs/xfs/libxfs/xfs_inode_buf.c 		if (!uuid_equal(&dip->di_uuid, &mp->m_sb.sb_meta_uuid))
dip               470 fs/xfs/libxfs/xfs_inode_buf.c 	di_size = be64_to_cpu(dip->di_size);
dip               474 fs/xfs/libxfs/xfs_inode_buf.c 	mode = be16_to_cpu(dip->di_mode);
dip               484 fs/xfs/libxfs/xfs_inode_buf.c 	    be32_to_cpu(dip->di_nextents) + be16_to_cpu(dip->di_anextents) >
dip               485 fs/xfs/libxfs/xfs_inode_buf.c 			be64_to_cpu(dip->di_nblocks))
dip               488 fs/xfs/libxfs/xfs_inode_buf.c 	if (mode && XFS_DFORK_BOFF(dip) > mp->m_sb.sb_inodesize)
dip               491 fs/xfs/libxfs/xfs_inode_buf.c 	flags = be16_to_cpu(dip->di_flags);
dip               497 fs/xfs/libxfs/xfs_inode_buf.c 	fa = xfs_dinode_verify_forkoff(dip, mp);
dip               507 fs/xfs/libxfs/xfs_inode_buf.c 		if (dip->di_format != XFS_DINODE_FMT_DEV)
dip               513 fs/xfs/libxfs/xfs_inode_buf.c 		fa = xfs_dinode_verify_fork(dip, mp, XFS_DATA_FORK);
dip               524 fs/xfs/libxfs/xfs_inode_buf.c 	if (XFS_DFORK_Q(dip)) {
dip               525 fs/xfs/libxfs/xfs_inode_buf.c 		fa = xfs_dinode_verify_fork(dip, mp, XFS_ATTR_FORK);
dip               535 fs/xfs/libxfs/xfs_inode_buf.c 		switch (dip->di_aformat) {
dip               542 fs/xfs/libxfs/xfs_inode_buf.c 		if (dip->di_anextents)
dip               547 fs/xfs/libxfs/xfs_inode_buf.c 	fa = xfs_inode_validate_extsize(mp, be32_to_cpu(dip->di_extsize),
dip               553 fs/xfs/libxfs/xfs_inode_buf.c 	if (dip->di_version < 3)
dip               556 fs/xfs/libxfs/xfs_inode_buf.c 	flags2 = be64_to_cpu(dip->di_flags2);
dip               576 fs/xfs/libxfs/xfs_inode_buf.c 	fa = xfs_inode_validate_cowextsize(mp, be32_to_cpu(dip->di_cowextsize),
dip               587 fs/xfs/libxfs/xfs_inode_buf.c 	struct xfs_dinode	*dip)
dip               591 fs/xfs/libxfs/xfs_inode_buf.c 	if (dip->di_version < 3)
dip               595 fs/xfs/libxfs/xfs_inode_buf.c 	crc = xfs_start_cksum_update((char *)dip, mp->m_sb.sb_inodesize,
dip               597 fs/xfs/libxfs/xfs_inode_buf.c 	dip->di_crc = xfs_end_cksum(crc);
dip               620 fs/xfs/libxfs/xfs_inode_buf.c 	xfs_dinode_t	*dip;
dip               645 fs/xfs/libxfs/xfs_inode_buf.c 	error = xfs_imap_to_bp(mp, tp, &ip->i_imap, &dip, &bp, 0, iget_flags);
dip               650 fs/xfs/libxfs/xfs_inode_buf.c 	fa = xfs_dinode_verify(mp, ip->i_ino, dip);
dip               652 fs/xfs/libxfs/xfs_inode_buf.c 		xfs_inode_verifier_error(ip, -EFSCORRUPTED, "dinode", dip,
dip               653 fs/xfs/libxfs/xfs_inode_buf.c 				sizeof(*dip), fa);
dip               665 fs/xfs/libxfs/xfs_inode_buf.c 	if (dip->di_mode) {
dip               666 fs/xfs/libxfs/xfs_inode_buf.c 		xfs_inode_from_disk(ip, dip);
dip               667 fs/xfs/libxfs/xfs_inode_buf.c 		error = xfs_iformat_fork(ip, dip);
dip               680 fs/xfs/libxfs/xfs_inode_buf.c 		ip->i_d.di_version = dip->di_version;
dip               681 fs/xfs/libxfs/xfs_inode_buf.c 		VFS_I(ip)->i_generation = be32_to_cpu(dip->di_gen);
dip               682 fs/xfs/libxfs/xfs_inode_buf.c 		ip->i_d.di_flushiter = be16_to_cpu(dip->di_flushiter);
dip                74 fs/xfs/libxfs/xfs_inode_buf.h 			   struct xfs_dinode *dip);
dip                45 fs/xfs/libxfs/xfs_inode_fork.c 	struct xfs_dinode	*dip)
dip                59 fs/xfs/libxfs/xfs_inode_fork.c 		inode->i_rdev = xfs_to_linux_dev_t(xfs_dinode_get_rdev(dip));
dip                65 fs/xfs/libxfs/xfs_inode_fork.c 		switch (dip->di_format) {
dip                67 fs/xfs/libxfs/xfs_inode_fork.c 			di_size = be64_to_cpu(dip->di_size);
dip                69 fs/xfs/libxfs/xfs_inode_fork.c 			error = xfs_iformat_local(ip, dip, XFS_DATA_FORK, size);
dip                72 fs/xfs/libxfs/xfs_inode_fork.c 			error = xfs_iformat_extents(ip, dip, XFS_DATA_FORK);
dip                75 fs/xfs/libxfs/xfs_inode_fork.c 			error = xfs_iformat_btree(ip, dip, XFS_DATA_FORK);
dip                93 fs/xfs/libxfs/xfs_inode_fork.c 	if (!XFS_DFORK_Q(dip))
dip                99 fs/xfs/libxfs/xfs_inode_fork.c 	switch (dip->di_aformat) {
dip               101 fs/xfs/libxfs/xfs_inode_fork.c 		atp = (xfs_attr_shortform_t *)XFS_DFORK_APTR(dip);
dip               104 fs/xfs/libxfs/xfs_inode_fork.c 		error = xfs_iformat_local(ip, dip, XFS_ATTR_FORK, size);
dip               107 fs/xfs/libxfs/xfs_inode_fork.c 		error = xfs_iformat_extents(ip, dip, XFS_ATTR_FORK);
dip               110 fs/xfs/libxfs/xfs_inode_fork.c 		error = xfs_iformat_btree(ip, dip, XFS_ATTR_FORK);
dip               169 fs/xfs/libxfs/xfs_inode_fork.c 	xfs_dinode_t	*dip,
dip               178 fs/xfs/libxfs/xfs_inode_fork.c 	if (unlikely(size > XFS_DFORK_SIZE(dip, ip->i_mount, whichfork))) {
dip               182 fs/xfs/libxfs/xfs_inode_fork.c 			XFS_DFORK_SIZE(dip, ip->i_mount, whichfork));
dip               184 fs/xfs/libxfs/xfs_inode_fork.c 				"xfs_iformat_local", dip, sizeof(*dip),
dip               189 fs/xfs/libxfs/xfs_inode_fork.c 	xfs_init_local_fork(ip, whichfork, XFS_DFORK_PTR(dip, whichfork), size);
dip               200 fs/xfs/libxfs/xfs_inode_fork.c 	struct xfs_dinode	*dip,
dip               206 fs/xfs/libxfs/xfs_inode_fork.c 	int			nex = XFS_DFORK_NEXTENTS(dip, whichfork);
dip               217 fs/xfs/libxfs/xfs_inode_fork.c 	if (unlikely(size < 0 || size > XFS_DFORK_SIZE(dip, mp, whichfork))) {
dip               221 fs/xfs/libxfs/xfs_inode_fork.c 				"xfs_iformat_extents(1)", dip, sizeof(*dip),
dip               230 fs/xfs/libxfs/xfs_inode_fork.c 		dp = (xfs_bmbt_rec_t *) XFS_DFORK_PTR(dip, whichfork);
dip               265 fs/xfs/libxfs/xfs_inode_fork.c 	xfs_dinode_t		*dip,
dip               277 fs/xfs/libxfs/xfs_inode_fork.c 	dfp = (xfs_bmdr_block_t *)XFS_DFORK_PTR(dip, whichfork);
dip               293 fs/xfs/libxfs/xfs_inode_fork.c 					XFS_DFORK_SIZE(dip, mp, whichfork) ||
dip               311 fs/xfs/libxfs/xfs_inode_fork.c 	xfs_bmdr_to_bmbt(ip, dfp, XFS_DFORK_SIZE(dip, ip->i_mount, whichfork),
dip               588 fs/xfs/libxfs/xfs_inode_fork.c 	xfs_dinode_t		*dip,
dip               613 fs/xfs/libxfs/xfs_inode_fork.c 	cp = XFS_DFORK_PTR(dip, whichfork);
dip               644 fs/xfs/libxfs/xfs_inode_fork.c 				XFS_DFORK_SIZE(dip, mp, whichfork));
dip               651 fs/xfs/libxfs/xfs_inode_fork.c 			xfs_dinode_put_rdev(dip,
dip               149 fs/xfs/scrub/ialloc.c 	struct xfs_dinode		*dip)
dip               170 fs/xfs/scrub/ialloc.c 	if (be16_to_cpu(dip->di_magic) != XFS_DINODE_MAGIC ||
dip               171 fs/xfs/scrub/ialloc.c 	    (dip->di_version >= 3 && be64_to_cpu(dip->di_ino) != fsino)) {
dip               180 fs/xfs/scrub/ialloc.c 		freemask_ok = irec_free ^ !!(dip->di_mode);
dip               215 fs/xfs/scrub/ialloc.c 	struct xfs_dinode		*dip;
dip               281 fs/xfs/scrub/ialloc.c 	error = xfs_imap_to_bp(mp, bs->cur->bc_tp, &imap, &dip, &cluster_bp,
dip               288 fs/xfs/scrub/ialloc.c 		struct xfs_dinode	*dip;
dip               295 fs/xfs/scrub/ialloc.c 		dip = xfs_buf_offset(cluster_bp, imap.im_boffset);
dip               297 fs/xfs/scrub/ialloc.c 				cluster_base + cluster_index, dip);
dip                71 fs/xfs/scrub/inode.c 	struct xfs_dinode	*dip,
dip                78 fs/xfs/scrub/inode.c 	fa = xfs_inode_validate_extsize(sc->mp, be32_to_cpu(dip->di_extsize),
dip                93 fs/xfs/scrub/inode.c 	struct xfs_dinode	*dip,
dip               102 fs/xfs/scrub/inode.c 			be32_to_cpu(dip->di_cowextsize), mode, flags,
dip               112 fs/xfs/scrub/inode.c 	struct xfs_dinode	*dip,
dip               158 fs/xfs/scrub/inode.c 	struct xfs_dinode	*dip,
dip               202 fs/xfs/scrub/inode.c 	struct xfs_dinode	*dip,
dip               213 fs/xfs/scrub/inode.c 	flags = be16_to_cpu(dip->di_flags);
dip               214 fs/xfs/scrub/inode.c 	if (dip->di_version >= 3)
dip               215 fs/xfs/scrub/inode.c 		flags2 = be64_to_cpu(dip->di_flags2);
dip               220 fs/xfs/scrub/inode.c 	mode = be16_to_cpu(dip->di_mode);
dip               237 fs/xfs/scrub/inode.c 	switch (dip->di_version) {
dip               247 fs/xfs/scrub/inode.c 		if (dip->di_onlink != 0)
dip               250 fs/xfs/scrub/inode.c 		if (dip->di_mode == 0 && sc->ip)
dip               253 fs/xfs/scrub/inode.c 		if (dip->di_projid_hi != 0 &&
dip               266 fs/xfs/scrub/inode.c 	if (dip->di_uid == cpu_to_be32(-1U) ||
dip               267 fs/xfs/scrub/inode.c 	    dip->di_gid == cpu_to_be32(-1U))
dip               271 fs/xfs/scrub/inode.c 	switch (dip->di_format) {
dip               296 fs/xfs/scrub/inode.c 	if (be32_to_cpu(dip->di_atime.t_nsec) >= NSEC_PER_SEC)
dip               298 fs/xfs/scrub/inode.c 	if (be32_to_cpu(dip->di_mtime.t_nsec) >= NSEC_PER_SEC)
dip               300 fs/xfs/scrub/inode.c 	if (be32_to_cpu(dip->di_ctime.t_nsec) >= NSEC_PER_SEC)
dip               308 fs/xfs/scrub/inode.c 	isize = be64_to_cpu(dip->di_size);
dip               344 fs/xfs/scrub/inode.c 		if (be64_to_cpu(dip->di_nblocks) >=
dip               348 fs/xfs/scrub/inode.c 		if (be64_to_cpu(dip->di_nblocks) >= mp->m_sb.sb_dblocks)
dip               352 fs/xfs/scrub/inode.c 	xchk_inode_flags(sc, dip, ino, mode, flags);
dip               354 fs/xfs/scrub/inode.c 	xchk_inode_extsize(sc, dip, ino, mode, flags);
dip               357 fs/xfs/scrub/inode.c 	nextents = be32_to_cpu(dip->di_nextents);
dip               358 fs/xfs/scrub/inode.c 	fork_recs =  XFS_DFORK_DSIZE(dip, mp) / sizeof(struct xfs_bmbt_rec);
dip               359 fs/xfs/scrub/inode.c 	switch (dip->di_format) {
dip               375 fs/xfs/scrub/inode.c 	if (XFS_DFORK_APTR(dip) >= (char *)dip + mp->m_sb.sb_inodesize)
dip               377 fs/xfs/scrub/inode.c 	if (dip->di_anextents != 0 && dip->di_forkoff == 0)
dip               379 fs/xfs/scrub/inode.c 	if (dip->di_forkoff == 0 && dip->di_aformat != XFS_DINODE_FMT_EXTENTS)
dip               383 fs/xfs/scrub/inode.c 	if (dip->di_aformat != XFS_DINODE_FMT_LOCAL &&
dip               384 fs/xfs/scrub/inode.c 	    dip->di_aformat != XFS_DINODE_FMT_EXTENTS &&
dip               385 fs/xfs/scrub/inode.c 	    dip->di_aformat != XFS_DINODE_FMT_BTREE)
dip               389 fs/xfs/scrub/inode.c 	nextents = be16_to_cpu(dip->di_anextents);
dip               390 fs/xfs/scrub/inode.c 	fork_recs =  XFS_DFORK_ASIZE(dip, mp) / sizeof(struct xfs_bmbt_rec);
dip               391 fs/xfs/scrub/inode.c 	switch (dip->di_aformat) {
dip               405 fs/xfs/scrub/inode.c 	if (dip->di_version >= 3) {
dip               406 fs/xfs/scrub/inode.c 		if (be32_to_cpu(dip->di_crtime.t_nsec) >= NSEC_PER_SEC)
dip               408 fs/xfs/scrub/inode.c 		xchk_inode_flags2(sc, dip, ino, mode, flags, flags2);
dip               409 fs/xfs/scrub/inode.c 		xchk_inode_cowextsize(sc, dip, ino, mode, flags,
dip               465 fs/xfs/scrub/inode.c 	struct xfs_dinode	*dip)
dip               480 fs/xfs/scrub/inode.c 	if (nextents < be32_to_cpu(dip->di_nextents))
dip               487 fs/xfs/scrub/inode.c 	if (nextents != be16_to_cpu(dip->di_anextents))
dip               491 fs/xfs/scrub/inode.c 	if (count + acount != be64_to_cpu(dip->di_nblocks))
dip               500 fs/xfs/scrub/inode.c 	struct xfs_dinode	*dip)
dip               520 fs/xfs/scrub/inode.c 	xchk_inode_xref_bmap(sc, dip);
dip              2150 fs/xfs/xfs_inode.c 	struct xfs_dinode	*dip,
dip              2160 fs/xfs/xfs_inode.c 			be32_to_cpu(dip->di_next_unlinked), next_agino);
dip              2162 fs/xfs/xfs_inode.c 	dip->di_next_unlinked = cpu_to_be32(next_agino);
dip              2167 fs/xfs/xfs_inode.c 	xfs_dinode_calc_crc(mp, dip);
dip              2183 fs/xfs/xfs_inode.c 	struct xfs_dinode	*dip;
dip              2190 fs/xfs/xfs_inode.c 	error = xfs_imap_to_bp(mp, tp, &ip->i_imap, &dip, &ibp, 0, 0);
dip              2195 fs/xfs/xfs_inode.c 	old_value = be32_to_cpu(dip->di_next_unlinked);
dip              2215 fs/xfs/xfs_inode.c 			ibp, dip, &ip->i_imap, next_agino);
dip              3639 fs/xfs/xfs_inode.c 	struct xfs_dinode	*dip;
dip              3688 fs/xfs/xfs_inode.c 	error = xfs_imap_to_bp(mp, NULL, &ip->i_imap, &dip, &bp, XBF_TRYLOCK,
dip              3773 fs/xfs/xfs_inode.c 	struct xfs_dinode	*dip;
dip              3784 fs/xfs/xfs_inode.c 	dip = xfs_buf_offset(bp, ip->i_imap.im_boffset);
dip              3786 fs/xfs/xfs_inode.c 	if (XFS_TEST_ERROR(dip->di_magic != cpu_to_be16(XFS_DINODE_MAGIC),
dip              3790 fs/xfs/xfs_inode.c 			__func__, ip->i_ino, be16_to_cpu(dip->di_magic), dip);
dip              3854 fs/xfs/xfs_inode.c 	xfs_inode_to_disk(ip, dip, iip->ili_item.li_lsn);
dip              3860 fs/xfs/xfs_inode.c 	xfs_iflush_fork(ip, dip, iip, XFS_DATA_FORK);
dip              3862 fs/xfs/xfs_inode.c 		xfs_iflush_fork(ip, dip, iip, XFS_ATTR_FORK);
dip              3907 fs/xfs/xfs_inode.c 	xfs_dinode_calc_crc(mp, dip);
dip              2864 fs/xfs/xfs_log_recover.c 	struct xfs_dinode	*dip,
dip              2878 fs/xfs/xfs_log_recover.c 	xfs_inode_from_disk(ip, dip);
dip              2881 fs/xfs/xfs_log_recover.c 	error = xfs_iformat_fork(ip, dip);
dip              2921 fs/xfs/xfs_log_recover.c 	xfs_dinode_t		*dip;
dip              2966 fs/xfs/xfs_log_recover.c 	dip = xfs_buf_offset(bp, in_f->ilf_boffset);
dip              2972 fs/xfs/xfs_log_recover.c 	if (unlikely(!xfs_verify_magic16(bp, dip->di_magic))) {
dip              2975 fs/xfs/xfs_log_recover.c 			__func__, dip, bp, in_f->ilf_ino);
dip              2999 fs/xfs/xfs_log_recover.c 	if (dip->di_version >= 3) {
dip              3000 fs/xfs/xfs_log_recover.c 		xfs_lsn_t	lsn = be64_to_cpu(dip->di_lsn);
dip              3018 fs/xfs/xfs_log_recover.c 	    ldip->di_flushiter < be16_to_cpu(dip->di_flushiter)) {
dip              3023 fs/xfs/xfs_log_recover.c 		if (be16_to_cpu(dip->di_flushiter) == DI_MAX_FLUSH &&
dip              3045 fs/xfs/xfs_log_recover.c 				__func__, item, dip, bp, in_f->ilf_ino);
dip              3059 fs/xfs/xfs_log_recover.c 				__func__, item, dip, bp, in_f->ilf_ino);
dip              3071 fs/xfs/xfs_log_recover.c 			__func__, item, dip, bp, in_f->ilf_ino,
dip              3084 fs/xfs/xfs_log_recover.c 			item, dip, bp, in_f->ilf_ino, ldip->di_forkoff);
dip              3101 fs/xfs/xfs_log_recover.c 	xfs_log_dinode_to_disk(ldip, dip);
dip              3105 fs/xfs/xfs_log_recover.c 		xfs_dinode_put_rdev(dip, in_f->ilf_u.ilfu_rdev);
dip              3119 fs/xfs/xfs_log_recover.c 		memcpy(XFS_DFORK_DPTR(dip), src, len);
dip              3124 fs/xfs/xfs_log_recover.c 				 (xfs_bmdr_block_t *)XFS_DFORK_DPTR(dip),
dip              3125 fs/xfs/xfs_log_recover.c 				 XFS_DFORK_DSIZE(dip, mp));
dip              3154 fs/xfs/xfs_log_recover.c 			dest = XFS_DFORK_APTR(dip);
dip              3155 fs/xfs/xfs_log_recover.c 			ASSERT(len <= XFS_DFORK_ASIZE(dip, mp));
dip              3160 fs/xfs/xfs_log_recover.c 			dest = XFS_DFORK_APTR(dip);
dip              3163 fs/xfs/xfs_log_recover.c 					 XFS_DFORK_ASIZE(dip, mp));
dip              3177 fs/xfs/xfs_log_recover.c 	    (dip->di_mode != 0))
dip              3178 fs/xfs/xfs_log_recover.c 		error = xfs_recover_inode_owner_change(mp, dip, in_f,
dip              3181 fs/xfs/xfs_log_recover.c 	xfs_dinode_calc_crc(log->l_mp, dip);
dip              4977 fs/xfs/xfs_log_recover.c 	struct xfs_dinode		*dip;
dip              4990 fs/xfs/xfs_log_recover.c 	error = xfs_imap_to_bp(mp, NULL, &ip->i_imap, &dip, &ibp, 0, 0);
dip              4999 fs/xfs/xfs_log_recover.c 	agino = be32_to_cpu(dip->di_next_unlinked);
dip               546 include/linux/mlx5/mlx5_ifc_fpga.h 	__be32 dip[4];
dip               138 net/bridge/netfilter/ebt_among.c 	__be32 dip = 0, sip = 0;
dip               160 net/bridge/netfilter/ebt_among.c 		if (get_ip_dst(skb, &dip))
dip               164 net/bridge/netfilter/ebt_among.c 			if (!ebt_mac_wormhash_contains(wh_dst, dmac, dip))
dip               168 net/bridge/netfilter/ebt_among.c 			if (ebt_mac_wormhash_contains(wh_dst, dmac, dip))
dip               629 sound/pci/hda/patch_hdmi.c 				      u8 *dip, int size)
dip               638 sound/pci/hda/patch_hdmi.c 		hdmi_write_dip_byte(codec, pin_nid, dip[i]);
dip               642 sound/pci/hda/patch_hdmi.c 				    u8 *dip, int size)
dip               655 sound/pci/hda/patch_hdmi.c 		if (val != dip[i])
dip               371 sound/soc/codecs/hdac_hdmi.c 	u8 *dip;
dip               411 sound/soc/codecs/hdac_hdmi.c 		dip = (u8 *)&dp_ai;
dip               434 sound/soc/codecs/hdac_hdmi.c 				AC_VERB_SET_HDMI_DIP_DATA, dip[i]);