de                 44 arch/microblaze/include/asm/cacheflush.h 	void (*de)(void); /* enable */
de                 67 arch/microblaze/include/asm/cacheflush.h #define enable_dcache()					mbc->de();
de                519 arch/microblaze/kernel/cpu/cache.c 	.de = __enable_dcache_msr,
de                535 arch/microblaze/kernel/cpu/cache.c 	.de = __enable_dcache_nomsr,
de                551 arch/microblaze/kernel/cpu/cache.c 	.de = __enable_dcache_msr,
de                566 arch/microblaze/kernel/cpu/cache.c 	.de = __enable_dcache_nomsr,
de                582 arch/microblaze/kernel/cpu/cache.c 	.de = __enable_dcache_msr,
de                597 arch/microblaze/kernel/cpu/cache.c 	.de = __enable_dcache_nomsr,
de               1165 drivers/gpu/drm/arm/malidp_hw.c 	const struct malidp_irq_map *de;
de               1171 drivers/gpu/drm/arm/malidp_hw.c 	de = &hw->map.de_irq_map;
de               1197 drivers/gpu/drm/arm/malidp_hw.c 	if (!(status & de->irq_mask))
de               1202 drivers/gpu/drm/arm/malidp_hw.c 	status &= (mask | de->err_mask);
de               1203 drivers/gpu/drm/arm/malidp_hw.c 	if ((status & de->vsync_irq) && malidp->crtc.enabled)
de               1207 drivers/gpu/drm/arm/malidp_hw.c 	if (status & de->err_mask) {
de                 72 drivers/gpu/drm/armada/armada_drm.h 	struct dentry		*de;
de               1543 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c 	u8 de;
de               1546 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c 		de = HDMI_A_VIDPOLCFG_DATAENPOL_ACTIVE_HIGH;
de               1548 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c 		de = HDMI_A_VIDPOLCFG_DATAENPOL_ACTIVE_LOW;
de               1554 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c 	hdmi_modb(hdmi, de, HDMI_A_VIDPOLCFG_DATAENPOL_MASK, HDMI_A_VIDPOLCFG);
de               3862 drivers/gpu/drm/i915/gt/intel_lrc.c 		struct virtual_engine *de = to_virtual_engine(dst->engine);
de               3864 drivers/gpu/drm/i915/gt/intel_lrc.c 		de->bonds = kmemdup(se->bonds,
de               3867 drivers/gpu/drm/i915/gt/intel_lrc.c 		if (!de->bonds) {
de               3872 drivers/gpu/drm/i915/gt/intel_lrc.c 		de->num_bonds = se->num_bonds;
de                240 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.c 	if (scaler3_cfg->de.enable) {
de                241 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.c 		_dpu_hw_setup_scaler3_de(c, &scaler3_cfg->de, scaler_offset);
de                139 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.h 	struct dpu_hw_scaler3_de_cfg de;
de                294 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.h 	struct dpu_drm_de_v1 de;
de               3126 drivers/gpu/drm/omapdrm/dss/dispc.c 	bool onoff, rf, ipc, vs, hs, de;
de               3149 drivers/gpu/drm/omapdrm/dss/dispc.c 		de = false;
de               3151 drivers/gpu/drm/omapdrm/dss/dispc.c 		de = true;
de               3168 drivers/gpu/drm/omapdrm/dss/dispc.c 		FLD_VAL(de, 15, 15) |
de                163 drivers/gpu/host1x/debug.c 	struct dentry *de = debugfs_create_dir("tegra-host1x", NULL);
de                166 drivers/gpu/host1x/debug.c 	host1x->debugfs = de;
de                168 drivers/gpu/host1x/debug.c 	debugfs_create_file("status", S_IRUGO, de, host1x, &host1x_debug_fops);
de                169 drivers/gpu/host1x/debug.c 	debugfs_create_file("status_all", S_IRUGO, de, host1x,
de                172 drivers/gpu/host1x/debug.c 	debugfs_create_u32("trace_cmdbuf", S_IRUGO|S_IWUSR, de,
de                175 drivers/gpu/host1x/debug.c 	host1x_hw_debug_init(host1x, de);
de                177 drivers/gpu/host1x/debug.c 	debugfs_create_u32("force_timeout_pid", S_IRUGO|S_IWUSR, de,
de                179 drivers/gpu/host1x/debug.c 	debugfs_create_u32("force_timeout_val", S_IRUGO|S_IWUSR, de,
de                181 drivers/gpu/host1x/debug.c 	debugfs_create_u32("force_timeout_channel", S_IRUGO|S_IWUSR, de,
de                 53 drivers/gpu/host1x/dev.h 	void (*debug_init)(struct dentry *de);
de                301 drivers/gpu/host1x/dev.h static inline void host1x_hw_debug_init(struct host1x *host, struct dentry *de)
de                304 drivers/gpu/host1x/dev.h 		host->debug_op->debug_init(de);
de                 62 drivers/ipack/devices/scc2698.h 		u8 de, ctg;  /* Start counter timer of block */
de                 80 drivers/ipack/devices/scc2698.h 		u8 de, r2;   /* reserved */
de                473 drivers/md/dm-cache-policy-smq.c 	struct entry *de;
de                479 drivers/md/dm-cache-policy-smq.c 		for (de = l_head(q->es, q->qs + new_level); de && de->sentinel; de = l_next(q->es, de))
de                482 drivers/md/dm-cache-policy-smq.c 		if (de) {
de                483 drivers/md/dm-cache-policy-smq.c 			q_del(q, de);
de                484 drivers/md/dm-cache-policy-smq.c 			de->level = e->level;
de                488 drivers/md/dm-cache-policy-smq.c 					q_push_before(q, s1, de);
de                492 drivers/md/dm-cache-policy-smq.c 					q_push_before(q, s2, de);
de                496 drivers/md/dm-cache-policy-smq.c 					q_push(q, de);
de                499 drivers/md/dm-cache-policy-smq.c 				q_push(q, de);
de                417 drivers/md/dm-snap-persistent.c 	struct disk_exception *de = get_exception(ps, ps_area, index);
de                420 drivers/md/dm-snap-persistent.c 	result->old_chunk = le64_to_cpu(de->old_chunk);
de                421 drivers/md/dm-snap-persistent.c 	result->new_chunk = le64_to_cpu(de->new_chunk);
de                427 drivers/md/dm-snap-persistent.c 	struct disk_exception *de = get_exception(ps, ps->area, index);
de                430 drivers/md/dm-snap-persistent.c 	de->old_chunk = cpu_to_le64(e->old_chunk);
de                431 drivers/md/dm-snap-persistent.c 	de->new_chunk = cpu_to_le64(e->new_chunk);
de                436 drivers/md/dm-snap-persistent.c 	struct disk_exception *de = get_exception(ps, ps->area, index);
de                439 drivers/md/dm-snap-persistent.c 	de->old_chunk = 0;
de                440 drivers/md/dm-snap-persistent.c 	de->new_chunk = 0;
de                119 drivers/media/radio/si470x/radio-si470x-common.c static unsigned short de = 1;
de                120 drivers/media/radio/si470x/radio-si470x-common.c module_param(de, ushort, 0444);
de                121 drivers/media/radio/si470x/radio-si470x-common.c MODULE_PARM_DESC(de, "De-emphasis: 0=75us *1=50us*");
de                383 drivers/media/radio/si470x/radio-si470x-common.c 	if (de)
de                333 drivers/net/ethernet/dec/tulip/de2104x.c static void de_tx (struct de_private *de);
de                334 drivers/net/ethernet/dec/tulip/de2104x.c static void de_clean_rings (struct de_private *de);
de                335 drivers/net/ethernet/dec/tulip/de2104x.c static void de_media_interrupt (struct de_private *de, u32 status);
de                338 drivers/net/ethernet/dec/tulip/de2104x.c static unsigned int de_ok_to_advertise (struct de_private *de, u32 new_media);
de                372 drivers/net/ethernet/dec/tulip/de2104x.c #define dr32(reg)	ioread32(de->regs + (reg))
de                373 drivers/net/ethernet/dec/tulip/de2104x.c #define dw32(reg, val)	iowrite32((val), de->regs + (reg))
de                376 drivers/net/ethernet/dec/tulip/de2104x.c static void de_rx_err_acct (struct de_private *de, unsigned rx_tail,
de                379 drivers/net/ethernet/dec/tulip/de2104x.c 	netif_dbg(de, rx_err, de->dev,
de                386 drivers/net/ethernet/dec/tulip/de2104x.c 			netif_warn(de, rx_err, de->dev,
de                389 drivers/net/ethernet/dec/tulip/de2104x.c 			de->dev->stats.rx_length_errors++;
de                393 drivers/net/ethernet/dec/tulip/de2104x.c 		de->dev->stats.rx_errors++; /* end of a packet.*/
de                394 drivers/net/ethernet/dec/tulip/de2104x.c 		if (status & 0x0890) de->dev->stats.rx_length_errors++;
de                395 drivers/net/ethernet/dec/tulip/de2104x.c 		if (status & RxErrCRC) de->dev->stats.rx_crc_errors++;
de                396 drivers/net/ethernet/dec/tulip/de2104x.c 		if (status & RxErrFIFO) de->dev->stats.rx_fifo_errors++;
de                400 drivers/net/ethernet/dec/tulip/de2104x.c static void de_rx (struct de_private *de)
de                402 drivers/net/ethernet/dec/tulip/de2104x.c 	unsigned rx_tail = de->rx_tail;
de                413 drivers/net/ethernet/dec/tulip/de2104x.c 		skb = de->rx_skb[rx_tail].skb;
de                416 drivers/net/ethernet/dec/tulip/de2104x.c 		status = le32_to_cpu(de->rx_ring[rx_tail].opts1);
de                421 drivers/net/ethernet/dec/tulip/de2104x.c 		mapping = de->rx_skb[rx_tail].mapping;
de                424 drivers/net/ethernet/dec/tulip/de2104x.c 			de->dev->stats.rx_dropped++;
de                429 drivers/net/ethernet/dec/tulip/de2104x.c 			de_rx_err_acct(de, rx_tail, status, len);
de                435 drivers/net/ethernet/dec/tulip/de2104x.c 		netif_dbg(de, rx_status, de->dev,
de                439 drivers/net/ethernet/dec/tulip/de2104x.c 		buflen = copying_skb ? (len + RX_OFFSET) : de->rx_buf_sz;
de                440 drivers/net/ethernet/dec/tulip/de2104x.c 		copy_skb = netdev_alloc_skb(de->dev, buflen);
de                442 drivers/net/ethernet/dec/tulip/de2104x.c 			de->dev->stats.rx_dropped++;
de                449 drivers/net/ethernet/dec/tulip/de2104x.c 			pci_unmap_single(de->pdev, mapping,
de                454 drivers/net/ethernet/dec/tulip/de2104x.c 			de->rx_skb[rx_tail].mapping =
de                455 drivers/net/ethernet/dec/tulip/de2104x.c 				pci_map_single(de->pdev, copy_skb->data,
de                457 drivers/net/ethernet/dec/tulip/de2104x.c 			de->rx_skb[rx_tail].skb = copy_skb;
de                459 drivers/net/ethernet/dec/tulip/de2104x.c 			pci_dma_sync_single_for_cpu(de->pdev, mapping, len, PCI_DMA_FROMDEVICE);
de                463 drivers/net/ethernet/dec/tulip/de2104x.c 			pci_dma_sync_single_for_device(de->pdev, mapping, len, PCI_DMA_FROMDEVICE);
de                469 drivers/net/ethernet/dec/tulip/de2104x.c 		skb->protocol = eth_type_trans (skb, de->dev);
de                471 drivers/net/ethernet/dec/tulip/de2104x.c 		de->dev->stats.rx_packets++;
de                472 drivers/net/ethernet/dec/tulip/de2104x.c 		de->dev->stats.rx_bytes += skb->len;
de                479 drivers/net/ethernet/dec/tulip/de2104x.c 			de->rx_ring[rx_tail].opts2 =
de                480 drivers/net/ethernet/dec/tulip/de2104x.c 				cpu_to_le32(RingEnd | de->rx_buf_sz);
de                482 drivers/net/ethernet/dec/tulip/de2104x.c 			de->rx_ring[rx_tail].opts2 = cpu_to_le32(de->rx_buf_sz);
de                483 drivers/net/ethernet/dec/tulip/de2104x.c 		de->rx_ring[rx_tail].addr1 = cpu_to_le32(mapping);
de                485 drivers/net/ethernet/dec/tulip/de2104x.c 		de->rx_ring[rx_tail].opts1 = cpu_to_le32(DescOwn);
de                490 drivers/net/ethernet/dec/tulip/de2104x.c 		netdev_warn(de->dev, "rx work limit reached\n");
de                492 drivers/net/ethernet/dec/tulip/de2104x.c 	de->rx_tail = rx_tail;
de                498 drivers/net/ethernet/dec/tulip/de2104x.c 	struct de_private *de = netdev_priv(dev);
de                505 drivers/net/ethernet/dec/tulip/de2104x.c 	netif_dbg(de, intr, dev, "intr, status %08x mode %08x desc %u/%u/%u\n",
de                507 drivers/net/ethernet/dec/tulip/de2104x.c 		  de->rx_tail, de->tx_head, de->tx_tail);
de                512 drivers/net/ethernet/dec/tulip/de2104x.c 		de_rx(de);
de                517 drivers/net/ethernet/dec/tulip/de2104x.c 	spin_lock(&de->lock);
de                520 drivers/net/ethernet/dec/tulip/de2104x.c 		de_tx(de);
de                523 drivers/net/ethernet/dec/tulip/de2104x.c 		de_media_interrupt(de, status);
de                525 drivers/net/ethernet/dec/tulip/de2104x.c 	spin_unlock(&de->lock);
de                530 drivers/net/ethernet/dec/tulip/de2104x.c 		pci_read_config_word(de->pdev, PCI_STATUS, &pci_status);
de                531 drivers/net/ethernet/dec/tulip/de2104x.c 		pci_write_config_word(de->pdev, PCI_STATUS, pci_status);
de                532 drivers/net/ethernet/dec/tulip/de2104x.c 		netdev_err(de->dev,
de                540 drivers/net/ethernet/dec/tulip/de2104x.c static void de_tx (struct de_private *de)
de                542 drivers/net/ethernet/dec/tulip/de2104x.c 	unsigned tx_head = de->tx_head;
de                543 drivers/net/ethernet/dec/tulip/de2104x.c 	unsigned tx_tail = de->tx_tail;
de                550 drivers/net/ethernet/dec/tulip/de2104x.c 		status = le32_to_cpu(de->tx_ring[tx_tail].opts1);
de                554 drivers/net/ethernet/dec/tulip/de2104x.c 		skb = de->tx_skb[tx_tail].skb;
de                560 drivers/net/ethernet/dec/tulip/de2104x.c 			pci_unmap_single(de->pdev, de->tx_skb[tx_tail].mapping,
de                561 drivers/net/ethernet/dec/tulip/de2104x.c 					 sizeof(de->setup_frame), PCI_DMA_TODEVICE);
de                565 drivers/net/ethernet/dec/tulip/de2104x.c 		pci_unmap_single(de->pdev, de->tx_skb[tx_tail].mapping,
de                570 drivers/net/ethernet/dec/tulip/de2104x.c 				netif_dbg(de, tx_err, de->dev,
de                573 drivers/net/ethernet/dec/tulip/de2104x.c 				de->dev->stats.tx_errors++;
de                575 drivers/net/ethernet/dec/tulip/de2104x.c 					de->dev->stats.tx_window_errors++;
de                577 drivers/net/ethernet/dec/tulip/de2104x.c 					de->dev->stats.tx_aborted_errors++;
de                579 drivers/net/ethernet/dec/tulip/de2104x.c 					de->dev->stats.tx_carrier_errors++;
de                581 drivers/net/ethernet/dec/tulip/de2104x.c 					de->dev->stats.tx_fifo_errors++;
de                583 drivers/net/ethernet/dec/tulip/de2104x.c 				de->dev->stats.tx_packets++;
de                584 drivers/net/ethernet/dec/tulip/de2104x.c 				de->dev->stats.tx_bytes += skb->len;
de                585 drivers/net/ethernet/dec/tulip/de2104x.c 				netif_dbg(de, tx_done, de->dev,
de                592 drivers/net/ethernet/dec/tulip/de2104x.c 		de->tx_skb[tx_tail].skb = NULL;
de                597 drivers/net/ethernet/dec/tulip/de2104x.c 	de->tx_tail = tx_tail;
de                599 drivers/net/ethernet/dec/tulip/de2104x.c 	if (netif_queue_stopped(de->dev) && (TX_BUFFS_AVAIL(de) > (DE_TX_RING_SIZE / 4)))
de                600 drivers/net/ethernet/dec/tulip/de2104x.c 		netif_wake_queue(de->dev);
de                606 drivers/net/ethernet/dec/tulip/de2104x.c 	struct de_private *de = netdev_priv(dev);
de                611 drivers/net/ethernet/dec/tulip/de2104x.c 	spin_lock_irq(&de->lock);
de                613 drivers/net/ethernet/dec/tulip/de2104x.c 	tx_free = TX_BUFFS_AVAIL(de);
de                616 drivers/net/ethernet/dec/tulip/de2104x.c 		spin_unlock_irq(&de->lock);
de                621 drivers/net/ethernet/dec/tulip/de2104x.c 	entry = de->tx_head;
de                623 drivers/net/ethernet/dec/tulip/de2104x.c 	txd = &de->tx_ring[entry];
de                626 drivers/net/ethernet/dec/tulip/de2104x.c 	mapping = pci_map_single(de->pdev, skb->data, len, PCI_DMA_TODEVICE);
de                635 drivers/net/ethernet/dec/tulip/de2104x.c 	de->tx_skb[entry].skb = skb;
de                636 drivers/net/ethernet/dec/tulip/de2104x.c 	de->tx_skb[entry].mapping = mapping;
de                642 drivers/net/ethernet/dec/tulip/de2104x.c 	de->tx_head = NEXT_TX(entry);
de                643 drivers/net/ethernet/dec/tulip/de2104x.c 	netif_dbg(de, tx_queued, dev, "tx queued, slot %d, skblen %d\n",
de                649 drivers/net/ethernet/dec/tulip/de2104x.c 	spin_unlock_irq(&de->lock);
de                664 drivers/net/ethernet/dec/tulip/de2104x.c 	struct de_private *de = netdev_priv(dev);
de                683 drivers/net/ethernet/dec/tulip/de2104x.c 	setup_frm = &de->setup_frame[13*6];
de                694 drivers/net/ethernet/dec/tulip/de2104x.c 	struct de_private *de = netdev_priv(dev);
de                708 drivers/net/ethernet/dec/tulip/de2104x.c 	setup_frm = &de->setup_frame[15*6];
de                720 drivers/net/ethernet/dec/tulip/de2104x.c 	struct de_private *de = netdev_priv(dev);
de                743 drivers/net/ethernet/dec/tulip/de2104x.c 		build_setup_frame_hash (de->setup_frame, dev);
de                745 drivers/net/ethernet/dec/tulip/de2104x.c 		build_setup_frame_perfect (de->setup_frame, dev);
de                751 drivers/net/ethernet/dec/tulip/de2104x.c 	entry = de->tx_head;
de                755 drivers/net/ethernet/dec/tulip/de2104x.c 		de->tx_skb[entry].skb = DE_DUMMY_SKB;
de                757 drivers/net/ethernet/dec/tulip/de2104x.c 		dummy_txd = &de->tx_ring[entry];
de                767 drivers/net/ethernet/dec/tulip/de2104x.c 	de->tx_skb[entry].skb = DE_SETUP_SKB;
de                768 drivers/net/ethernet/dec/tulip/de2104x.c 	de->tx_skb[entry].mapping = mapping =
de                769 drivers/net/ethernet/dec/tulip/de2104x.c 	    pci_map_single (de->pdev, de->setup_frame,
de                770 drivers/net/ethernet/dec/tulip/de2104x.c 			    sizeof (de->setup_frame), PCI_DMA_TODEVICE);
de                773 drivers/net/ethernet/dec/tulip/de2104x.c 	txd = &de->tx_ring[entry];
de                775 drivers/net/ethernet/dec/tulip/de2104x.c 		txd->opts2 = cpu_to_le32(SetupFrame | RingEnd | sizeof (de->setup_frame));
de                777 drivers/net/ethernet/dec/tulip/de2104x.c 		txd->opts2 = cpu_to_le32(SetupFrame | sizeof (de->setup_frame));
de                789 drivers/net/ethernet/dec/tulip/de2104x.c 	de->tx_head = NEXT_TX(entry);
de                791 drivers/net/ethernet/dec/tulip/de2104x.c 	if (TX_BUFFS_AVAIL(de) == 0)
de                805 drivers/net/ethernet/dec/tulip/de2104x.c 	struct de_private *de = netdev_priv(dev);
de                807 drivers/net/ethernet/dec/tulip/de2104x.c 	spin_lock_irqsave (&de->lock, flags);
de                809 drivers/net/ethernet/dec/tulip/de2104x.c 	spin_unlock_irqrestore (&de->lock, flags);
de                812 drivers/net/ethernet/dec/tulip/de2104x.c static inline void de_rx_missed(struct de_private *de, u32 rx_missed)
de                815 drivers/net/ethernet/dec/tulip/de2104x.c 		de->dev->stats.rx_missed_errors += RxMissedMask;
de                817 drivers/net/ethernet/dec/tulip/de2104x.c 		de->dev->stats.rx_missed_errors += (rx_missed & RxMissedMask);
de                820 drivers/net/ethernet/dec/tulip/de2104x.c static void __de_get_stats(struct de_private *de)
de                824 drivers/net/ethernet/dec/tulip/de2104x.c 	de_rx_missed(de, tmp);
de                829 drivers/net/ethernet/dec/tulip/de2104x.c 	struct de_private *de = netdev_priv(dev);
de                832 drivers/net/ethernet/dec/tulip/de2104x.c 	spin_lock_irq(&de->lock);
de                834 drivers/net/ethernet/dec/tulip/de2104x.c  		__de_get_stats(de);
de                835 drivers/net/ethernet/dec/tulip/de2104x.c 	spin_unlock_irq(&de->lock);
de                840 drivers/net/ethernet/dec/tulip/de2104x.c static inline int de_is_running (struct de_private *de)
de                845 drivers/net/ethernet/dec/tulip/de2104x.c static void de_stop_rxtx (struct de_private *de)
de                861 drivers/net/ethernet/dec/tulip/de2104x.c 		if (!de_is_running(de))
de                866 drivers/net/ethernet/dec/tulip/de2104x.c 	netdev_warn(de->dev, "timeout expired, stopping DMA\n");
de                869 drivers/net/ethernet/dec/tulip/de2104x.c static inline void de_start_rxtx (struct de_private *de)
de                880 drivers/net/ethernet/dec/tulip/de2104x.c static void de_stop_hw (struct de_private *de)
de                886 drivers/net/ethernet/dec/tulip/de2104x.c 	de_stop_rxtx(de);
de                892 drivers/net/ethernet/dec/tulip/de2104x.c 	de->rx_tail = 0;
de                893 drivers/net/ethernet/dec/tulip/de2104x.c 	de->tx_head = de->tx_tail = 0;
de                896 drivers/net/ethernet/dec/tulip/de2104x.c static void de_link_up(struct de_private *de)
de                898 drivers/net/ethernet/dec/tulip/de2104x.c 	if (!netif_carrier_ok(de->dev)) {
de                899 drivers/net/ethernet/dec/tulip/de2104x.c 		netif_carrier_on(de->dev);
de                900 drivers/net/ethernet/dec/tulip/de2104x.c 		netif_info(de, link, de->dev, "link up, media %s\n",
de                901 drivers/net/ethernet/dec/tulip/de2104x.c 			   media_name[de->media_type]);
de                905 drivers/net/ethernet/dec/tulip/de2104x.c static void de_link_down(struct de_private *de)
de                907 drivers/net/ethernet/dec/tulip/de2104x.c 	if (netif_carrier_ok(de->dev)) {
de                908 drivers/net/ethernet/dec/tulip/de2104x.c 		netif_carrier_off(de->dev);
de                909 drivers/net/ethernet/dec/tulip/de2104x.c 		netif_info(de, link, de->dev, "link down\n");
de                913 drivers/net/ethernet/dec/tulip/de2104x.c static void de_set_media (struct de_private *de)
de                915 drivers/net/ethernet/dec/tulip/de2104x.c 	unsigned media = de->media_type;
de                918 drivers/net/ethernet/dec/tulip/de2104x.c 	if (de_is_running(de))
de                919 drivers/net/ethernet/dec/tulip/de2104x.c 		netdev_warn(de->dev, "chip is running while changing media!\n");
de                921 drivers/net/ethernet/dec/tulip/de2104x.c 	if (de->de21040)
de                924 drivers/net/ethernet/dec/tulip/de2104x.c 	dw32(CSR14, de->media[media].csr14);
de                925 drivers/net/ethernet/dec/tulip/de2104x.c 	dw32(CSR15, de->media[media].csr15);
de                926 drivers/net/ethernet/dec/tulip/de2104x.c 	dw32(CSR13, de->media[media].csr13);
de                938 drivers/net/ethernet/dec/tulip/de2104x.c 	netif_info(de, link, de->dev, "set link %s\n", media_name[media]);
de                939 drivers/net/ethernet/dec/tulip/de2104x.c 	netif_info(de, hw, de->dev, "mode 0x%x, sia 0x%x,0x%x,0x%x,0x%x\n",
de                942 drivers/net/ethernet/dec/tulip/de2104x.c 	netif_info(de, hw, de->dev, "set mode 0x%x, set sia 0x%x,0x%x,0x%x\n",
de                943 drivers/net/ethernet/dec/tulip/de2104x.c 		   macmode, de->media[media].csr13,
de                944 drivers/net/ethernet/dec/tulip/de2104x.c 		   de->media[media].csr14, de->media[media].csr15);
de                949 drivers/net/ethernet/dec/tulip/de2104x.c static void de_next_media (struct de_private *de, const u32 *media,
de                955 drivers/net/ethernet/dec/tulip/de2104x.c 		if (de_ok_to_advertise(de, media[i])) {
de                956 drivers/net/ethernet/dec/tulip/de2104x.c 			de->media_type = media[i];
de                964 drivers/net/ethernet/dec/tulip/de2104x.c 	struct de_private *de = from_timer(de, t, media_timer);
de                965 drivers/net/ethernet/dec/tulip/de2104x.c 	struct net_device *dev = de->dev;
de                973 drivers/net/ethernet/dec/tulip/de2104x.c 		if (de->media_type != DE_MEDIA_AUI && (status & LinkFailStatus))
de                976 drivers/net/ethernet/dec/tulip/de2104x.c 		de->media_timer.expires = jiffies + DE_TIMER_LINK;
de                977 drivers/net/ethernet/dec/tulip/de2104x.c 		add_timer(&de->media_timer);
de                979 drivers/net/ethernet/dec/tulip/de2104x.c 			de_link_up(de);
de                981 drivers/net/ethernet/dec/tulip/de2104x.c 			netif_info(de, timer, dev, "%s link ok, status %x\n",
de                982 drivers/net/ethernet/dec/tulip/de2104x.c 				   media_name[de->media_type], status);
de                986 drivers/net/ethernet/dec/tulip/de2104x.c 	de_link_down(de);
de                988 drivers/net/ethernet/dec/tulip/de2104x.c 	if (de->media_lock)
de                991 drivers/net/ethernet/dec/tulip/de2104x.c 	if (de->media_type == DE_MEDIA_AUI) {
de                993 drivers/net/ethernet/dec/tulip/de2104x.c 		de_next_media(de, &next_state, 1);
de                996 drivers/net/ethernet/dec/tulip/de2104x.c 		de_next_media(de, &next_state, 1);
de                999 drivers/net/ethernet/dec/tulip/de2104x.c 	spin_lock_irqsave(&de->lock, flags);
de               1000 drivers/net/ethernet/dec/tulip/de2104x.c 	de_stop_rxtx(de);
de               1001 drivers/net/ethernet/dec/tulip/de2104x.c 	spin_unlock_irqrestore(&de->lock, flags);
de               1002 drivers/net/ethernet/dec/tulip/de2104x.c 	de_set_media(de);
de               1003 drivers/net/ethernet/dec/tulip/de2104x.c 	de_start_rxtx(de);
de               1006 drivers/net/ethernet/dec/tulip/de2104x.c 	de->media_timer.expires = jiffies + DE_TIMER_NO_LINK;
de               1007 drivers/net/ethernet/dec/tulip/de2104x.c 	add_timer(&de->media_timer);
de               1009 drivers/net/ethernet/dec/tulip/de2104x.c 	netif_info(de, timer, dev, "no link, trying media %s, status %x\n",
de               1010 drivers/net/ethernet/dec/tulip/de2104x.c 		   media_name[de->media_type], status);
de               1013 drivers/net/ethernet/dec/tulip/de2104x.c static unsigned int de_ok_to_advertise (struct de_private *de, u32 new_media)
de               1017 drivers/net/ethernet/dec/tulip/de2104x.c 		if (!(de->media_advertise & ADVERTISED_Autoneg))
de               1019 drivers/net/ethernet/dec/tulip/de2104x.c 		if (!(de->media_advertise & (ADVERTISED_10baseT_Half | ADVERTISED_10baseT_Full)))
de               1023 drivers/net/ethernet/dec/tulip/de2104x.c 		if (!(de->media_advertise & ADVERTISED_BNC))
de               1027 drivers/net/ethernet/dec/tulip/de2104x.c 		if (!(de->media_advertise & ADVERTISED_AUI))
de               1031 drivers/net/ethernet/dec/tulip/de2104x.c 		if (!(de->media_advertise & ADVERTISED_10baseT_Half))
de               1035 drivers/net/ethernet/dec/tulip/de2104x.c 		if (!(de->media_advertise & ADVERTISED_10baseT_Full))
de               1045 drivers/net/ethernet/dec/tulip/de2104x.c 	struct de_private *de = from_timer(de, t, media_timer);
de               1046 drivers/net/ethernet/dec/tulip/de2104x.c 	struct net_device *dev = de->dev;
de               1057 drivers/net/ethernet/dec/tulip/de2104x.c 		if ((de->media_type == DE_MEDIA_TP_AUTO ||
de               1058 drivers/net/ethernet/dec/tulip/de2104x.c 		     de->media_type == DE_MEDIA_TP ||
de               1059 drivers/net/ethernet/dec/tulip/de2104x.c 		     de->media_type == DE_MEDIA_TP_FD) &&
de               1063 drivers/net/ethernet/dec/tulip/de2104x.c 		de->media_timer.expires = jiffies + DE_TIMER_LINK;
de               1064 drivers/net/ethernet/dec/tulip/de2104x.c 		add_timer(&de->media_timer);
de               1066 drivers/net/ethernet/dec/tulip/de2104x.c 			de_link_up(de);
de               1068 drivers/net/ethernet/dec/tulip/de2104x.c 			netif_info(de, timer, dev,
de               1070 drivers/net/ethernet/dec/tulip/de2104x.c 				   media_name[de->media_type],
de               1075 drivers/net/ethernet/dec/tulip/de2104x.c 	de_link_down(de);
de               1078 drivers/net/ethernet/dec/tulip/de2104x.c 	if (de->media_lock)
de               1086 drivers/net/ethernet/dec/tulip/de2104x.c 		if (de->media_type == DE_MEDIA_AUI ||
de               1087 drivers/net/ethernet/dec/tulip/de2104x.c 		    de->media_type == DE_MEDIA_BNC) {
de               1088 drivers/net/ethernet/dec/tulip/de2104x.c 			if (de_ok_to_advertise(de, DE_MEDIA_TP_AUTO))
de               1089 drivers/net/ethernet/dec/tulip/de2104x.c 				de->media_type = DE_MEDIA_TP_AUTO;
de               1095 drivers/net/ethernet/dec/tulip/de2104x.c 		else if (((de->media_supported & DE_AUI_BNC) == SUPPORTED_BNC) &&
de               1096 drivers/net/ethernet/dec/tulip/de2104x.c 			 de_ok_to_advertise(de, DE_MEDIA_BNC))
de               1097 drivers/net/ethernet/dec/tulip/de2104x.c 			de->media_type = DE_MEDIA_BNC;
de               1100 drivers/net/ethernet/dec/tulip/de2104x.c 		else if (((de->media_supported & DE_AUI_BNC) == SUPPORTED_AUI) &&
de               1101 drivers/net/ethernet/dec/tulip/de2104x.c 			 de_ok_to_advertise(de, DE_MEDIA_AUI))
de               1102 drivers/net/ethernet/dec/tulip/de2104x.c 			de->media_type = DE_MEDIA_AUI;
de               1117 drivers/net/ethernet/dec/tulip/de2104x.c 	if (de->media_type == DE_MEDIA_AUI) {
de               1121 drivers/net/ethernet/dec/tulip/de2104x.c 		de_next_media(de, next_states, ARRAY_SIZE(next_states));
de               1122 drivers/net/ethernet/dec/tulip/de2104x.c 	} else if (de->media_type == DE_MEDIA_BNC) {
de               1126 drivers/net/ethernet/dec/tulip/de2104x.c 		de_next_media(de, next_states, ARRAY_SIZE(next_states));
de               1131 drivers/net/ethernet/dec/tulip/de2104x.c 		de_next_media(de, next_states, ARRAY_SIZE(next_states));
de               1135 drivers/net/ethernet/dec/tulip/de2104x.c 	spin_lock_irqsave(&de->lock, flags);
de               1136 drivers/net/ethernet/dec/tulip/de2104x.c 	de_stop_rxtx(de);
de               1137 drivers/net/ethernet/dec/tulip/de2104x.c 	spin_unlock_irqrestore(&de->lock, flags);
de               1138 drivers/net/ethernet/dec/tulip/de2104x.c 	de_set_media(de);
de               1139 drivers/net/ethernet/dec/tulip/de2104x.c 	de_start_rxtx(de);
de               1142 drivers/net/ethernet/dec/tulip/de2104x.c 	de->media_timer.expires = jiffies + DE_TIMER_NO_LINK;
de               1143 drivers/net/ethernet/dec/tulip/de2104x.c 	add_timer(&de->media_timer);
de               1145 drivers/net/ethernet/dec/tulip/de2104x.c 	netif_info(de, timer, dev, "no link, trying media %s, status %x\n",
de               1146 drivers/net/ethernet/dec/tulip/de2104x.c 		   media_name[de->media_type], status);
de               1149 drivers/net/ethernet/dec/tulip/de2104x.c static void de_media_interrupt (struct de_private *de, u32 status)
de               1153 drivers/net/ethernet/dec/tulip/de2104x.c 		if ((de->media_type == DE_MEDIA_AUI ||
de               1154 drivers/net/ethernet/dec/tulip/de2104x.c 		     de->media_type == DE_MEDIA_BNC) &&
de               1155 drivers/net/ethernet/dec/tulip/de2104x.c 		    (de->media_lock ||
de               1156 drivers/net/ethernet/dec/tulip/de2104x.c 		     !de_ok_to_advertise(de, DE_MEDIA_TP_AUTO)))
de               1159 drivers/net/ethernet/dec/tulip/de2104x.c 		if ((de->media_type == DE_MEDIA_AUI ||
de               1160 drivers/net/ethernet/dec/tulip/de2104x.c 		     de->media_type == DE_MEDIA_BNC)) {
de               1161 drivers/net/ethernet/dec/tulip/de2104x.c 			de->media_type = DE_MEDIA_TP_AUTO;
de               1162 drivers/net/ethernet/dec/tulip/de2104x.c 			de_stop_rxtx(de);
de               1163 drivers/net/ethernet/dec/tulip/de2104x.c 			de_set_media(de);
de               1164 drivers/net/ethernet/dec/tulip/de2104x.c 			de_start_rxtx(de);
de               1166 drivers/net/ethernet/dec/tulip/de2104x.c 		de_link_up(de);
de               1167 drivers/net/ethernet/dec/tulip/de2104x.c 		mod_timer(&de->media_timer, jiffies + DE_TIMER_LINK);
de               1173 drivers/net/ethernet/dec/tulip/de2104x.c 	if (netif_carrier_ok(de->dev) && de->media_type != DE_MEDIA_AUI &&
de               1174 drivers/net/ethernet/dec/tulip/de2104x.c 	    de->media_type != DE_MEDIA_BNC) {
de               1175 drivers/net/ethernet/dec/tulip/de2104x.c 		de_link_down(de);
de               1176 drivers/net/ethernet/dec/tulip/de2104x.c 		mod_timer(&de->media_timer, jiffies + DE_TIMER_NO_LINK);
de               1180 drivers/net/ethernet/dec/tulip/de2104x.c static int de_reset_mac (struct de_private *de)
de               1214 drivers/net/ethernet/dec/tulip/de2104x.c static void de_adapter_wake (struct de_private *de)
de               1218 drivers/net/ethernet/dec/tulip/de2104x.c 	if (de->de21040)
de               1221 drivers/net/ethernet/dec/tulip/de2104x.c 	pci_read_config_dword(de->pdev, PCIPM, &pmctl);
de               1224 drivers/net/ethernet/dec/tulip/de2104x.c 		pci_write_config_dword(de->pdev, PCIPM, pmctl);
de               1231 drivers/net/ethernet/dec/tulip/de2104x.c static void de_adapter_sleep (struct de_private *de)
de               1235 drivers/net/ethernet/dec/tulip/de2104x.c 	if (de->de21040)
de               1239 drivers/net/ethernet/dec/tulip/de2104x.c 	pci_read_config_dword(de->pdev, PCIPM, &pmctl);
de               1241 drivers/net/ethernet/dec/tulip/de2104x.c 	pci_write_config_dword(de->pdev, PCIPM, pmctl);
de               1244 drivers/net/ethernet/dec/tulip/de2104x.c static int de_init_hw (struct de_private *de)
de               1246 drivers/net/ethernet/dec/tulip/de2104x.c 	struct net_device *dev = de->dev;
de               1250 drivers/net/ethernet/dec/tulip/de2104x.c 	de_adapter_wake(de);
de               1254 drivers/net/ethernet/dec/tulip/de2104x.c 	rc = de_reset_mac(de);
de               1258 drivers/net/ethernet/dec/tulip/de2104x.c 	de_set_media(de); /* reset phy */
de               1260 drivers/net/ethernet/dec/tulip/de2104x.c 	dw32(RxRingAddr, de->ring_dma);
de               1261 drivers/net/ethernet/dec/tulip/de2104x.c 	dw32(TxRingAddr, de->ring_dma + (sizeof(struct de_desc) * DE_RX_RING_SIZE));
de               1274 drivers/net/ethernet/dec/tulip/de2104x.c static int de_refill_rx (struct de_private *de)
de               1281 drivers/net/ethernet/dec/tulip/de2104x.c 		skb = netdev_alloc_skb(de->dev, de->rx_buf_sz);
de               1285 drivers/net/ethernet/dec/tulip/de2104x.c 		de->rx_skb[i].mapping = pci_map_single(de->pdev,
de               1286 drivers/net/ethernet/dec/tulip/de2104x.c 			skb->data, de->rx_buf_sz, PCI_DMA_FROMDEVICE);
de               1287 drivers/net/ethernet/dec/tulip/de2104x.c 		de->rx_skb[i].skb = skb;
de               1289 drivers/net/ethernet/dec/tulip/de2104x.c 		de->rx_ring[i].opts1 = cpu_to_le32(DescOwn);
de               1291 drivers/net/ethernet/dec/tulip/de2104x.c 			de->rx_ring[i].opts2 =
de               1292 drivers/net/ethernet/dec/tulip/de2104x.c 				cpu_to_le32(RingEnd | de->rx_buf_sz);
de               1294 drivers/net/ethernet/dec/tulip/de2104x.c 			de->rx_ring[i].opts2 = cpu_to_le32(de->rx_buf_sz);
de               1295 drivers/net/ethernet/dec/tulip/de2104x.c 		de->rx_ring[i].addr1 = cpu_to_le32(de->rx_skb[i].mapping);
de               1296 drivers/net/ethernet/dec/tulip/de2104x.c 		de->rx_ring[i].addr2 = 0;
de               1302 drivers/net/ethernet/dec/tulip/de2104x.c 	de_clean_rings(de);
de               1306 drivers/net/ethernet/dec/tulip/de2104x.c static int de_init_rings (struct de_private *de)
de               1308 drivers/net/ethernet/dec/tulip/de2104x.c 	memset(de->tx_ring, 0, sizeof(struct de_desc) * DE_TX_RING_SIZE);
de               1309 drivers/net/ethernet/dec/tulip/de2104x.c 	de->tx_ring[DE_TX_RING_SIZE - 1].opts2 = cpu_to_le32(RingEnd);
de               1311 drivers/net/ethernet/dec/tulip/de2104x.c 	de->rx_tail = 0;
de               1312 drivers/net/ethernet/dec/tulip/de2104x.c 	de->tx_head = de->tx_tail = 0;
de               1314 drivers/net/ethernet/dec/tulip/de2104x.c 	return de_refill_rx (de);
de               1317 drivers/net/ethernet/dec/tulip/de2104x.c static int de_alloc_rings (struct de_private *de)
de               1319 drivers/net/ethernet/dec/tulip/de2104x.c 	de->rx_ring = pci_alloc_consistent(de->pdev, DE_RING_BYTES, &de->ring_dma);
de               1320 drivers/net/ethernet/dec/tulip/de2104x.c 	if (!de->rx_ring)
de               1322 drivers/net/ethernet/dec/tulip/de2104x.c 	de->tx_ring = &de->rx_ring[DE_RX_RING_SIZE];
de               1323 drivers/net/ethernet/dec/tulip/de2104x.c 	return de_init_rings(de);
de               1326 drivers/net/ethernet/dec/tulip/de2104x.c static void de_clean_rings (struct de_private *de)
de               1330 drivers/net/ethernet/dec/tulip/de2104x.c 	memset(de->rx_ring, 0, sizeof(struct de_desc) * DE_RX_RING_SIZE);
de               1331 drivers/net/ethernet/dec/tulip/de2104x.c 	de->rx_ring[DE_RX_RING_SIZE - 1].opts2 = cpu_to_le32(RingEnd);
de               1333 drivers/net/ethernet/dec/tulip/de2104x.c 	memset(de->tx_ring, 0, sizeof(struct de_desc) * DE_TX_RING_SIZE);
de               1334 drivers/net/ethernet/dec/tulip/de2104x.c 	de->tx_ring[DE_TX_RING_SIZE - 1].opts2 = cpu_to_le32(RingEnd);
de               1338 drivers/net/ethernet/dec/tulip/de2104x.c 		if (de->rx_skb[i].skb) {
de               1339 drivers/net/ethernet/dec/tulip/de2104x.c 			pci_unmap_single(de->pdev, de->rx_skb[i].mapping,
de               1340 drivers/net/ethernet/dec/tulip/de2104x.c 					 de->rx_buf_sz, PCI_DMA_FROMDEVICE);
de               1341 drivers/net/ethernet/dec/tulip/de2104x.c 			dev_kfree_skb(de->rx_skb[i].skb);
de               1346 drivers/net/ethernet/dec/tulip/de2104x.c 		struct sk_buff *skb = de->tx_skb[i].skb;
de               1349 drivers/net/ethernet/dec/tulip/de2104x.c 				de->dev->stats.tx_dropped++;
de               1350 drivers/net/ethernet/dec/tulip/de2104x.c 				pci_unmap_single(de->pdev,
de               1351 drivers/net/ethernet/dec/tulip/de2104x.c 					de->tx_skb[i].mapping,
de               1355 drivers/net/ethernet/dec/tulip/de2104x.c 				pci_unmap_single(de->pdev,
de               1356 drivers/net/ethernet/dec/tulip/de2104x.c 					de->tx_skb[i].mapping,
de               1357 drivers/net/ethernet/dec/tulip/de2104x.c 					sizeof(de->setup_frame),
de               1363 drivers/net/ethernet/dec/tulip/de2104x.c 	memset(&de->rx_skb, 0, sizeof(struct ring_info) * DE_RX_RING_SIZE);
de               1364 drivers/net/ethernet/dec/tulip/de2104x.c 	memset(&de->tx_skb, 0, sizeof(struct ring_info) * DE_TX_RING_SIZE);
de               1367 drivers/net/ethernet/dec/tulip/de2104x.c static void de_free_rings (struct de_private *de)
de               1369 drivers/net/ethernet/dec/tulip/de2104x.c 	de_clean_rings(de);
de               1370 drivers/net/ethernet/dec/tulip/de2104x.c 	pci_free_consistent(de->pdev, DE_RING_BYTES, de->rx_ring, de->ring_dma);
de               1371 drivers/net/ethernet/dec/tulip/de2104x.c 	de->rx_ring = NULL;
de               1372 drivers/net/ethernet/dec/tulip/de2104x.c 	de->tx_ring = NULL;
de               1377 drivers/net/ethernet/dec/tulip/de2104x.c 	struct de_private *de = netdev_priv(dev);
de               1378 drivers/net/ethernet/dec/tulip/de2104x.c 	const int irq = de->pdev->irq;
de               1381 drivers/net/ethernet/dec/tulip/de2104x.c 	netif_dbg(de, ifup, dev, "enabling interface\n");
de               1383 drivers/net/ethernet/dec/tulip/de2104x.c 	de->rx_buf_sz = (dev->mtu <= 1500 ? PKT_BUF_SZ : dev->mtu + 32);
de               1385 drivers/net/ethernet/dec/tulip/de2104x.c 	rc = de_alloc_rings(de);
de               1399 drivers/net/ethernet/dec/tulip/de2104x.c 	rc = de_init_hw(de);
de               1406 drivers/net/ethernet/dec/tulip/de2104x.c 	mod_timer(&de->media_timer, jiffies + DE_TIMER_NO_LINK);
de               1413 drivers/net/ethernet/dec/tulip/de2104x.c 	de_free_rings(de);
de               1419 drivers/net/ethernet/dec/tulip/de2104x.c 	struct de_private *de = netdev_priv(dev);
de               1422 drivers/net/ethernet/dec/tulip/de2104x.c 	netif_dbg(de, ifdown, dev, "disabling interface\n");
de               1424 drivers/net/ethernet/dec/tulip/de2104x.c 	del_timer_sync(&de->media_timer);
de               1426 drivers/net/ethernet/dec/tulip/de2104x.c 	spin_lock_irqsave(&de->lock, flags);
de               1427 drivers/net/ethernet/dec/tulip/de2104x.c 	de_stop_hw(de);
de               1430 drivers/net/ethernet/dec/tulip/de2104x.c 	spin_unlock_irqrestore(&de->lock, flags);
de               1432 drivers/net/ethernet/dec/tulip/de2104x.c 	free_irq(de->pdev->irq, dev);
de               1434 drivers/net/ethernet/dec/tulip/de2104x.c 	de_free_rings(de);
de               1435 drivers/net/ethernet/dec/tulip/de2104x.c 	de_adapter_sleep(de);
de               1441 drivers/net/ethernet/dec/tulip/de2104x.c 	struct de_private *de = netdev_priv(dev);
de               1442 drivers/net/ethernet/dec/tulip/de2104x.c 	const int irq = de->pdev->irq;
de               1446 drivers/net/ethernet/dec/tulip/de2104x.c 		   de->rx_tail, de->tx_head, de->tx_tail);
de               1448 drivers/net/ethernet/dec/tulip/de2104x.c 	del_timer_sync(&de->media_timer);
de               1451 drivers/net/ethernet/dec/tulip/de2104x.c 	spin_lock_irq(&de->lock);
de               1453 drivers/net/ethernet/dec/tulip/de2104x.c 	de_stop_hw(de);
de               1457 drivers/net/ethernet/dec/tulip/de2104x.c 	spin_unlock_irq(&de->lock);
de               1461 drivers/net/ethernet/dec/tulip/de2104x.c 	__de_get_stats(de);
de               1464 drivers/net/ethernet/dec/tulip/de2104x.c 	de_clean_rings(de);
de               1466 drivers/net/ethernet/dec/tulip/de2104x.c 	de_init_rings(de);
de               1468 drivers/net/ethernet/dec/tulip/de2104x.c 	de_init_hw(de);
de               1473 drivers/net/ethernet/dec/tulip/de2104x.c static void __de_get_regs(struct de_private *de, u8 *buf)
de               1483 drivers/net/ethernet/dec/tulip/de2104x.c 	de_rx_missed(de, rbuf[8]);
de               1486 drivers/net/ethernet/dec/tulip/de2104x.c static void __de_get_link_ksettings(struct de_private *de,
de               1490 drivers/net/ethernet/dec/tulip/de2104x.c 						de->media_supported);
de               1493 drivers/net/ethernet/dec/tulip/de2104x.c 						de->media_advertise);
de               1495 drivers/net/ethernet/dec/tulip/de2104x.c 	switch (de->media_type) {
de               1514 drivers/net/ethernet/dec/tulip/de2104x.c 	if (de->media_lock)
de               1522 drivers/net/ethernet/dec/tulip/de2104x.c static int __de_set_link_ksettings(struct de_private *de,
de               1541 drivers/net/ethernet/dec/tulip/de2104x.c 	if (de->de21040 && port == PORT_BNC)
de               1545 drivers/net/ethernet/dec/tulip/de2104x.c 	if (advertising & ~de->media_supported)
de               1579 drivers/net/ethernet/dec/tulip/de2104x.c 	if ((new_media == de->media_type) &&
de               1580 drivers/net/ethernet/dec/tulip/de2104x.c 	    (media_lock == de->media_lock) &&
de               1581 drivers/net/ethernet/dec/tulip/de2104x.c 	    (advertising == de->media_advertise))
de               1584 drivers/net/ethernet/dec/tulip/de2104x.c 	de_link_down(de);
de               1585 drivers/net/ethernet/dec/tulip/de2104x.c 	mod_timer(&de->media_timer, jiffies + DE_TIMER_NO_LINK);
de               1586 drivers/net/ethernet/dec/tulip/de2104x.c 	de_stop_rxtx(de);
de               1588 drivers/net/ethernet/dec/tulip/de2104x.c 	de->media_type = new_media;
de               1589 drivers/net/ethernet/dec/tulip/de2104x.c 	de->media_lock = media_lock;
de               1590 drivers/net/ethernet/dec/tulip/de2104x.c 	de->media_advertise = advertising;
de               1591 drivers/net/ethernet/dec/tulip/de2104x.c 	de_set_media(de);
de               1592 drivers/net/ethernet/dec/tulip/de2104x.c 	if (netif_running(de->dev))
de               1593 drivers/net/ethernet/dec/tulip/de2104x.c 		de_start_rxtx(de);
de               1600 drivers/net/ethernet/dec/tulip/de2104x.c 	struct de_private *de = netdev_priv(dev);
de               1604 drivers/net/ethernet/dec/tulip/de2104x.c 	strlcpy(info->bus_info, pci_name(de->pdev), sizeof(info->bus_info));
de               1615 drivers/net/ethernet/dec/tulip/de2104x.c 	struct de_private *de = netdev_priv(dev);
de               1617 drivers/net/ethernet/dec/tulip/de2104x.c 	spin_lock_irq(&de->lock);
de               1618 drivers/net/ethernet/dec/tulip/de2104x.c 	__de_get_link_ksettings(de, cmd);
de               1619 drivers/net/ethernet/dec/tulip/de2104x.c 	spin_unlock_irq(&de->lock);
de               1627 drivers/net/ethernet/dec/tulip/de2104x.c 	struct de_private *de = netdev_priv(dev);
de               1630 drivers/net/ethernet/dec/tulip/de2104x.c 	spin_lock_irq(&de->lock);
de               1631 drivers/net/ethernet/dec/tulip/de2104x.c 	rc = __de_set_link_ksettings(de, cmd);
de               1632 drivers/net/ethernet/dec/tulip/de2104x.c 	spin_unlock_irq(&de->lock);
de               1639 drivers/net/ethernet/dec/tulip/de2104x.c 	struct de_private *de = netdev_priv(dev);
de               1641 drivers/net/ethernet/dec/tulip/de2104x.c 	return de->msg_enable;
de               1646 drivers/net/ethernet/dec/tulip/de2104x.c 	struct de_private *de = netdev_priv(dev);
de               1648 drivers/net/ethernet/dec/tulip/de2104x.c 	de->msg_enable = msglvl;
de               1654 drivers/net/ethernet/dec/tulip/de2104x.c 	struct de_private *de = netdev_priv(dev);
de               1656 drivers/net/ethernet/dec/tulip/de2104x.c 	if (!de->ee_data)
de               1661 drivers/net/ethernet/dec/tulip/de2104x.c 	memcpy(data, de->ee_data, eeprom->len);
de               1668 drivers/net/ethernet/dec/tulip/de2104x.c 	struct de_private *de = netdev_priv(dev);
de               1671 drivers/net/ethernet/dec/tulip/de2104x.c 	if (de->media_type != DE_MEDIA_TP_AUTO)
de               1673 drivers/net/ethernet/dec/tulip/de2104x.c 	if (netif_carrier_ok(de->dev))
de               1674 drivers/net/ethernet/dec/tulip/de2104x.c 		de_link_down(de);
de               1678 drivers/net/ethernet/dec/tulip/de2104x.c 	netif_info(de, link, dev, "link nway restart, status %x,%x\n",
de               1686 drivers/net/ethernet/dec/tulip/de2104x.c 	struct de_private *de = netdev_priv(dev);
de               1688 drivers/net/ethernet/dec/tulip/de2104x.c 	regs->version = (DE_REGS_VER << 2) | de->de21040;
de               1690 drivers/net/ethernet/dec/tulip/de2104x.c 	spin_lock_irq(&de->lock);
de               1691 drivers/net/ethernet/dec/tulip/de2104x.c 	__de_get_regs(de, data);
de               1692 drivers/net/ethernet/dec/tulip/de2104x.c 	spin_unlock_irq(&de->lock);
de               1708 drivers/net/ethernet/dec/tulip/de2104x.c static void de21040_get_mac_address(struct de_private *de)
de               1721 drivers/net/ethernet/dec/tulip/de2104x.c 		de->dev->dev_addr[i] = value;
de               1729 drivers/net/ethernet/dec/tulip/de2104x.c static void de21040_get_media_info(struct de_private *de)
de               1733 drivers/net/ethernet/dec/tulip/de2104x.c 	de->media_type = DE_MEDIA_TP;
de               1734 drivers/net/ethernet/dec/tulip/de2104x.c 	de->media_supported |= SUPPORTED_TP | SUPPORTED_10baseT_Full |
de               1736 drivers/net/ethernet/dec/tulip/de2104x.c 	de->media_advertise = de->media_supported;
de               1743 drivers/net/ethernet/dec/tulip/de2104x.c 			de->media[i].type = i;
de               1744 drivers/net/ethernet/dec/tulip/de2104x.c 			de->media[i].csr13 = t21040_csr13[i];
de               1745 drivers/net/ethernet/dec/tulip/de2104x.c 			de->media[i].csr14 = t21040_csr14[i];
de               1746 drivers/net/ethernet/dec/tulip/de2104x.c 			de->media[i].csr15 = t21040_csr15[i];
de               1749 drivers/net/ethernet/dec/tulip/de2104x.c 			de->media[i].type = DE_MEDIA_INVALID;
de               1792 drivers/net/ethernet/dec/tulip/de2104x.c static void de21041_get_srom_info(struct de_private *de)
de               1796 drivers/net/ethernet/dec/tulip/de2104x.c 	unsigned ee_addr_size = tulip_read_eeprom(de->regs, 0xff, 8) & 0x40000 ? 8 : 6;
de               1803 drivers/net/ethernet/dec/tulip/de2104x.c 			cpu_to_le16(tulip_read_eeprom(de->regs, i, ee_addr_size));
de               1819 drivers/net/ethernet/dec/tulip/de2104x.c 		de->dev->dev_addr[i] = ee_data[i + sa_offset];
de               1838 drivers/net/ethernet/dec/tulip/de2104x.c 	case 0x0001:  de->media_type = DE_MEDIA_BNC; break;
de               1839 drivers/net/ethernet/dec/tulip/de2104x.c 	case 0x0002:  de->media_type = DE_MEDIA_AUI; break;
de               1840 drivers/net/ethernet/dec/tulip/de2104x.c 	case 0x0204:  de->media_type = DE_MEDIA_TP_FD; break;
de               1841 drivers/net/ethernet/dec/tulip/de2104x.c 	default: de->media_type = DE_MEDIA_TP_AUTO; break;
de               1844 drivers/net/ethernet/dec/tulip/de2104x.c 	if (netif_msg_probe(de))
de               1846 drivers/net/ethernet/dec/tulip/de2104x.c 		       de->board_idx, ofs, media_name[de->media_type]);
de               1850 drivers/net/ethernet/dec/tulip/de2104x.c 		de->media[i].type = DE_MEDIA_INVALID;
de               1851 drivers/net/ethernet/dec/tulip/de2104x.c 		de->media[i].csr13 = 0xffff;
de               1852 drivers/net/ethernet/dec/tulip/de2104x.c 		de->media[i].csr14 = 0xffff;
de               1853 drivers/net/ethernet/dec/tulip/de2104x.c 		de->media[i].csr15 = 0xffff;
de               1867 drivers/net/ethernet/dec/tulip/de2104x.c 			de->media_supported |= SUPPORTED_TP | SUPPORTED_10baseT_Half
de               1870 drivers/net/ethernet/dec/tulip/de2104x.c 			de->media[DE_MEDIA_TP_AUTO].type = DE_MEDIA_TP_AUTO;
de               1873 drivers/net/ethernet/dec/tulip/de2104x.c 			de->media_supported |= SUPPORTED_BNC;
de               1877 drivers/net/ethernet/dec/tulip/de2104x.c 			de->media_supported |= SUPPORTED_AUI;
de               1881 drivers/net/ethernet/dec/tulip/de2104x.c 			de->media_supported |= SUPPORTED_TP | SUPPORTED_10baseT_Full
de               1884 drivers/net/ethernet/dec/tulip/de2104x.c 			de->media[DE_MEDIA_TP_AUTO].type = DE_MEDIA_TP_AUTO;
de               1890 drivers/net/ethernet/dec/tulip/de2104x.c 		de->media[idx].type = idx;
de               1892 drivers/net/ethernet/dec/tulip/de2104x.c 		if (netif_msg_probe(de))
de               1894 drivers/net/ethernet/dec/tulip/de2104x.c 				de->board_idx, i,
de               1895 drivers/net/ethernet/dec/tulip/de2104x.c 				media_name[de->media[idx].type]);
de               1900 drivers/net/ethernet/dec/tulip/de2104x.c 			de->media[idx].csr13 = get_unaligned(&ib->csr13);
de               1901 drivers/net/ethernet/dec/tulip/de2104x.c 			de->media[idx].csr14 = get_unaligned(&ib->csr14);
de               1902 drivers/net/ethernet/dec/tulip/de2104x.c 			de->media[idx].csr15 = get_unaligned(&ib->csr15);
de               1906 drivers/net/ethernet/dec/tulip/de2104x.c 			if (netif_msg_probe(de))
de               1908 drivers/net/ethernet/dec/tulip/de2104x.c 					de->media[idx].csr13,
de               1909 drivers/net/ethernet/dec/tulip/de2104x.c 					de->media[idx].csr14,
de               1910 drivers/net/ethernet/dec/tulip/de2104x.c 					de->media[idx].csr15);
de               1913 drivers/net/ethernet/dec/tulip/de2104x.c 			if (netif_msg_probe(de))
de               1921 drivers/net/ethernet/dec/tulip/de2104x.c 	de->media_advertise = de->media_supported;
de               1926 drivers/net/ethernet/dec/tulip/de2104x.c 		if (de->media[i].csr13 == 0xffff)
de               1927 drivers/net/ethernet/dec/tulip/de2104x.c 			de->media[i].csr13 = t21041_csr13[i];
de               1928 drivers/net/ethernet/dec/tulip/de2104x.c 		if (de->media[i].csr14 == 0xffff) {
de               1931 drivers/net/ethernet/dec/tulip/de2104x.c 			if (de->pdev->revision < 0x20)
de               1932 drivers/net/ethernet/dec/tulip/de2104x.c 				de->media[i].csr14 = t21041_csr14_brk[i];
de               1934 drivers/net/ethernet/dec/tulip/de2104x.c 				de->media[i].csr14 = t21041_csr14[i];
de               1936 drivers/net/ethernet/dec/tulip/de2104x.c 		if (de->media[i].csr15 == 0xffff)
de               1937 drivers/net/ethernet/dec/tulip/de2104x.c 			de->media[i].csr15 = t21041_csr15[i];
de               1940 drivers/net/ethernet/dec/tulip/de2104x.c 	de->ee_data = kmemdup(&ee_data[0], DE_EEPROM_SIZE, GFP_KERNEL);
de               1947 drivers/net/ethernet/dec/tulip/de2104x.c 		de->media[i].type = i;
de               1948 drivers/net/ethernet/dec/tulip/de2104x.c 	de->media_supported =
de               1972 drivers/net/ethernet/dec/tulip/de2104x.c 	struct de_private *de;
de               1995 drivers/net/ethernet/dec/tulip/de2104x.c 	de = netdev_priv(dev);
de               1996 drivers/net/ethernet/dec/tulip/de2104x.c 	de->de21040 = ent->driver_data == 0 ? 1 : 0;
de               1997 drivers/net/ethernet/dec/tulip/de2104x.c 	de->pdev = pdev;
de               1998 drivers/net/ethernet/dec/tulip/de2104x.c 	de->dev = dev;
de               1999 drivers/net/ethernet/dec/tulip/de2104x.c 	de->msg_enable = (debug < 0 ? DE_DEF_MSG_ENABLE : debug);
de               2000 drivers/net/ethernet/dec/tulip/de2104x.c 	de->board_idx = board_idx;
de               2001 drivers/net/ethernet/dec/tulip/de2104x.c 	spin_lock_init (&de->lock);
de               2002 drivers/net/ethernet/dec/tulip/de2104x.c 	timer_setup(&de->media_timer,
de               2003 drivers/net/ethernet/dec/tulip/de2104x.c 		    de->de21040 ? de21040_media_timer : de21041_media_timer,
de               2050 drivers/net/ethernet/dec/tulip/de2104x.c 	de->regs = regs;
de               2052 drivers/net/ethernet/dec/tulip/de2104x.c 	de_adapter_wake(de);
de               2055 drivers/net/ethernet/dec/tulip/de2104x.c 	rc = de_reset_mac(de);
de               2064 drivers/net/ethernet/dec/tulip/de2104x.c 	if (de->de21040) {
de               2065 drivers/net/ethernet/dec/tulip/de2104x.c 		de21040_get_mac_address(de);
de               2066 drivers/net/ethernet/dec/tulip/de2104x.c 		de21040_get_media_info(de);
de               2068 drivers/net/ethernet/dec/tulip/de2104x.c 		de21041_get_srom_info(de);
de               2078 drivers/net/ethernet/dec/tulip/de2104x.c 		    de->de21040 ? "21040" : "21041",
de               2087 drivers/net/ethernet/dec/tulip/de2104x.c 	de_adapter_sleep(de);
de               2092 drivers/net/ethernet/dec/tulip/de2104x.c 	kfree(de->ee_data);
de               2106 drivers/net/ethernet/dec/tulip/de2104x.c 	struct de_private *de = netdev_priv(dev);
de               2110 drivers/net/ethernet/dec/tulip/de2104x.c 	kfree(de->ee_data);
de               2111 drivers/net/ethernet/dec/tulip/de2104x.c 	iounmap(de->regs);
de               2122 drivers/net/ethernet/dec/tulip/de2104x.c 	struct de_private *de = netdev_priv(dev);
de               2128 drivers/net/ethernet/dec/tulip/de2104x.c 		del_timer_sync(&de->media_timer);
de               2131 drivers/net/ethernet/dec/tulip/de2104x.c 		spin_lock_irq(&de->lock);
de               2133 drivers/net/ethernet/dec/tulip/de2104x.c 		de_stop_hw(de);
de               2138 drivers/net/ethernet/dec/tulip/de2104x.c 		spin_unlock_irq(&de->lock);
de               2142 drivers/net/ethernet/dec/tulip/de2104x.c 		__de_get_stats(de);
de               2145 drivers/net/ethernet/dec/tulip/de2104x.c 		de_clean_rings(de);
de               2147 drivers/net/ethernet/dec/tulip/de2104x.c 		de_adapter_sleep(de);
de               2159 drivers/net/ethernet/dec/tulip/de2104x.c 	struct de_private *de = netdev_priv(dev);
de               2172 drivers/net/ethernet/dec/tulip/de2104x.c 	de_init_rings(de);
de               2173 drivers/net/ethernet/dec/tulip/de2104x.c 	de_init_hw(de);
de               3584 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, qeec, de, 0x18, 31, 1);
de                609 drivers/net/ethernet/socionext/netsec.c 	struct netsec_de *de = dring->vaddr + DESC_SZ * idx;
de                617 drivers/net/ethernet/socionext/netsec.c 	de->data_buf_addr_up = upper_32_bits(desc->dma_addr);
de                618 drivers/net/ethernet/socionext/netsec.c 	de->data_buf_addr_lw = lower_32_bits(desc->dma_addr);
de                619 drivers/net/ethernet/socionext/netsec.c 	de->buf_len_info = desc->len;
de                620 drivers/net/ethernet/socionext/netsec.c 	de->attr = attr;
de                780 drivers/net/ethernet/socionext/netsec.c 	struct netsec_de *de;
de                783 drivers/net/ethernet/socionext/netsec.c 	de = dring->vaddr + (DESC_SZ * idx);
de                796 drivers/net/ethernet/socionext/netsec.c 	de->data_buf_addr_up = upper_32_bits(desc->dma_addr);
de                797 drivers/net/ethernet/socionext/netsec.c 	de->data_buf_addr_lw = lower_32_bits(desc->dma_addr);
de                798 drivers/net/ethernet/socionext/netsec.c 	de->buf_len_info = (tx_ctrl->tcp_seg_len << 16) | desc->len;
de                799 drivers/net/ethernet/socionext/netsec.c 	de->attr = attr;
de                941 drivers/net/ethernet/socionext/netsec.c 		struct netsec_de *de = dring->vaddr + (DESC_SZ * idx);
de                951 drivers/net/ethernet/socionext/netsec.c 		if (de->attr & (1U << NETSEC_RX_PKT_OWN_FIELD)) {
de                964 drivers/net/ethernet/socionext/netsec.c 		pkt_len = de->buf_len_info >> 16;
de                965 drivers/net/ethernet/socionext/netsec.c 		rx_info.err_code = (de->attr >> NETSEC_RX_PKT_ERR_FIELD) &
de                967 drivers/net/ethernet/socionext/netsec.c 		rx_info.err_flag = (de->attr >> NETSEC_RX_PKT_ER_FIELD) & 1;
de                979 drivers/net/ethernet/socionext/netsec.c 			(de->attr >> NETSEC_RX_PKT_CO_FIELD) & 3;
de               1259 drivers/net/ethernet/socionext/netsec.c 		struct netsec_de *de;
de               1261 drivers/net/ethernet/socionext/netsec.c 		de = dring->vaddr + (DESC_SZ * i);
de               1266 drivers/net/ethernet/socionext/netsec.c 		de->attr = 1U << NETSEC_TX_SHIFT_OWN_FIELD;
de                 97 drivers/net/wan/hdlc_fr.c 	unsigned de:	1;
de                109 drivers/net/wan/hdlc_fr.c 	unsigned de:	1;
de                186 drivers/net/wireless/ath/dfs_pattern_detector.c 		struct pri_detector *de = cd->detectors[i];
de                187 drivers/net/wireless/ath/dfs_pattern_detector.c 		if (de != NULL)
de                188 drivers/net/wireless/ath/dfs_pattern_detector.c 			de->exit(de);
de                213 drivers/net/wireless/ath/dfs_pattern_detector.c 		struct pri_detector *de = pri_detector_init(rs);
de                214 drivers/net/wireless/ath/dfs_pattern_detector.c 		if (de == NULL)
de                216 drivers/net/wireless/ath/dfs_pattern_detector.c 		cd->detectors[i] = de;
de                375 drivers/net/wireless/ath/dfs_pri_detector.c static void pri_detector_exit(struct pri_detector *de)
de                377 drivers/net/wireless/ath/dfs_pri_detector.c 	pri_detector_reset(de, 0);
de                379 drivers/net/wireless/ath/dfs_pri_detector.c 	kfree(de);
de                382 drivers/net/wireless/ath/dfs_pri_detector.c static struct pri_sequence *pri_detector_add_pulse(struct pri_detector *de,
de                388 drivers/net/wireless/ath/dfs_pri_detector.c 	const struct radar_detector_specs *rs = de->rs;
de                394 drivers/net/wireless/ath/dfs_pri_detector.c 	if ((ts - de->last_ts) < rs->max_pri_tolerance)
de                401 drivers/net/wireless/ath/dfs_pri_detector.c 	de->last_ts = ts;
de                403 drivers/net/wireless/ath/dfs_pri_detector.c 	max_updated_seq = pseq_handler_add_to_existing_seqs(de, ts);
de                405 drivers/net/wireless/ath/dfs_pri_detector.c 	if (!pseq_handler_create_sequences(de, ts, max_updated_seq)) {
de                406 drivers/net/wireless/ath/dfs_pri_detector.c 		pri_detector_reset(de, ts);
de                410 drivers/net/wireless/ath/dfs_pri_detector.c 	ps = pseq_handler_check_detection(de);
de                413 drivers/net/wireless/ath/dfs_pri_detector.c 		pulse_queue_enqueue(de, ts);
de                420 drivers/net/wireless/ath/dfs_pri_detector.c 	struct pri_detector *de;
de                422 drivers/net/wireless/ath/dfs_pri_detector.c 	de = kzalloc(sizeof(*de), GFP_ATOMIC);
de                423 drivers/net/wireless/ath/dfs_pri_detector.c 	if (de == NULL)
de                425 drivers/net/wireless/ath/dfs_pri_detector.c 	de->exit = pri_detector_exit;
de                426 drivers/net/wireless/ath/dfs_pri_detector.c 	de->add_pulse = pri_detector_add_pulse;
de                427 drivers/net/wireless/ath/dfs_pri_detector.c 	de->reset = pri_detector_reset;
de                429 drivers/net/wireless/ath/dfs_pri_detector.c 	INIT_LIST_HEAD(&de->sequences);
de                430 drivers/net/wireless/ath/dfs_pri_detector.c 	INIT_LIST_HEAD(&de->pulses);
de                431 drivers/net/wireless/ath/dfs_pri_detector.c 	de->window_size = rs->pri_max * rs->ppb * rs->num_pri;
de                432 drivers/net/wireless/ath/dfs_pri_detector.c 	de->max_count = rs->ppb * 2;
de                433 drivers/net/wireless/ath/dfs_pri_detector.c 	de->rs = rs;
de                436 drivers/net/wireless/ath/dfs_pri_detector.c 	return de;
de                 60 drivers/net/wireless/ath/dfs_pri_detector.h 	void (*exit)     (struct pri_detector *de);
de                 62 drivers/net/wireless/ath/dfs_pri_detector.h 	     (*add_pulse)(struct pri_detector *de, struct pulse_event *e);
de                 63 drivers/net/wireless/ath/dfs_pri_detector.h 	void (*reset)    (struct pri_detector *de, u64 ts);
de                 61 drivers/pnp/isapnp/proc.c 	struct proc_dir_entry *de, *e;
de                 64 drivers/pnp/isapnp/proc.c 	if (!(de = bus->procdir)) {
de                 66 drivers/pnp/isapnp/proc.c 		de = bus->procdir = proc_mkdir(name, isapnp_proc_bus_dir);
de                 67 drivers/pnp/isapnp/proc.c 		if (!de)
de                 71 drivers/pnp/isapnp/proc.c 	e = dev->procent = proc_create_data(name, S_IFREG | S_IRUGO, de,
de                648 drivers/scsi/aic94xx/aic94xx_sds.c 	struct asd_flash_de *de;
de                659 drivers/scsi/aic94xx/aic94xx_sds.c 	de = &flash_dir->dir_entry[i];
de                660 drivers/scsi/aic94xx/aic94xx_sds.c 	*offs = le32_to_cpu(de->offs);
de                661 drivers/scsi/aic94xx/aic94xx_sds.c 	*size = le32_to_cpu(de->pad_size);
de                131 drivers/soc/fsl/dpio/qbman-portal.c 				    int dp, int de, int ep)
de                143 drivers/soc/fsl/dpio/qbman-portal.c 		de << SWP_CFG_DE_SHIFT |
de               2207 drivers/staging/exfat/exfat_super.c 	struct dir_entry_t de;
de               2242 drivers/staging/exfat/exfat_super.c 	err = ffsReadDir(inode, &de);
de               2258 drivers/staging/exfat/exfat_super.c 	if (!de.Name[0])
de               2261 drivers/staging/exfat/exfat_super.c 	if (!memcmp(de.ShortName, DOS_CUR_DIR_NAME, DOS_NAME_LENGTH)) {
de               2263 drivers/staging/exfat/exfat_super.c 	} else if (!memcmp(de.ShortName, DOS_PAR_DIR_NAME, DOS_NAME_LENGTH)) {
de               2278 drivers/staging/exfat/exfat_super.c 	if (!dir_emit(ctx, de.Name, strlen(de.Name), inum,
de               2279 drivers/staging/exfat/exfat_super.c 		      (de.Attr & ATTR_SUBDIR) ? DT_DIR : DT_REG))
de               3141 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	bool onoff, rf, ipc, vs, hs, de;
de               3177 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		de = true;
de               3180 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		de = false;
de               3213 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		FLD_VAL(de, 15, 15) |
de                194 fs/adfs/dir_f.c 	struct adfs_direntry *de)
de                199 fs/adfs/dir_f.c 		if (de->dirobname[name_len] < ' ')
de                202 fs/adfs/dir_f.c 		obj->name[name_len] = de->dirobname[name_len];
de                206 fs/adfs/dir_f.c 	obj->indaddr  = adfs_readval(de->dirinddiscadd, 3);
de                207 fs/adfs/dir_f.c 	obj->loadaddr = adfs_readval(de->dirload, 4);
de                208 fs/adfs/dir_f.c 	obj->execaddr = adfs_readval(de->direxec, 4);
de                209 fs/adfs/dir_f.c 	obj->size     = adfs_readval(de->dirlen,  4);
de                210 fs/adfs/dir_f.c 	obj->attr     = de->newdiratts;
de                219 fs/adfs/dir_f.c adfs_obj2dir(struct adfs_direntry *de, struct object_info *obj)
de                221 fs/adfs/dir_f.c 	adfs_writeval(de->dirinddiscadd, 3, obj->indaddr);
de                222 fs/adfs/dir_f.c 	adfs_writeval(de->dirload, 4, obj->loadaddr);
de                223 fs/adfs/dir_f.c 	adfs_writeval(de->direxec, 4, obj->execaddr);
de                224 fs/adfs/dir_f.c 	adfs_writeval(de->dirlen,  4, obj->size);
de                225 fs/adfs/dir_f.c 	de->newdiratts = obj->attr;
de                236 fs/adfs/dir_f.c 	struct adfs_direntry de;
de                249 fs/adfs/dir_f.c 	memcpy(&de, dir->bh[buffer]->b_data + offset, thissize);
de                251 fs/adfs/dir_f.c 		memcpy(((char *)&de) + thissize, dir->bh[buffer + 1]->b_data,
de                254 fs/adfs/dir_f.c 	if (!de.dirobname[0])
de                257 fs/adfs/dir_f.c 	adfs_dir2obj(dir, obj, &de);
de                266 fs/adfs/dir_f.c 	struct adfs_direntry de;
de                282 fs/adfs/dir_f.c 	memcpy(&de, dir->bh[buffer]->b_data + offset, thissize);
de                284 fs/adfs/dir_f.c 		memcpy(((char *)&de) + thissize, dir->bh[buffer + 1]->b_data,
de                290 fs/adfs/dir_f.c 	adfs_obj2dir(&de, obj);
de                295 fs/adfs/dir_f.c 	memcpy(dir->bh[buffer]->b_data + offset, &de, thissize);
de                297 fs/adfs/dir_f.c 		memcpy(dir->bh[buffer + 1]->b_data, ((char *)&de) + thissize,
de                113 fs/afs/dir_edit.c 	union afs_xdr_dirent *de;
de                133 fs/afs/dir_edit.c 		de = &block->dirents[d];
de                134 fs/afs/dir_edit.c 		if (de->u.valid != 1)
de                138 fs/afs/dir_edit.c 		len = strlen(de->u.name);
de                140 fs/afs/dir_edit.c 		    memcmp(de->u.name, name->name, name->len) == 0)
de                192 fs/afs/dir_edit.c 	union afs_xdr_dirent *de;
de                313 fs/afs/dir_edit.c 	de = &block->dirents[slot];
de                314 fs/afs/dir_edit.c 	de->u.valid	= 1;
de                315 fs/afs/dir_edit.c 	de->u.unused[0]	= 0;
de                316 fs/afs/dir_edit.c 	de->u.hash_next	= 0; // TODO: Really need to maintain this
de                317 fs/afs/dir_edit.c 	de->u.vnode	= htonl(new_fid->vnode);
de                318 fs/afs/dir_edit.c 	de->u.unique	= htonl(new_fid->unique);
de                319 fs/afs/dir_edit.c 	memcpy(de->u.name, name->name, name->len + 1);
de                320 fs/afs/dir_edit.c 	de->u.name[name->len] = 0;
de                372 fs/afs/dir_edit.c 	union afs_xdr_dirent *de;
de                446 fs/afs/dir_edit.c 	de = &block->dirents[slot];
de                449 fs/afs/dir_edit.c 			   ntohl(de->u.vnode), ntohl(de->u.unique),
de                452 fs/afs/dir_edit.c 	memset(de, 0, sizeof(*de) * need_slots);
de                104 fs/autofs/root.c static void autofs_dentry_release(struct dentry *de)
de                106 fs/autofs/root.c 	struct autofs_info *ino = autofs_dentry_ino(de);
de                107 fs/autofs/root.c 	struct autofs_sb_info *sbi = autofs_sbi(de->d_sb);
de                109 fs/autofs/root.c 	pr_debug("releasing %p\n", de);
de                493 fs/autofs/waitq.c 		struct dentry *de = NULL;
de                499 fs/autofs/waitq.c 			de = d_lookup(dentry->d_parent, &dentry->d_name);
de                500 fs/autofs/waitq.c 			if (de)
de                501 fs/autofs/waitq.c 				ino = autofs_dentry_ino(de);
de                512 fs/autofs/waitq.c 		if (de)
de                513 fs/autofs/waitq.c 			dput(de);
de                 33 fs/bfs/dir.c   	struct bfs_dirent *de;
de                 53 fs/bfs/dir.c   			de = (struct bfs_dirent *)(bh->b_data + offset);
de                 54 fs/bfs/dir.c   			if (de->ino) {
de                 55 fs/bfs/dir.c   				int size = strnlen(de->name, BFS_NAMELEN);
de                 56 fs/bfs/dir.c   				if (!dir_emit(ctx, de->name, size,
de                 57 fs/bfs/dir.c   						le16_to_cpu(de->ino),
de                130 fs/bfs/dir.c   	struct bfs_dirent *de;
de                137 fs/bfs/dir.c   	bh = bfs_find_entry(dir, &dentry->d_name, &de);
de                139 fs/bfs/dir.c   		unsigned long ino = (unsigned long)le16_to_cpu(de->ino);
de                174 fs/bfs/dir.c   	struct bfs_dirent *de;
de                178 fs/bfs/dir.c   	bh = bfs_find_entry(dir, &dentry->d_name, &de);
de                179 fs/bfs/dir.c   	if (!bh || (le16_to_cpu(de->ino) != inode->i_ino))
de                188 fs/bfs/dir.c   	de->ino = 0;
de                272 fs/bfs/dir.c   	struct bfs_dirent *de;
de                290 fs/bfs/dir.c   			de = (struct bfs_dirent *)(bh->b_data + off);
de                291 fs/bfs/dir.c   			if (!de->ino) {
de                299 fs/bfs/dir.c   				de->ino = cpu_to_le16((u16)ino);
de                301 fs/bfs/dir.c   					de->name[i] =
de                327 fs/bfs/dir.c   	struct bfs_dirent *de;
de                343 fs/bfs/dir.c   		de = (struct bfs_dirent *)(bh->b_data + offset);
de                345 fs/bfs/dir.c   		if (le16_to_cpu(de->ino) &&
de                346 fs/bfs/dir.c   				bfs_namecmp(namelen, name, de->name)) {
de                347 fs/bfs/dir.c   			*res_dir = de;
de                413 fs/cifs/readdir.c static void cifs_fill_dirent_unix(struct cifs_dirent *de,
de                416 fs/cifs/readdir.c 	de->name = &info->FileName[0];
de                418 fs/cifs/readdir.c 		de->namelen = cifs_unicode_bytelen(de->name);
de                420 fs/cifs/readdir.c 		de->namelen = strnlen(de->name, PATH_MAX);
de                421 fs/cifs/readdir.c 	de->resume_key = info->ResumeKey;
de                422 fs/cifs/readdir.c 	de->ino = le64_to_cpu(info->basic.UniqueId);
de                425 fs/cifs/readdir.c static void cifs_fill_dirent_dir(struct cifs_dirent *de,
de                428 fs/cifs/readdir.c 	de->name = &info->FileName[0];
de                429 fs/cifs/readdir.c 	de->namelen = le32_to_cpu(info->FileNameLength);
de                430 fs/cifs/readdir.c 	de->resume_key = info->FileIndex;
de                433 fs/cifs/readdir.c static void cifs_fill_dirent_full(struct cifs_dirent *de,
de                436 fs/cifs/readdir.c 	de->name = &info->FileName[0];
de                437 fs/cifs/readdir.c 	de->namelen = le32_to_cpu(info->FileNameLength);
de                438 fs/cifs/readdir.c 	de->resume_key = info->FileIndex;
de                441 fs/cifs/readdir.c static void cifs_fill_dirent_search(struct cifs_dirent *de,
de                444 fs/cifs/readdir.c 	de->name = &info->FileName[0];
de                445 fs/cifs/readdir.c 	de->namelen = le32_to_cpu(info->FileNameLength);
de                446 fs/cifs/readdir.c 	de->resume_key = info->FileIndex;
de                447 fs/cifs/readdir.c 	de->ino = le64_to_cpu(info->UniqueId);
de                450 fs/cifs/readdir.c static void cifs_fill_dirent_both(struct cifs_dirent *de,
de                453 fs/cifs/readdir.c 	de->name = &info->FileName[0];
de                454 fs/cifs/readdir.c 	de->namelen = le32_to_cpu(info->FileNameLength);
de                455 fs/cifs/readdir.c 	de->resume_key = info->FileIndex;
de                458 fs/cifs/readdir.c static void cifs_fill_dirent_std(struct cifs_dirent *de,
de                461 fs/cifs/readdir.c 	de->name = &info->FileName[0];
de                463 fs/cifs/readdir.c 	de->namelen = info->FileNameLength;
de                464 fs/cifs/readdir.c 	de->resume_key = info->ResumeKey;
de                467 fs/cifs/readdir.c static int cifs_fill_dirent(struct cifs_dirent *de, const void *info,
de                470 fs/cifs/readdir.c 	memset(de, 0, sizeof(*de));
de                474 fs/cifs/readdir.c 		cifs_fill_dirent_unix(de, info, is_unicode);
de                477 fs/cifs/readdir.c 		cifs_fill_dirent_dir(de, info);
de                480 fs/cifs/readdir.c 		cifs_fill_dirent_full(de, info);
de                483 fs/cifs/readdir.c 		cifs_fill_dirent_search(de, info);
de                486 fs/cifs/readdir.c 		cifs_fill_dirent_both(de, info);
de                489 fs/cifs/readdir.c 		cifs_fill_dirent_std(de, info);
de                502 fs/cifs/readdir.c static int cifs_entry_is_dot(struct cifs_dirent *de, bool is_unicode)
de                506 fs/cifs/readdir.c 	if (!de->name)
de                510 fs/cifs/readdir.c 		__le16 *ufilename = (__le16 *)de->name;
de                511 fs/cifs/readdir.c 		if (de->namelen == 2) {
de                515 fs/cifs/readdir.c 		} else if (de->namelen == 4) {
de                522 fs/cifs/readdir.c 		if (de->namelen == 1) {
de                523 fs/cifs/readdir.c 			if (de->name[0] == '.')
de                525 fs/cifs/readdir.c 		} else if (de->namelen == 2) {
de                526 fs/cifs/readdir.c 			if (de->name[0] == '.' && de->name[1] == '.')
de                551 fs/cifs/readdir.c 	struct cifs_dirent de;
de                554 fs/cifs/readdir.c 	rc = cifs_fill_dirent(&de, current_entry, file_info->srch_inf.info_level,
de                557 fs/cifs/readdir.c 		file_info->srch_inf.presume_name = de.name;
de                558 fs/cifs/readdir.c 		file_info->srch_inf.resume_name_len = de.namelen;
de                559 fs/cifs/readdir.c 		file_info->srch_inf.resume_key = de.resume_key;
de                709 fs/cifs/readdir.c 	struct cifs_dirent de = { NULL, };
de                715 fs/cifs/readdir.c 	rc = cifs_fill_dirent(&de, find_entry, file_info->srch_inf.info_level,
de                720 fs/cifs/readdir.c 	if (de.namelen > max_len) {
de                722 fs/cifs/readdir.c 			 de.namelen);
de                727 fs/cifs/readdir.c 	if (cifs_entry_is_dot(&de, file_info->srch_inf.unicode))
de                737 fs/cifs/readdir.c 			cifs_from_utf16((char *)name.name, (__le16 *)de.name,
de                739 fs/cifs/readdir.c 					min_t(size_t, de.namelen,
de                743 fs/cifs/readdir.c 		name.name = de.name;
de                744 fs/cifs/readdir.c 		name.len = de.namelen;
de                765 fs/cifs/readdir.c 	if (de.ino && (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM)) {
de                766 fs/cifs/readdir.c 		fattr.cf_uniqueid = de.ino;
de                 93 fs/coda/cache.c 	struct dentry *de;
de                 96 fs/coda/cache.c 	list_for_each_entry(de, &parent->d_subdirs, d_child) {
de                 98 fs/coda/cache.c 		if (d_inode(de) ) 
de                 99 fs/coda/cache.c 			coda_flag_inode(d_inode(de), flag);
de                135 fs/coda/dir.c  static int coda_create(struct inode *dir, struct dentry *de, umode_t mode, bool excl)
de                138 fs/coda/dir.c  	const char *name=de->d_name.name;
de                139 fs/coda/dir.c  	int length=de->d_name.len;
de                160 fs/coda/dir.c  	d_instantiate(de, inode);
de                163 fs/coda/dir.c  	d_drop(de);
de                167 fs/coda/dir.c  static int coda_mkdir(struct inode *dir, struct dentry *de, umode_t mode)
de                171 fs/coda/dir.c  	const char *name = de->d_name.name;
de                172 fs/coda/dir.c  	int len = de->d_name.len;
de                194 fs/coda/dir.c  	d_instantiate(de, inode);
de                197 fs/coda/dir.c  	d_drop(de);
de                203 fs/coda/dir.c  	  struct dentry *de)
de                206 fs/coda/dir.c          const char * name = de->d_name.name;
de                207 fs/coda/dir.c  	int len = de->d_name.len;
de                216 fs/coda/dir.c  		d_drop(de);
de                222 fs/coda/dir.c  	d_instantiate(de, inode);
de                228 fs/coda/dir.c  static int coda_symlink(struct inode *dir_inode, struct dentry *de,
de                231 fs/coda/dir.c  	const char *name = de->d_name.name;
de                232 fs/coda/dir.c  	int len = de->d_name.len;
de                247 fs/coda/dir.c  	d_drop(de);
de                259 fs/coda/dir.c  static int coda_unlink(struct inode *dir, struct dentry *de)
de                262 fs/coda/dir.c  	const char *name = de->d_name.name;
de                263 fs/coda/dir.c  	int len = de->d_name.len;
de                270 fs/coda/dir.c  	drop_nlink(d_inode(de));
de                274 fs/coda/dir.c  static int coda_rmdir(struct inode *dir, struct dentry *de)
de                276 fs/coda/dir.c  	const char *name = de->d_name.name;
de                277 fs/coda/dir.c  	int len = de->d_name.len;
de                283 fs/coda/dir.c  		if (d_really_is_positive(de))
de                284 fs/coda/dir.c  			clear_nlink(d_inode(de));
de                454 fs/coda/dir.c  static int coda_dentry_revalidate(struct dentry *de, unsigned int flags)
de                462 fs/coda/dir.c  	inode = d_inode(de);
de                468 fs/coda/dir.c  	cii = ITOC(d_inode(de));
de                472 fs/coda/dir.c  	shrink_dcache_parent(de);
de                478 fs/coda/dir.c  	if (d_count(de) > 1)
de                263 fs/coda/inode.c int coda_setattr(struct dentry *de, struct iattr *iattr)
de                265 fs/coda/inode.c 	struct inode *inode = d_inode(de);
de                722 fs/cramfs/inode.c 		struct cramfs_inode *de;
de                730 fs/cramfs/inode.c 		de = cramfs_read(sb, OFFSET(inode) + offset, sizeof(*de)+CRAMFS_MAXPATHLEN);
de                731 fs/cramfs/inode.c 		name = (char *)(de+1);
de                738 fs/cramfs/inode.c 		namelen = de->namelen << 2;
de                740 fs/cramfs/inode.c 		ino = cramino(de, OFFSET(inode) + offset);
de                741 fs/cramfs/inode.c 		mode = de->mode;
de                743 fs/cramfs/inode.c 		nextoffset = offset + sizeof(*de) + namelen;
de                774 fs/cramfs/inode.c 		struct cramfs_inode *de;
de                779 fs/cramfs/inode.c 		de = cramfs_read(dir->i_sb, dir_off, sizeof(*de)+CRAMFS_MAXPATHLEN);
de                780 fs/cramfs/inode.c 		name = (char *)(de+1);
de                786 fs/cramfs/inode.c 		namelen = de->namelen << 2;
de                787 fs/cramfs/inode.c 		offset += sizeof(*de) + namelen;
de                808 fs/cramfs/inode.c 			inode = get_cramfs_inode(dir->i_sb, de, dir_off);
de                962 fs/dcache.c    	struct dentry *de;
de                965 fs/dcache.c    	de = __d_find_any_alias(inode);
de                967 fs/dcache.c    	return de;
de               1006 fs/dcache.c    	struct dentry *de = NULL;
de               1010 fs/dcache.c    		de = __d_find_alias(inode);
de               1013 fs/dcache.c    	return de;
de                520 fs/debugfs/inode.c 	struct dentry *de = debugfs_create_file(name, mode, parent, data, fops);
de                522 fs/debugfs/inode.c 	if (de)
de                523 fs/debugfs/inode.c 		d_inode(de)->i_size = file_size;
de                524 fs/debugfs/inode.c 	return de;
de                 28 fs/erofs/dir.c 	struct erofs_dirent *de = dentry_blk + *ofs;
de                 31 fs/erofs/dir.c 	while (de < end) {
de                 36 fs/erofs/dir.c 		d_type = fs_ftype_to_dtype(de->file_type);
de                 38 fs/erofs/dir.c 		nameoff = le16_to_cpu(de->nameoff);
de                 42 fs/erofs/dir.c 		if (de + 1 >= end)
de                 45 fs/erofs/dir.c 			de_namelen = le16_to_cpu(de[1].nameoff) - nameoff;
de                 58 fs/erofs/dir.c 			      le64_to_cpu(de->nid), d_type))
de                 61 fs/erofs/dir.c 		++de;
de                 80 fs/erofs/dir.c 		struct erofs_dirent *de;
de                 95 fs/erofs/dir.c 		de = (struct erofs_dirent *)kmap(dentry_page);
de                 97 fs/erofs/dir.c 		nameoff = le16_to_cpu(de->nameoff);
de                120 fs/erofs/dir.c 		err = erofs_fill_dentries(dir, ctx, de, &ofs,
de                 53 fs/erofs/namei.c 	struct erofs_dirent *const de = (struct erofs_dirent *)data;
de                 62 fs/erofs/namei.c 		const int nameoff = nameoff_from_disk(de[mid].nameoff,
de                 69 fs/erofs/namei.c 				data + nameoff_from_disk(de[mid + 1].nameoff,
de                 77 fs/erofs/namei.c 			return de + mid;
de                108 fs/erofs/namei.c 			struct erofs_dirent *de = kmap_atomic(page);
de                109 fs/erofs/namei.c 			const int nameoff = nameoff_from_disk(de->nameoff,
de                111 fs/erofs/namei.c 			const int ndirents = nameoff / sizeof(*de);
de                117 fs/erofs/namei.c 				kunmap_atomic(de);
de                129 fs/erofs/namei.c 			dname.name = (u8 *)de + nameoff;
de                131 fs/erofs/namei.c 				dname.end = (u8 *)de + EROFS_BLKSIZ;
de                133 fs/erofs/namei.c 				dname.end = (u8 *)de +
de                134 fs/erofs/namei.c 					nameoff_from_disk(de[1].nameoff,
de                139 fs/erofs/namei.c 			kunmap_atomic(de);
de                175 fs/erofs/namei.c 	struct erofs_dirent *de;
de                193 fs/erofs/namei.c 		de = find_target_dirent(&qn, data, EROFS_BLKSIZ, ndirents);
de                195 fs/erofs/namei.c 		de = (struct erofs_dirent *)data;
de                197 fs/erofs/namei.c 	if (!IS_ERR(de)) {
de                198 fs/erofs/namei.c 		*nid = le64_to_cpu(de->nid);
de                199 fs/erofs/namei.c 		*d_type = de->file_type;
de                205 fs/erofs/namei.c 	return PTR_ERR_OR_ZERO(de);
de                224 fs/ext2/dir.c  					struct ext2_dir_entry_2 * de)
de                226 fs/ext2/dir.c  	if (len != de->name_len)
de                228 fs/ext2/dir.c  	if (!de->inode)
de                230 fs/ext2/dir.c  	return !memcmp(name, de->name, len);
de                245 fs/ext2/dir.c  	ext2_dirent *de = (ext2_dirent*)(base + offset);
de                247 fs/ext2/dir.c  	while ((char*)p < (char*)de) {
de                255 fs/ext2/dir.c  static inline void ext2_set_de_type(ext2_dirent *de, struct inode *inode)
de                258 fs/ext2/dir.c  		de->file_type = fs_umode_to_ftype(inode->i_mode);
de                260 fs/ext2/dir.c  		de->file_type = 0;
de                284 fs/ext2/dir.c  		ext2_dirent *de;
de                303 fs/ext2/dir.c  		de = (ext2_dirent *)(kaddr+offset);
de                305 fs/ext2/dir.c  		for ( ;(char*)de <= limit; de = ext2_next_entry(de)) {
de                306 fs/ext2/dir.c  			if (de->rec_len == 0) {
de                312 fs/ext2/dir.c  			if (de->inode) {
de                316 fs/ext2/dir.c  					d_type = fs_ftype_to_dtype(de->file_type);
de                318 fs/ext2/dir.c  				if (!dir_emit(ctx, de->name, de->name_len,
de                319 fs/ext2/dir.c  						le32_to_cpu(de->inode),
de                325 fs/ext2/dir.c  			ctx->pos += ext2_rec_len_from_disk(de->rec_len);
de                350 fs/ext2/dir.c  	ext2_dirent * de;
de                368 fs/ext2/dir.c  			de = (ext2_dirent *) kaddr;
de                370 fs/ext2/dir.c  			while ((char *) de <= kaddr) {
de                371 fs/ext2/dir.c  				if (de->rec_len == 0) {
de                377 fs/ext2/dir.c  				if (ext2_match (namelen, name, de))
de                379 fs/ext2/dir.c  				de = ext2_next_entry(de);
de                402 fs/ext2/dir.c  	return de;
de                408 fs/ext2/dir.c  	ext2_dirent *de = NULL;
de                411 fs/ext2/dir.c  		de = ext2_next_entry((ext2_dirent *) page_address(page));
de                414 fs/ext2/dir.c  	return de;
de                420 fs/ext2/dir.c  	struct ext2_dir_entry_2 *de;
de                423 fs/ext2/dir.c  	de = ext2_find_entry (dir, child, &page);
de                424 fs/ext2/dir.c  	if (de) {
de                425 fs/ext2/dir.c  		res = le32_to_cpu(de->inode);
de                437 fs/ext2/dir.c  void ext2_set_link(struct inode *dir, struct ext2_dir_entry_2 *de,
de                441 fs/ext2/dir.c  			(char *) de - (char *) page_address(page);
de                442 fs/ext2/dir.c  	unsigned len = ext2_rec_len_from_disk(de->rec_len);
de                448 fs/ext2/dir.c  	de->inode = cpu_to_le32(inode->i_ino);
de                449 fs/ext2/dir.c  	ext2_set_de_type(de, inode);
de                470 fs/ext2/dir.c  	ext2_dirent * de;
de                492 fs/ext2/dir.c  		de = (ext2_dirent *)kaddr;
de                494 fs/ext2/dir.c  		while ((char *)de <= kaddr) {
de                495 fs/ext2/dir.c  			if ((char *)de == dir_end) {
de                499 fs/ext2/dir.c  				de->rec_len = ext2_rec_len_to_disk(chunk_size);
de                500 fs/ext2/dir.c  				de->inode = 0;
de                503 fs/ext2/dir.c  			if (de->rec_len == 0) {
de                510 fs/ext2/dir.c  			if (ext2_match (namelen, name, de))
de                512 fs/ext2/dir.c  			name_len = EXT2_DIR_REC_LEN(de->name_len);
de                513 fs/ext2/dir.c  			rec_len = ext2_rec_len_from_disk(de->rec_len);
de                514 fs/ext2/dir.c  			if (!de->inode && rec_len >= reclen)
de                518 fs/ext2/dir.c  			de = (ext2_dirent *) ((char *) de + rec_len);
de                528 fs/ext2/dir.c  		(char*)de - (char*)page_address(page);
de                532 fs/ext2/dir.c  	if (de->inode) {
de                533 fs/ext2/dir.c  		ext2_dirent *de1 = (ext2_dirent *) ((char *) de + name_len);
de                535 fs/ext2/dir.c  		de->rec_len = ext2_rec_len_to_disk(name_len);
de                536 fs/ext2/dir.c  		de = de1;
de                538 fs/ext2/dir.c  	de->name_len = namelen;
de                539 fs/ext2/dir.c  	memcpy(de->name, name, namelen);
de                540 fs/ext2/dir.c  	de->inode = cpu_to_le32(inode->i_ino);
de                541 fs/ext2/dir.c  	ext2_set_de_type (de, inode);
de                569 fs/ext2/dir.c  	ext2_dirent * de = (ext2_dirent *) (kaddr + from);
de                572 fs/ext2/dir.c  	while ((char*)de < (char*)dir) {
de                573 fs/ext2/dir.c  		if (de->rec_len == 0) {
de                579 fs/ext2/dir.c  		pde = de;
de                580 fs/ext2/dir.c  		de = ext2_next_entry(de);
de                607 fs/ext2/dir.c  	struct ext2_dir_entry_2 * de;
de                621 fs/ext2/dir.c  	de = (struct ext2_dir_entry_2 *)kaddr;
de                622 fs/ext2/dir.c  	de->name_len = 1;
de                623 fs/ext2/dir.c  	de->rec_len = ext2_rec_len_to_disk(EXT2_DIR_REC_LEN(1));
de                624 fs/ext2/dir.c  	memcpy (de->name, ".\0\0", 4);
de                625 fs/ext2/dir.c  	de->inode = cpu_to_le32(inode->i_ino);
de                626 fs/ext2/dir.c  	ext2_set_de_type (de, inode);
de                628 fs/ext2/dir.c  	de = (struct ext2_dir_entry_2 *)(kaddr + EXT2_DIR_REC_LEN(1));
de                629 fs/ext2/dir.c  	de->name_len = 2;
de                630 fs/ext2/dir.c  	de->rec_len = ext2_rec_len_to_disk(chunk_size - EXT2_DIR_REC_LEN(1));
de                631 fs/ext2/dir.c  	de->inode = cpu_to_le32(parent->i_ino);
de                632 fs/ext2/dir.c  	memcpy (de->name, "..\0", 4);
de                633 fs/ext2/dir.c  	ext2_set_de_type (de, inode);
de                652 fs/ext2/dir.c  		ext2_dirent * de;
de                661 fs/ext2/dir.c  		de = (ext2_dirent *)kaddr;
de                664 fs/ext2/dir.c  		while ((char *)de <= kaddr) {
de                665 fs/ext2/dir.c  			if (de->rec_len == 0) {
de                668 fs/ext2/dir.c  				printk("kaddr=%p, de=%p\n", kaddr, de);
de                671 fs/ext2/dir.c  			if (de->inode != 0) {
de                673 fs/ext2/dir.c  				if (de->name[0] != '.')
de                675 fs/ext2/dir.c  				if (de->name_len > 2)
de                677 fs/ext2/dir.c  				if (de->name_len < 2) {
de                678 fs/ext2/dir.c  					if (de->inode !=
de                681 fs/ext2/dir.c  				} else if (de->name[1] != '.')
de                684 fs/ext2/dir.c  			de = ext2_next_entry(de);
de                271 fs/ext2/namei.c 	struct ext2_dir_entry_2 * de;
de                279 fs/ext2/namei.c 	de = ext2_find_entry (dir, &dentry->d_name, &page);
de                280 fs/ext2/namei.c 	if (!de) {
de                285 fs/ext2/namei.c 	err = ext2_delete_entry (de, page);
de                 68 fs/ext4/dir.c  			   struct ext4_dir_entry_2 *de,
de                 73 fs/ext4/dir.c  	const int rlen = ext4_rec_len_from_disk(de->rec_len,
de                 80 fs/ext4/dir.c  	else if (unlikely(rlen < EXT4_DIR_REC_LEN(de->name_len)))
de                 82 fs/ext4/dir.c  	else if (unlikely(((char *) de - buf) + rlen > size))
de                 84 fs/ext4/dir.c  	else if (unlikely(((char *) de - buf) + rlen >
de                 86 fs/ext4/dir.c  			  ((char *) de - buf) + rlen != size)) {
de                 89 fs/ext4/dir.c  	else if (unlikely(le32_to_cpu(de->inode) >
de                 99 fs/ext4/dir.c  				error_msg, offset, le32_to_cpu(de->inode),
de                100 fs/ext4/dir.c  				rlen, de->name_len, size);
de                105 fs/ext4/dir.c  				 error_msg, offset, le32_to_cpu(de->inode),
de                106 fs/ext4/dir.c  				 rlen, de->name_len, size);
de                115 fs/ext4/dir.c  	struct ext4_dir_entry_2 *de;
de                221 fs/ext4/dir.c  				de = (struct ext4_dir_entry_2 *)
de                229 fs/ext4/dir.c  				if (ext4_rec_len_from_disk(de->rec_len,
de                232 fs/ext4/dir.c  				i += ext4_rec_len_from_disk(de->rec_len,
de                243 fs/ext4/dir.c  			de = (struct ext4_dir_entry_2 *) (bh->b_data + offset);
de                244 fs/ext4/dir.c  			if (ext4_check_dir_entry(inode, file, de, bh,
de                254 fs/ext4/dir.c  			offset += ext4_rec_len_from_disk(de->rec_len,
de                256 fs/ext4/dir.c  			if (le32_to_cpu(de->inode)) {
de                258 fs/ext4/dir.c  					if (!dir_emit(ctx, de->name,
de                259 fs/ext4/dir.c  					    de->name_len,
de                260 fs/ext4/dir.c  					    le32_to_cpu(de->inode),
de                261 fs/ext4/dir.c  					    get_dtype(sb, de->file_type)))
de                266 fs/ext4/dir.c  							FSTR_INIT(de->name,
de                267 fs/ext4/dir.c  								de->name_len);
de                278 fs/ext4/dir.c  					    le32_to_cpu(de->inode),
de                279 fs/ext4/dir.c  					    get_dtype(sb, de->file_type)))
de                283 fs/ext4/dir.c  			ctx->pos += ext4_rec_len_from_disk(de->rec_len,
de                639 fs/ext4/dir.c  	struct ext4_dir_entry_2 *de;
de                644 fs/ext4/dir.c  	de = (struct ext4_dir_entry_2 *)buf;
de                646 fs/ext4/dir.c  	while ((char *) de < top) {
de                647 fs/ext4/dir.c  		if (ext4_check_dir_entry(dir, NULL, de, bh,
de                650 fs/ext4/dir.c  		rlen = ext4_rec_len_from_disk(de->rec_len, buf_size);
de                651 fs/ext4/dir.c  		de = (struct ext4_dir_entry_2 *)((char *)de + rlen);
de                654 fs/ext4/dir.c  	if ((char *) de > top)
de               2480 fs/ext4/ext4.h #define ext4_check_dir_entry(dir, filp, de, bh, buf, size, offset)	\
de               2482 fs/ext4/ext4.h 					(de), (bh), (buf), (size), (offset)))
de               2494 fs/ext4/ext4.h 			struct ext4_dir_entry_2 *de,
de               3209 fs/ext4/ext4.h 				 struct ext4_dir_entry_2 *de,
de               3232 fs/ext4/ext4.h 				struct ext4_dir_entry_2 *de,
de               3235 fs/ext4/ext4.h 		de->file_type = ext4_type_by_mode[(mode & S_IFMT)>>S_SHIFT];
de                988 fs/ext4/inline.c 	struct ext4_dir_entry_2 *de = inline_start;
de                993 fs/ext4/inline.c 	while ((void *)de < dlimit) {
de                994 fs/ext4/inline.c 		de_len = ext4_rec_len_from_disk(de->rec_len, inline_size);
de                996 fs/ext4/inline.c 			     offset, de_len, de->name_len, de->name,
de                997 fs/ext4/inline.c 			     de->name_len, le32_to_cpu(de->inode));
de                998 fs/ext4/inline.c 		if (ext4_check_dir_entry(dir, NULL, de, bh,
de               1003 fs/ext4/inline.c 		de = (struct ext4_dir_entry_2 *) ((char *) de + de_len);
de               1023 fs/ext4/inline.c 	struct ext4_dir_entry_2 *de;
de               1026 fs/ext4/inline.c 				inline_size, fname, &de);
de               1034 fs/ext4/inline.c 	ext4_insert_dentry(inode, de, inline_size, fname);
de               1073 fs/ext4/inline.c 	struct ext4_dir_entry_2 *de, *prev_de;
de               1077 fs/ext4/inline.c 	de = (struct ext4_dir_entry_2 *)de_buf;
de               1081 fs/ext4/inline.c 			prev_de = de;
de               1082 fs/ext4/inline.c 			de_len = ext4_rec_len_from_disk(de->rec_len, old_size);
de               1084 fs/ext4/inline.c 			de = (struct ext4_dir_entry_2 *)de_buf;
de               1091 fs/ext4/inline.c 		de->inode = 0;
de               1092 fs/ext4/inline.c 		de->rec_len = ext4_rec_len_to_disk(new_size, new_size);
de               1134 fs/ext4/inline.c 	struct ext4_dir_entry_2 *de;
de               1141 fs/ext4/inline.c 	de = (struct ext4_dir_entry_2 *)target;
de               1142 fs/ext4/inline.c 	de = ext4_init_dot_dotdot(inode, de,
de               1145 fs/ext4/inline.c 	header_size = (void *)de - target;
de               1147 fs/ext4/inline.c 	memcpy((void *)de, buf + EXT4_INLINE_DOTDOT_SIZE,
de               1336 fs/ext4/inline.c 	struct ext4_dir_entry_2 *de;
de               1384 fs/ext4/inline.c 			de = &fake;
de               1394 fs/ext4/inline.c 			de = &fake;
de               1397 fs/ext4/inline.c 			de = (struct ext4_dir_entry_2 *)(dir_buf + pos);
de               1398 fs/ext4/inline.c 			pos += ext4_rec_len_from_disk(de->rec_len, inline_size);
de               1399 fs/ext4/inline.c 			if (ext4_check_dir_entry(inode, dir_file, de,
de               1407 fs/ext4/inline.c 		ext4fs_dirhash(dir, de->name, de->name_len, hinfo);
de               1412 fs/ext4/inline.c 		if (de->inode == 0)
de               1414 fs/ext4/inline.c 		tmp_str.name = de->name;
de               1415 fs/ext4/inline.c 		tmp_str.len = de->name_len;
de               1417 fs/ext4/inline.c 					      hinfo->minor_hash, de, &tmp_str);
de               1445 fs/ext4/inline.c 	struct ext4_dir_entry_2 *de;
de               1516 fs/ext4/inline.c 			de = (struct ext4_dir_entry_2 *)
de               1524 fs/ext4/inline.c 			if (ext4_rec_len_from_disk(de->rec_len, extra_size)
de               1527 fs/ext4/inline.c 			i += ext4_rec_len_from_disk(de->rec_len,
de               1550 fs/ext4/inline.c 		de = (struct ext4_dir_entry_2 *)
de               1552 fs/ext4/inline.c 		if (ext4_check_dir_entry(inode, file, de, iloc.bh, dir_buf,
de               1555 fs/ext4/inline.c 		if (le32_to_cpu(de->inode)) {
de               1556 fs/ext4/inline.c 			if (!dir_emit(ctx, de->name, de->name_len,
de               1557 fs/ext4/inline.c 				      le32_to_cpu(de->inode),
de               1558 fs/ext4/inline.c 				      get_dtype(sb, de->file_type)))
de               1561 fs/ext4/inline.c 		ctx->pos += ext4_rec_len_from_disk(de->rec_len, extra_size);
de               1594 fs/ext4/inline.c 	struct ext4_dir_entry_2 *de;
de               1608 fs/ext4/inline.c 	de = (struct ext4_dir_entry_2 *)ext4_raw_inode(&iloc)->i_block;
de               1609 fs/ext4/inline.c 	de->inode = cpu_to_le32(parent->i_ino);
de               1610 fs/ext4/inline.c 	de = (struct ext4_dir_entry_2 *)((void *)de + EXT4_INLINE_DOTDOT_SIZE);
de               1611 fs/ext4/inline.c 	de->inode = 0;
de               1612 fs/ext4/inline.c 	de->rec_len = ext4_rec_len_to_disk(
de               1759 fs/ext4/inline.c 	struct ext4_dir_entry_2 *de;
de               1775 fs/ext4/inline.c 	de = (struct ext4_dir_entry_2 *)ext4_raw_inode(&iloc)->i_block;
de               1776 fs/ext4/inline.c 	if (!le32_to_cpu(de->inode)) {
de               1787 fs/ext4/inline.c 		de = ext4_get_inline_entry(dir, &iloc, offset,
de               1789 fs/ext4/inline.c 		if (ext4_check_dir_entry(dir, NULL, de,
de               1796 fs/ext4/inline.c 				     dir->i_ino, le32_to_cpu(de->inode),
de               1797 fs/ext4/inline.c 				     le16_to_cpu(de->rec_len), de->name_len,
de               1802 fs/ext4/inline.c 		if (le32_to_cpu(de->inode)) {
de               1806 fs/ext4/inline.c 		offset += ext4_rec_len_from_disk(de->rec_len, inline_size);
de                276 fs/ext4/namei.c static int dx_make_map(struct inode *dir, struct ext4_dir_entry_2 *de,
de                616 fs/ext4/namei.c 				struct ext4_dir_entry_2 *de,
de                620 fs/ext4/namei.c 	char *base = (char *) de;
de                624 fs/ext4/namei.c 	while ((char *) de < base + size)
de                626 fs/ext4/namei.c 		if (de->inode)
de                637 fs/ext4/namei.c 				name  = de->name;
de                638 fs/ext4/namei.c 				len = de->name_len;
de                647 fs/ext4/namei.c 					ext4fs_dirhash(dir, de->name,
de                648 fs/ext4/namei.c 						de->name_len, &h);
de                651 fs/ext4/namei.c 					       (unsigned) ((char *) de
de                680 fs/ext4/namei.c 					ext4fs_dirhash(dir, de->name,
de                681 fs/ext4/namei.c 						       de->name_len, &h);
de                683 fs/ext4/namei.c 					       h.hash, (unsigned) ((char *) de
de                689 fs/ext4/namei.c 				int len = de->name_len;
de                690 fs/ext4/namei.c 				char *name = de->name;
de                691 fs/ext4/namei.c 				ext4fs_dirhash(dir, de->name, de->name_len, &h);
de                693 fs/ext4/namei.c 				       (unsigned) ((char *) de - base));
de                696 fs/ext4/namei.c 			space += EXT4_DIR_REC_LEN(de->name_len);
de                699 fs/ext4/namei.c 		de = ext4_next_entry(de, size);
de                991 fs/ext4/namei.c 	struct ext4_dir_entry_2 *de, *top;
de               1001 fs/ext4/namei.c 	de = (struct ext4_dir_entry_2 *) bh->b_data;
de               1002 fs/ext4/namei.c 	top = (struct ext4_dir_entry_2 *) ((char *) de +
de               1021 fs/ext4/namei.c 	for (; de < top; de = ext4_next_entry(de, dir->i_sb->s_blocksize)) {
de               1022 fs/ext4/namei.c 		if (ext4_check_dir_entry(dir, NULL, de, bh,
de               1025 fs/ext4/namei.c 					 + ((char *)de - bh->b_data))) {
de               1029 fs/ext4/namei.c 		ext4fs_dirhash(dir, de->name, de->name_len, hinfo);
de               1034 fs/ext4/namei.c 		if (de->inode == 0)
de               1037 fs/ext4/namei.c 			tmp_str.name = de->name;
de               1038 fs/ext4/namei.c 			tmp_str.len = de->name_len;
de               1040 fs/ext4/namei.c 				   hinfo->hash, hinfo->minor_hash, de,
de               1044 fs/ext4/namei.c 			struct fscrypt_str de_name = FSTR_INIT(de->name,
de               1045 fs/ext4/namei.c 								de->name_len);
de               1056 fs/ext4/namei.c 				   hinfo->hash, hinfo->minor_hash, de,
de               1087 fs/ext4/namei.c 	struct ext4_dir_entry_2 *de;
de               1129 fs/ext4/namei.c 		de = (struct ext4_dir_entry_2 *) frames[0].bh->b_data;
de               1130 fs/ext4/namei.c 		tmp_str.name = de->name;
de               1131 fs/ext4/namei.c 		tmp_str.len = de->name_len;
de               1133 fs/ext4/namei.c 					      de, &tmp_str);
de               1139 fs/ext4/namei.c 		de = (struct ext4_dir_entry_2 *) frames[0].bh->b_data;
de               1140 fs/ext4/namei.c 		de = ext4_next_entry(de, dir->i_sb->s_blocksize);
de               1141 fs/ext4/namei.c 		tmp_str.name = de->name;
de               1142 fs/ext4/namei.c 		tmp_str.len = de->name_len;
de               1144 fs/ext4/namei.c 					      de, &tmp_str);
de               1208 fs/ext4/namei.c static int dx_make_map(struct inode *dir, struct ext4_dir_entry_2 *de,
de               1213 fs/ext4/namei.c 	char *base = (char *) de;
de               1216 fs/ext4/namei.c 	while ((char *) de < base + blocksize) {
de               1217 fs/ext4/namei.c 		if (de->name_len && de->inode) {
de               1218 fs/ext4/namei.c 			ext4fs_dirhash(dir, de->name, de->name_len, &h);
de               1221 fs/ext4/namei.c 			map_tail->offs = ((char *) de - base)>>2;
de               1222 fs/ext4/namei.c 			map_tail->size = le16_to_cpu(de->rec_len);
de               1227 fs/ext4/namei.c 		de = ext4_next_entry(de, blocksize);
de               1344 fs/ext4/namei.c 			      const struct ext4_dir_entry_2 *de)
de               1348 fs/ext4/namei.c 	const struct qstr entry = {.name = de->name, .len = de->name_len};
de               1351 fs/ext4/namei.c 	if (!de->inode)
de               1372 fs/ext4/namei.c 	return fscrypt_match_name(&f, de->name, de->name_len);
de               1382 fs/ext4/namei.c 	struct ext4_dir_entry_2 * de;
de               1386 fs/ext4/namei.c 	de = (struct ext4_dir_entry_2 *)search_buf;
de               1388 fs/ext4/namei.c 	while ((char *) de < dlimit) {
de               1391 fs/ext4/namei.c 		if ((char *) de + de->name_len <= dlimit &&
de               1392 fs/ext4/namei.c 		    ext4_match(dir, fname, de)) {
de               1395 fs/ext4/namei.c 			if (ext4_check_dir_entry(dir, NULL, de, bh, bh->b_data,
de               1398 fs/ext4/namei.c 			*res_dir = de;
de               1402 fs/ext4/namei.c 		de_len = ext4_rec_len_from_disk(de->rec_len,
de               1407 fs/ext4/namei.c 		de = (struct ext4_dir_entry_2 *) ((char *) de + de_len);
de               1413 fs/ext4/namei.c 			       struct ext4_dir_entry *de)
de               1421 fs/ext4/namei.c 	if (de->inode == 0 &&
de               1422 fs/ext4/namei.c 	    ext4_rec_len_from_disk(de->rec_len, sb->s_blocksize) ==
de               1679 fs/ext4/namei.c 	struct ext4_dir_entry_2 *de;
de               1685 fs/ext4/namei.c 	bh = ext4_lookup_entry(dir, dentry, &de);
de               1690 fs/ext4/namei.c 		__u32 ino = le32_to_cpu(de->inode);
de               1737 fs/ext4/namei.c 	struct ext4_dir_entry_2 * de;
de               1740 fs/ext4/namei.c 	bh = ext4_find_entry(d_inode(child), &dotdot, &de, NULL);
de               1745 fs/ext4/namei.c 	ino = le32_to_cpu(de->inode);
de               1768 fs/ext4/namei.c 		struct ext4_dir_entry_2 *de = (struct ext4_dir_entry_2 *)
de               1770 fs/ext4/namei.c 		rec_len = EXT4_DIR_REC_LEN(de->name_len);
de               1771 fs/ext4/namei.c 		memcpy (to, de, rec_len);
de               1774 fs/ext4/namei.c 		de->inode = 0;
de               1787 fs/ext4/namei.c 	struct ext4_dir_entry_2 *next, *to, *prev, *de = (struct ext4_dir_entry_2 *) base;
de               1790 fs/ext4/namei.c 	prev = to = de;
de               1791 fs/ext4/namei.c 	while ((char*)de < base + blocksize) {
de               1792 fs/ext4/namei.c 		next = ext4_next_entry(de, blocksize);
de               1793 fs/ext4/namei.c 		if (de->inode && de->name_len) {
de               1794 fs/ext4/namei.c 			rec_len = EXT4_DIR_REC_LEN(de->name_len);
de               1795 fs/ext4/namei.c 			if (de > to)
de               1796 fs/ext4/namei.c 				memmove(to, de, rec_len);
de               1801 fs/ext4/namei.c 		de = next;
de               1823 fs/ext4/namei.c 	struct ext4_dir_entry_2 *de = NULL, *de2;
de               1876 fs/ext4/namei.c 	de = dx_pack_dirents(data1, blocksize);
de               1877 fs/ext4/namei.c 	de->rec_len = ext4_rec_len_to_disk(data1 + (blocksize - csum_size) -
de               1878 fs/ext4/namei.c 					   (char *) de,
de               1896 fs/ext4/namei.c 		de = de2;
de               1907 fs/ext4/namei.c 	return de;
de               1923 fs/ext4/namei.c 	struct ext4_dir_entry_2 *de;
de               1929 fs/ext4/namei.c 	de = (struct ext4_dir_entry_2 *)buf;
de               1931 fs/ext4/namei.c 	while ((char *) de <= top) {
de               1932 fs/ext4/namei.c 		if (ext4_check_dir_entry(dir, NULL, de, bh,
de               1935 fs/ext4/namei.c 		if (ext4_match(dir, fname, de))
de               1937 fs/ext4/namei.c 		nlen = EXT4_DIR_REC_LEN(de->name_len);
de               1938 fs/ext4/namei.c 		rlen = ext4_rec_len_from_disk(de->rec_len, buf_size);
de               1939 fs/ext4/namei.c 		if ((de->inode ? rlen - nlen : rlen) >= reclen)
de               1941 fs/ext4/namei.c 		de = (struct ext4_dir_entry_2 *)((char *)de + rlen);
de               1944 fs/ext4/namei.c 	if ((char *) de > top)
de               1947 fs/ext4/namei.c 	*dest_de = de;
de               1952 fs/ext4/namei.c 			struct ext4_dir_entry_2 *de,
de               1959 fs/ext4/namei.c 	nlen = EXT4_DIR_REC_LEN(de->name_len);
de               1960 fs/ext4/namei.c 	rlen = ext4_rec_len_from_disk(de->rec_len, buf_size);
de               1961 fs/ext4/namei.c 	if (de->inode) {
de               1963 fs/ext4/namei.c 			(struct ext4_dir_entry_2 *)((char *)de + nlen);
de               1965 fs/ext4/namei.c 		de->rec_len = ext4_rec_len_to_disk(nlen, buf_size);
de               1966 fs/ext4/namei.c 		de = de1;
de               1968 fs/ext4/namei.c 	de->file_type = EXT4_FT_UNKNOWN;
de               1969 fs/ext4/namei.c 	de->inode = cpu_to_le32(inode->i_ino);
de               1970 fs/ext4/namei.c 	ext4_set_de_type(inode->i_sb, de, inode->i_mode);
de               1971 fs/ext4/namei.c 	de->name_len = fname_len(fname);
de               1972 fs/ext4/namei.c 	memcpy(de->name, fname_name(fname), fname_len(fname));
de               1985 fs/ext4/namei.c 			     struct inode *inode, struct ext4_dir_entry_2 *de,
de               1995 fs/ext4/namei.c 	if (!de) {
de               1997 fs/ext4/namei.c 					blocksize - csum_size, fname, &de);
de               2009 fs/ext4/namei.c 	ext4_insert_dentry(inode, de, blocksize, fname);
de               2045 fs/ext4/namei.c 	struct ext4_dir_entry_2	*de, *de2;
de               2070 fs/ext4/namei.c 	de = (struct ext4_dir_entry_2 *)((char *)fde +
de               2072 fs/ext4/namei.c 	if ((char *) de >= (((char *) root) + blocksize)) {
de               2077 fs/ext4/namei.c 	len = ((char *) root) + (blocksize - csum_size) - (char *) de;
de               2088 fs/ext4/namei.c 	memcpy(data2, de, len);
de               2089 fs/ext4/namei.c 	de = (struct ext4_dir_entry_2 *) data2;
de               2091 fs/ext4/namei.c 	while ((char *)(de2 = ext4_next_entry(de, blocksize)) < top)
de               2092 fs/ext4/namei.c 		de = de2;
de               2093 fs/ext4/namei.c 	de->rec_len = ext4_rec_len_to_disk(data2 + (blocksize - csum_size) -
de               2094 fs/ext4/namei.c 					   (char *) de, blocksize);
de               2100 fs/ext4/namei.c 	de = (struct ext4_dir_entry_2 *) (&root->dotdot);
de               2101 fs/ext4/namei.c 	de->rec_len = ext4_rec_len_to_disk(blocksize - EXT4_DIR_REC_LEN(2),
de               2131 fs/ext4/namei.c 	de = do_split(handle,dir, &bh2, frame, &fname->hinfo);
de               2132 fs/ext4/namei.c 	if (IS_ERR(de)) {
de               2133 fs/ext4/namei.c 		retval = PTR_ERR(de);
de               2137 fs/ext4/namei.c 	retval = add_dirent_to_buf(handle, fname, dir, inode, de, bh2);
de               2166 fs/ext4/namei.c 	struct ext4_dir_entry_2 *de;
de               2254 fs/ext4/namei.c 	de = (struct ext4_dir_entry_2 *) bh->b_data;
de               2255 fs/ext4/namei.c 	de->inode = 0;
de               2256 fs/ext4/namei.c 	de->rec_len = ext4_rec_len_to_disk(blocksize - csum_size, blocksize);
de               2261 fs/ext4/namei.c 	retval = add_dirent_to_buf(handle, &fname, dir, inode, de, bh);
de               2280 fs/ext4/namei.c 	struct ext4_dir_entry_2 *de;
de               2423 fs/ext4/namei.c 	de = do_split(handle, dir, &bh, frame, &fname->hinfo);
de               2424 fs/ext4/namei.c 	if (IS_ERR(de)) {
de               2425 fs/ext4/namei.c 		err = PTR_ERR(de);
de               2428 fs/ext4/namei.c 	err = add_dirent_to_buf(handle, fname, dir, inode, de, bh);
de               2456 fs/ext4/namei.c 	struct ext4_dir_entry_2 *de, *pde;
de               2462 fs/ext4/namei.c 	de = (struct ext4_dir_entry_2 *)entry_buf;
de               2464 fs/ext4/namei.c 		if (ext4_check_dir_entry(dir, NULL, de, bh,
de               2467 fs/ext4/namei.c 		if (de == de_del)  {
de               2472 fs/ext4/namei.c 					ext4_rec_len_from_disk(de->rec_len,
de               2476 fs/ext4/namei.c 				de->inode = 0;
de               2480 fs/ext4/namei.c 		i += ext4_rec_len_from_disk(de->rec_len, blocksize);
de               2481 fs/ext4/namei.c 		pde = de;
de               2482 fs/ext4/namei.c 		de = ext4_next_entry(de, blocksize);
de               2687 fs/ext4/namei.c 			  struct ext4_dir_entry_2 *de,
de               2691 fs/ext4/namei.c 	de->inode = cpu_to_le32(inode->i_ino);
de               2692 fs/ext4/namei.c 	de->name_len = 1;
de               2693 fs/ext4/namei.c 	de->rec_len = ext4_rec_len_to_disk(EXT4_DIR_REC_LEN(de->name_len),
de               2695 fs/ext4/namei.c 	strcpy(de->name, ".");
de               2696 fs/ext4/namei.c 	ext4_set_de_type(inode->i_sb, de, S_IFDIR);
de               2698 fs/ext4/namei.c 	de = ext4_next_entry(de, blocksize);
de               2699 fs/ext4/namei.c 	de->inode = cpu_to_le32(parent_ino);
de               2700 fs/ext4/namei.c 	de->name_len = 2;
de               2702 fs/ext4/namei.c 		de->rec_len = ext4_rec_len_to_disk(blocksize -
de               2706 fs/ext4/namei.c 		de->rec_len = ext4_rec_len_to_disk(
de               2707 fs/ext4/namei.c 				EXT4_DIR_REC_LEN(de->name_len), blocksize);
de               2708 fs/ext4/namei.c 	strcpy(de->name, "..");
de               2709 fs/ext4/namei.c 	ext4_set_de_type(inode->i_sb, de, S_IFDIR);
de               2711 fs/ext4/namei.c 	return ext4_next_entry(de, blocksize);
de               2718 fs/ext4/namei.c 	struct ext4_dir_entry_2 *de;
de               2739 fs/ext4/namei.c 	de = (struct ext4_dir_entry_2 *)dir_block->b_data;
de               2740 fs/ext4/namei.c 	ext4_init_dot_dotdot(inode, de, blocksize, csum_size, dir->i_ino, 0);
de               2819 fs/ext4/namei.c 	struct ext4_dir_entry_2 *de;
de               2843 fs/ext4/namei.c 	de = (struct ext4_dir_entry_2 *) bh->b_data;
de               2844 fs/ext4/namei.c 	if (ext4_check_dir_entry(inode, NULL, de, bh, bh->b_data, bh->b_size,
de               2846 fs/ext4/namei.c 	    le32_to_cpu(de->inode) != inode->i_ino || strcmp(".", de->name)) {
de               2851 fs/ext4/namei.c 	offset = ext4_rec_len_from_disk(de->rec_len, sb->s_blocksize);
de               2852 fs/ext4/namei.c 	de = ext4_next_entry(de, sb->s_blocksize);
de               2853 fs/ext4/namei.c 	if (ext4_check_dir_entry(inode, NULL, de, bh, bh->b_data, bh->b_size,
de               2855 fs/ext4/namei.c 	    le32_to_cpu(de->inode) == 0 || strcmp("..", de->name)) {
de               2860 fs/ext4/namei.c 	offset += ext4_rec_len_from_disk(de->rec_len, sb->s_blocksize);
de               2874 fs/ext4/namei.c 		de = (struct ext4_dir_entry_2 *) (bh->b_data +
de               2876 fs/ext4/namei.c 		if (ext4_check_dir_entry(inode, NULL, de, bh,
de               2881 fs/ext4/namei.c 		if (le32_to_cpu(de->inode)) {
de               2885 fs/ext4/namei.c 		offset += ext4_rec_len_from_disk(de->rec_len, sb->s_blocksize);
de               3070 fs/ext4/namei.c 	struct ext4_dir_entry_2 *de;
de               3086 fs/ext4/namei.c 	bh = ext4_find_entry(dir, &dentry->d_name, &de, NULL);
de               3095 fs/ext4/namei.c 	if (le32_to_cpu(de->inode) != inode->i_ino)
de               3113 fs/ext4/namei.c 	retval = ext4_delete_entry(handle, dir, de, bh);
de               3157 fs/ext4/namei.c 	struct ext4_dir_entry_2 *de;
de               3174 fs/ext4/namei.c 	bh = ext4_find_entry(dir, &dentry->d_name, &de, NULL);
de               3183 fs/ext4/namei.c 	if (le32_to_cpu(de->inode) != inode->i_ino)
de               3197 fs/ext4/namei.c 	retval = ext4_delete_entry(handle, dir, de, bh);
de               3460 fs/ext4/namei.c 	struct ext4_dir_entry_2 *de;
de               3519 fs/ext4/namei.c 	ent->de->inode = cpu_to_le32(ino);
de               3521 fs/ext4/namei.c 		ent->de->file_type = file_type;
de               3545 fs/ext4/namei.c 	struct ext4_dir_entry_2 *de;
de               3547 fs/ext4/namei.c 	bh = ext4_find_entry(dir, d_name, &de, NULL);
de               3551 fs/ext4/namei.c 		retval = ext4_delete_entry(handle, dir, de, bh);
de               3567 fs/ext4/namei.c 	if (le32_to_cpu(ent->de->inode) != ent->inode->i_ino ||
de               3568 fs/ext4/namei.c 	    ent->de->name_len != ent->dentry->d_name.len ||
de               3569 fs/ext4/namei.c 	    strncmp(ent->de->name, ent->dentry->d_name.name,
de               3570 fs/ext4/namei.c 		    ent->de->name_len) ||
de               3575 fs/ext4/namei.c 		retval = ext4_delete_entry(handle, ent->dir, ent->de, ent->bh);
de               3688 fs/ext4/namei.c 	old.bh = ext4_find_entry(old.dir, &old.dentry->d_name, &old.de, NULL);
de               3698 fs/ext4/namei.c 	if (!old.bh || le32_to_cpu(old.de->inode) != old.inode->i_ino)
de               3702 fs/ext4/namei.c 				 &new.de, &new.inlined);
de               3762 fs/ext4/namei.c 	old_file_type = old.de->file_type;
de               3882 fs/ext4/namei.c 				 &old.de, &old.inlined);
de               3892 fs/ext4/namei.c 	if (!old.bh || le32_to_cpu(old.de->inode) != old.inode->i_ino)
de               3896 fs/ext4/namei.c 				 &new.de, &new.inlined);
de               3904 fs/ext4/namei.c 	if (!new.bh || le32_to_cpu(new.de->inode) != new.inode->i_ino)
de               3945 fs/ext4/namei.c 	new_file_type = new.de->file_type;
de               3946 fs/ext4/namei.c 	retval = ext4_setent(handle, &new, old.inode->i_ino, old.de->file_type);
de                 61 fs/f2fs/dir.c  static void set_de_type(struct f2fs_dir_entry *de, umode_t mode)
de                 63 fs/f2fs/dir.c  	de->file_type = f2fs_type_by_mode[(mode & S_IFMT) >> S_SHIFT];
de                 66 fs/f2fs/dir.c  unsigned char f2fs_get_de_type(struct f2fs_dir_entry *de)
de                 68 fs/f2fs/dir.c  	if (de->file_type < F2FS_FT_MAX)
de                 69 fs/f2fs/dir.c  		return f2fs_filetype_table[de->file_type];
de                 93 fs/f2fs/dir.c  	struct f2fs_dir_entry *de;
de                 99 fs/f2fs/dir.c  	de = f2fs_find_target_dentry(fname, namehash, max_slots, &d);
de                100 fs/f2fs/dir.c  	if (de)
de                103 fs/f2fs/dir.c  	return de;
de                168 fs/f2fs/dir.c  					struct f2fs_dir_entry *de,
de                180 fs/f2fs/dir.c  	if (de->hash_code != namehash)
de                185 fs/f2fs/dir.c  	entry.len = de->name_len;
de                198 fs/f2fs/dir.c  				le16_to_cpu(de->name_len)))
de                207 fs/f2fs/dir.c  	struct f2fs_dir_entry *de;
de                225 fs/f2fs/dir.c  		de = &d->dentry[bit_pos];
de                227 fs/f2fs/dir.c  		if (unlikely(!de->name_len)) {
de                232 fs/f2fs/dir.c  		if (f2fs_match_name(d, de, fname, &cf_str, bit_pos, namehash))
de                239 fs/f2fs/dir.c  		bit_pos += GET_DENTRY_SLOTS(le16_to_cpu(de->name_len));
de                242 fs/f2fs/dir.c  	de = NULL;
de                250 fs/f2fs/dir.c  	return de;
de                263 fs/f2fs/dir.c  	struct f2fs_dir_entry *de = NULL;
de                288 fs/f2fs/dir.c  		de = find_in_block(dir, dentry_page, fname, namehash,
de                290 fs/f2fs/dir.c  		if (de)
de                298 fs/f2fs/dir.c  	if (!de && room && F2FS_I(dir)->chash != namehash) {
de                303 fs/f2fs/dir.c  	return de;
de                310 fs/f2fs/dir.c  	struct f2fs_dir_entry *de = NULL;
de                316 fs/f2fs/dir.c  		de = f2fs_find_in_inline_dir(dir, fname, res_page);
de                335 fs/f2fs/dir.c  		de = find_in_level(dir, level, fname, res_page);
de                336 fs/f2fs/dir.c  		if (de || IS_ERR(*res_page))
de                341 fs/f2fs/dir.c  	if (!de)
de                343 fs/f2fs/dir.c  	return de;
de                355 fs/f2fs/dir.c  	struct f2fs_dir_entry *de = NULL;
de                376 fs/f2fs/dir.c  	de = __f2fs_find_entry(dir, &fname, res_page);
de                379 fs/f2fs/dir.c  	return de;
de                393 fs/f2fs/dir.c  	struct f2fs_dir_entry *de;
de                395 fs/f2fs/dir.c  	de = f2fs_find_entry(dir, qstr, page);
de                396 fs/f2fs/dir.c  	if (de) {
de                397 fs/f2fs/dir.c  		res = le32_to_cpu(de->ino);
de                404 fs/f2fs/dir.c  void f2fs_set_link(struct inode *dir, struct f2fs_dir_entry *de,
de                410 fs/f2fs/dir.c  	de->ino = cpu_to_le32(inode->i_ino);
de                411 fs/f2fs/dir.c  	set_de_type(de, inode->i_mode);
de                585 fs/f2fs/dir.c  	struct f2fs_dir_entry *de;
de                589 fs/f2fs/dir.c  	de = &d->dentry[bit_pos];
de                590 fs/f2fs/dir.c  	de->hash_code = name_hash;
de                591 fs/f2fs/dir.c  	de->name_len = cpu_to_le16(name->len);
de                593 fs/f2fs/dir.c  	de->ino = cpu_to_le32(ino);
de                594 fs/f2fs/dir.c  	set_de_type(de, mode);
de                599 fs/f2fs/dir.c  			(de + i)->name_len = 0;
de                732 fs/f2fs/dir.c  	struct f2fs_dir_entry *de = NULL;
de                747 fs/f2fs/dir.c  		de = __f2fs_find_entry(dir, &fname, &page);
de                750 fs/f2fs/dir.c  	if (de) {
de                900 fs/f2fs/dir.c  	struct f2fs_dir_entry *de = NULL;
de                917 fs/f2fs/dir.c  		de = &d->dentry[bit_pos];
de                918 fs/f2fs/dir.c  		if (de->name_len == 0) {
de                923 fs/f2fs/dir.c  				KERN_WARNING, le32_to_cpu(de->ino));
de                928 fs/f2fs/dir.c  		d_type = f2fs_get_de_type(de);
de                931 fs/f2fs/dir.c  		de_name.len = le16_to_cpu(de->name_len);
de                934 fs/f2fs/dir.c  		bit_pos += GET_DENTRY_SLOTS(le16_to_cpu(de->name_len));
de                936 fs/f2fs/dir.c  				le16_to_cpu(de->name_len) > F2FS_NAME_LEN)) {
de                938 fs/f2fs/dir.c  				  __func__, le16_to_cpu(de->name_len));
de                948 fs/f2fs/dir.c  						(u32)le32_to_cpu(de->hash_code),
de                958 fs/f2fs/dir.c  					le32_to_cpu(de->ino), d_type)) {
de                964 fs/f2fs/dir.c  			f2fs_ra_node_page(sbi, le32_to_cpu(de->ino));
de               2970 fs/f2fs/f2fs.h unsigned char f2fs_get_de_type(struct f2fs_dir_entry *de);
de               2992 fs/f2fs/f2fs.h void f2fs_set_link(struct inode *dir, struct f2fs_dir_entry *de,
de                312 fs/f2fs/inline.c 	struct f2fs_dir_entry *de;
de                329 fs/f2fs/inline.c 	de = f2fs_find_target_dentry(fname, namehash, NULL, &d);
de                331 fs/f2fs/inline.c 	if (de)
de                336 fs/f2fs/inline.c 	return de;
de                445 fs/f2fs/inline.c 		struct f2fs_dir_entry *de;
de                455 fs/f2fs/inline.c 		de = &d.dentry[bit_pos];
de                457 fs/f2fs/inline.c 		if (unlikely(!de->name_len)) {
de                463 fs/f2fs/inline.c 		new_name.len = le16_to_cpu(de->name_len);
de                465 fs/f2fs/inline.c 		ino = le32_to_cpu(de->ino);
de                466 fs/f2fs/inline.c 		fake_mode = f2fs_get_de_type(de) << S_SHIFT;
de                473 fs/f2fs/inline.c 		bit_pos += GET_DENTRY_SLOTS(le16_to_cpu(de->name_len));
de                381 fs/f2fs/namei.c 	struct f2fs_dir_entry *de;
de                399 fs/f2fs/namei.c 	de = f2fs_find_entry(dir, &dot, &page);
de                400 fs/f2fs/namei.c 	if (de) {
de                411 fs/f2fs/namei.c 	de = f2fs_find_entry(dir, &dotdot, &page);
de                412 fs/f2fs/namei.c 	if (de)
de                430 fs/f2fs/namei.c 	struct f2fs_dir_entry *de;
de                450 fs/f2fs/namei.c 	de = __f2fs_find_entry(dir, &fname, &page);
de                453 fs/f2fs/namei.c 	if (!de) {
de                461 fs/f2fs/namei.c 	ino = le32_to_cpu(de->ino);
de                516 fs/f2fs/namei.c 	struct f2fs_dir_entry *de;
de                532 fs/f2fs/namei.c 	de = f2fs_find_entry(dir, &dentry->d_name, &page);
de                533 fs/f2fs/namei.c 	if (!de) {
de                548 fs/f2fs/namei.c 	f2fs_delete_entry(de, page, dir, inode);
de                115 fs/f2fs/recovery.c 	struct f2fs_dir_entry *de;
de                146 fs/f2fs/recovery.c 	de = __f2fs_find_entry(dir, &fname, &page);
de                147 fs/f2fs/recovery.c 	if (de && inode->i_ino == le32_to_cpu(de->ino))
de                150 fs/f2fs/recovery.c 	if (de) {
de                151 fs/f2fs/recovery.c 		einode = f2fs_iget_retry(inode->i_sb, le32_to_cpu(de->ino));
de                171 fs/f2fs/recovery.c 		f2fs_delete_entry(de, page, dir, einode);
de               1853 fs/f2fs/segment.c 	struct discard_entry *de = NULL;
de               1886 fs/f2fs/segment.c 		if (!de) {
de               1887 fs/f2fs/segment.c 			de = f2fs_kmem_cache_alloc(discard_entry_slab,
de               1889 fs/f2fs/segment.c 			de->start_blkaddr = START_BLOCK(sbi, cpc->trim_start);
de               1890 fs/f2fs/segment.c 			list_add_tail(&de->list, head);
de               1894 fs/f2fs/segment.c 			__set_bit_le(i, (void *)de->discard_map);
de                 43 fs/fat/dir.c   				    struct msdos_dir_entry *de)
de                 46 fs/fat/dir.c   		| (de - (struct msdos_dir_entry *)bh->b_data);
de                 83 fs/fat/dir.c   			  struct buffer_head **bh, struct msdos_dir_entry **de)
de                111 fs/fat/dir.c   	*de = (struct msdos_dir_entry *)((*bh)->b_data + offset);
de                118 fs/fat/dir.c   				struct msdos_dir_entry **de)
de                121 fs/fat/dir.c   	if (*bh && *de &&
de                122 fs/fat/dir.c   	   (*de - (struct msdos_dir_entry *)(*bh)->b_data) <
de                125 fs/fat/dir.c   		(*de)++;
de                128 fs/fat/dir.c   	return fat__get_entry(dir, pos, bh, de);
de                280 fs/fat/dir.c   			  struct buffer_head **bh, struct msdos_dir_entry **de,
de                294 fs/fat/dir.c   	ds = (struct msdos_dir_slot *)*de;
de                316 fs/fat/dir.c   		if (fat_get_entry(dir, pos, bh, de) < 0)
de                320 fs/fat/dir.c   		ds = (struct msdos_dir_slot *)*de;
de                328 fs/fat/dir.c   	if ((*de)->name[0] == DELETED_FLAG)
de                330 fs/fat/dir.c   	if ((*de)->attr == ATTR_EXT)
de                332 fs/fat/dir.c   	if (IS_FREE((*de)->name) || ((*de)->attr & ATTR_VOLUME))
de                334 fs/fat/dir.c   	if (fat_checksum((*de)->name) != alias_checksum)
de                350 fs/fat/dir.c   			   const struct msdos_dir_entry *de,
de                365 fs/fat/dir.c   	if (!isvfat && dot_hidden && (de->attr & ATTR_HIDDEN)) {
de                370 fs/fat/dir.c   	memcpy(work, de->name, sizeof(work));
de                384 fs/fat/dir.c   					de->lcase & CASE_LOWER_BASE);
de                420 fs/fat/dir.c   					de->lcase & CASE_LOWER_EXT);
de                469 fs/fat/dir.c   	struct msdos_dir_entry *de;
de                478 fs/fat/dir.c   		if (fat_get_entry(inode, &cpos, &bh, &de) == -1)
de                482 fs/fat/dir.c   		if (de->name[0] == DELETED_FLAG)
de                484 fs/fat/dir.c   		if (de->attr != ATTR_EXT && (de->attr & ATTR_VOLUME))
de                486 fs/fat/dir.c   		if (de->attr != ATTR_EXT && IS_FREE(de->name))
de                488 fs/fat/dir.c   		if (de->attr == ATTR_EXT) {
de                489 fs/fat/dir.c   			int status = fat_parse_long(inode, &cpos, &bh, &de,
de                507 fs/fat/dir.c   		len = fat_parse_short(sb, de, bufname, 0);
de                528 fs/fat/dir.c   	sinfo->slot_off = cpos - nr_slots * sizeof(*de);
de                530 fs/fat/dir.c   	sinfo->de = de;
de                532 fs/fat/dir.c   	sinfo->i_pos = fat_make_i_pos(sb, sinfo->bh, sinfo->de);
de                560 fs/fat/dir.c   	struct msdos_dir_entry *de;
de                590 fs/fat/dir.c   	if (fat_get_entry(inode, &cpos, &bh, &de) == -1)
de                599 fs/fat/dir.c   		if (de->name[0] == DELETED_FLAG)
de                601 fs/fat/dir.c   		if (de->attr != ATTR_EXT && (de->attr & ATTR_VOLUME))
de                603 fs/fat/dir.c   		if (de->attr != ATTR_EXT && IS_FREE(de->name))
de                606 fs/fat/dir.c   		if ((de->attr & ATTR_VOLUME) || IS_FREE(de->name))
de                610 fs/fat/dir.c   	if (isvfat && de->attr == ATTR_EXT) {
de                611 fs/fat/dir.c   		int status = fat_parse_long(inode, &cpos, &bh, &de,
de                635 fs/fat/dir.c   			short_len = fat_parse_short(sb, de, bufname,
de                650 fs/fat/dir.c   	short_len = fat_parse_short(sb, de, bufname, sbi->options.dotsOK);
de                662 fs/fat/dir.c   	if (!memcmp(de->name, MSDOS_DOT, MSDOS_NAME)) {
de                665 fs/fat/dir.c   	} else if (!memcmp(de->name, MSDOS_DOTDOT, MSDOS_NAME)) {
de                670 fs/fat/dir.c   		loff_t i_pos = fat_make_i_pos(sb, bh, de);
de                678 fs/fat/dir.c   			    (de->attr & ATTR_DIR) ? DT_DIR : DT_REG))
de                875 fs/fat/dir.c   			       struct msdos_dir_entry **de)
de                877 fs/fat/dir.c   	while (fat_get_entry(dir, pos, bh, de) >= 0) {
de                879 fs/fat/dir.c   		if (!IS_FREE((*de)->name) && !((*de)->attr & ATTR_VOLUME))
de                895 fs/fat/dir.c   			 struct msdos_dir_entry **de)
de                899 fs/fat/dir.c   	*de = NULL;
de                900 fs/fat/dir.c   	while (fat_get_short_entry(dir, &offset, bh, de) >= 0) {
de                901 fs/fat/dir.c   		if (!strncmp((*de)->name, MSDOS_DOTDOT, MSDOS_NAME))
de                912 fs/fat/dir.c   	struct msdos_dir_entry *de;
de                918 fs/fat/dir.c   	while (fat_get_short_entry(dir, &cpos, &bh, &de) >= 0) {
de                919 fs/fat/dir.c   		if (strncmp(de->name, MSDOS_DOT   , MSDOS_NAME) &&
de                920 fs/fat/dir.c   		    strncmp(de->name, MSDOS_DOTDOT, MSDOS_NAME)) {
de                937 fs/fat/dir.c   	struct msdos_dir_entry *de;
de                943 fs/fat/dir.c   	while (fat_get_short_entry(dir, &cpos, &bh, &de) >= 0) {
de                944 fs/fat/dir.c   		if (de->attr & ATTR_DIR)
de                963 fs/fat/dir.c   				   &sinfo->de) >= 0) {
de                964 fs/fat/dir.c   		if (!strncmp(sinfo->de->name, name, MSDOS_NAME)) {
de                965 fs/fat/dir.c   			sinfo->slot_off -= sizeof(*sinfo->de);
de                967 fs/fat/dir.c   			sinfo->i_pos = fat_make_i_pos(sb, sinfo->bh, sinfo->de);
de                987 fs/fat/dir.c   				   &sinfo->de) >= 0) {
de                988 fs/fat/dir.c   		if (fat_get_start(MSDOS_SB(sb), sinfo->de) == i_logstart) {
de                989 fs/fat/dir.c   			sinfo->slot_off -= sizeof(*sinfo->de);
de                991 fs/fat/dir.c   			sinfo->i_pos = fat_make_i_pos(sb, sinfo->bh, sinfo->de);
de               1002 fs/fat/dir.c   	struct msdos_dir_entry *de, *endp;
de               1007 fs/fat/dir.c   		if (fat_get_entry(dir, &pos, &bh, &de) < 0) {
de               1014 fs/fat/dir.c   		while (nr_slots && de < endp) {
de               1015 fs/fat/dir.c   			de->name[0] = DELETED_FLAG;
de               1016 fs/fat/dir.c   			de++;
de               1027 fs/fat/dir.c   		pos += ((orig_slots - nr_slots) * sizeof(*de)) - sizeof(*de);
de               1036 fs/fat/dir.c   	struct msdos_dir_entry *de;
de               1045 fs/fat/dir.c   	de = sinfo->de;
de               1046 fs/fat/dir.c   	sinfo->de = NULL;
de               1049 fs/fat/dir.c   	while (nr_slots && de >= (struct msdos_dir_entry *)bh->b_data) {
de               1050 fs/fat/dir.c   		de->name[0] = DELETED_FLAG;
de               1051 fs/fat/dir.c   		de--;
de               1142 fs/fat/dir.c   	struct msdos_dir_entry *de;
de               1161 fs/fat/dir.c   	de = (struct msdos_dir_entry *)bhs[0]->b_data;
de               1165 fs/fat/dir.c   	memcpy(de[0].name, MSDOS_DOT, MSDOS_NAME);
de               1166 fs/fat/dir.c   	memcpy(de[1].name, MSDOS_DOTDOT, MSDOS_NAME);
de               1167 fs/fat/dir.c   	de->attr = de[1].attr = ATTR_DIR;
de               1168 fs/fat/dir.c   	de[0].lcase = de[1].lcase = 0;
de               1169 fs/fat/dir.c   	de[0].time = de[1].time = time;
de               1170 fs/fat/dir.c   	de[0].date = de[1].date = date;
de               1173 fs/fat/dir.c   		de[0].ctime = de[1].ctime = time;
de               1174 fs/fat/dir.c   		de[0].ctime_cs = de[1].ctime_cs = time_cs;
de               1175 fs/fat/dir.c   		de[0].adate = de[0].cdate = de[1].adate = de[1].cdate = date;
de               1177 fs/fat/dir.c   		de[0].ctime = de[1].ctime = 0;
de               1178 fs/fat/dir.c   		de[0].ctime_cs = de[1].ctime_cs = 0;
de               1179 fs/fat/dir.c   		de[0].adate = de[0].cdate = de[1].adate = de[1].cdate = 0;
de               1181 fs/fat/dir.c   	fat_set_start(&de[0], cluster);
de               1182 fs/fat/dir.c   	fat_set_start(&de[1], MSDOS_I(dir)->i_logstart);
de               1183 fs/fat/dir.c   	de[0].size = de[1].size = 0;
de               1184 fs/fat/dir.c   	memset(de + 2, 0, sb->s_blocksize - 2 * sizeof(*de));
de               1203 fs/fat/dir.c   			       int *nr_cluster, struct msdos_dir_entry **de,
de               1263 fs/fat/dir.c   	*de = (struct msdos_dir_entry *)((*bh)->b_data + offset);
de               1264 fs/fat/dir.c   	*i_pos = fat_make_i_pos(sb, *bh, *de);
de               1291 fs/fat/dir.c   	struct msdos_dir_entry *uninitialized_var(de);
de               1302 fs/fat/dir.c   	while (fat_get_entry(dir, &pos, &bh, &de) > -1) {
de               1307 fs/fat/dir.c   		if (IS_FREE(de->name)) {
de               1335 fs/fat/dir.c   	pos -= free_slots * sizeof(*de);
de               1343 fs/fat/dir.c   		int size = free_slots * sizeof(*de);
de               1381 fs/fat/dir.c   					      &de, &bh, &i_pos);
de               1400 fs/fat/dir.c   	sinfo->de = de;
de               1402 fs/fat/dir.c   	sinfo->i_pos = fat_make_i_pos(sb, sinfo->bh, sinfo->de);
de                136 fs/fat/fat.h   	struct msdos_dir_entry *de;
de                285 fs/fat/fat.h   				const struct msdos_dir_entry *de)
de                287 fs/fat/fat.h   	int cluster = le16_to_cpu(de->start);
de                289 fs/fat/fat.h   		cluster |= (le16_to_cpu(de->starthi) << 16);
de                293 fs/fat/fat.h   static inline void fat_set_start(struct msdos_dir_entry *de, int cluster)
de                295 fs/fat/fat.h   	de->start   = cpu_to_le16(cluster);
de                296 fs/fat/fat.h   	de->starthi = cpu_to_le16(cluster >> 16);
de                334 fs/fat/fat.h   				struct msdos_dir_entry **de);
de                413 fs/fat/fat.h   			struct msdos_dir_entry *de, loff_t i_pos);
de                417 fs/fat/fat.h   extern int fat_fill_inode(struct inode *inode, struct msdos_dir_entry *de);
de                515 fs/fat/inode.c int fat_fill_inode(struct inode *inode, struct msdos_dir_entry *de)
de                526 fs/fat/inode.c 	if ((de->attr & ATTR_DIR) && !IS_FREE(de->name)) {
de                528 fs/fat/inode.c 		inode->i_mode = fat_make_mode(sbi, de->attr, S_IRWXUGO);
de                532 fs/fat/inode.c 		MSDOS_I(inode)->i_start = fat_get_start(sbi, de);
de                546 fs/fat/inode.c 		inode->i_mode = fat_make_mode(sbi, de->attr,
de                547 fs/fat/inode.c 			((sbi->options.showexec && !is_exec(de->name + 8))
de                549 fs/fat/inode.c 		MSDOS_I(inode)->i_start = fat_get_start(sbi, de);
de                552 fs/fat/inode.c 		inode->i_size = le32_to_cpu(de->size);
de                558 fs/fat/inode.c 	if (de->attr & ATTR_SYS) {
de                562 fs/fat/inode.c 	fat_save_attrs(inode, de->attr);
de                567 fs/fat/inode.c 	fat_time_fat2unix(sbi, &inode->i_mtime, de->time, de->date, 0);
de                569 fs/fat/inode.c 		fat_time_fat2unix(sbi, &inode->i_ctime, de->ctime,
de                570 fs/fat/inode.c 				  de->cdate, de->ctime_cs);
de                571 fs/fat/inode.c 		fat_time_fat2unix(sbi, &inode->i_atime, 0, de->adate, 0);
de                591 fs/fat/inode.c 			struct msdos_dir_entry *de, loff_t i_pos)
de                607 fs/fat/inode.c 	err = fat_fill_inode(inode, de);
de                133 fs/fat/namei_msdos.c 			if (!(sinfo->de->attr & ATTR_HIDDEN))
de                136 fs/fat/namei_msdos.c 			if (sinfo->de->attr & ATTR_HIDDEN)
de                216 fs/fat/namei_msdos.c 		inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos);
de                232 fs/fat/namei_msdos.c 	struct msdos_dir_entry de;
de                236 fs/fat/namei_msdos.c 	memcpy(de.name, name, MSDOS_NAME);
de                237 fs/fat/namei_msdos.c 	de.attr = is_dir ? ATTR_DIR : ATTR_ARCH;
de                239 fs/fat/namei_msdos.c 		de.attr |= ATTR_HIDDEN;
de                240 fs/fat/namei_msdos.c 	de.lcase = 0;
de                242 fs/fat/namei_msdos.c 	de.cdate = de.adate = 0;
de                243 fs/fat/namei_msdos.c 	de.ctime = 0;
de                244 fs/fat/namei_msdos.c 	de.ctime_cs = 0;
de                245 fs/fat/namei_msdos.c 	de.time = time;
de                246 fs/fat/namei_msdos.c 	de.date = date;
de                247 fs/fat/namei_msdos.c 	fat_set_start(&de, cluster);
de                248 fs/fat/namei_msdos.c 	de.size = 0;
de                250 fs/fat/namei_msdos.c 	err = fat_add_entries(dir, &de, 1, sinfo);
de                292 fs/fat/namei_msdos.c 	inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos);
de                376 fs/fat/namei_msdos.c 	inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos);
de                464 fs/fat/namei_msdos.c 			if (sinfo.de != old_sinfo.de) {
de                587 fs/fat/namei_vfat.c 	struct msdos_dir_entry *de;
de                616 fs/fat/namei_vfat.c 		de = (struct msdos_dir_entry *)slots;
de                637 fs/fat/namei_vfat.c 	de = (struct msdos_dir_entry *)ps;
de                642 fs/fat/namei_vfat.c 	memcpy(de->name, msdos_name, MSDOS_NAME);
de                643 fs/fat/namei_vfat.c 	de->attr = is_dir ? ATTR_DIR : ATTR_ARCH;
de                644 fs/fat/namei_vfat.c 	de->lcase = lcase;
de                646 fs/fat/namei_vfat.c 	de->time = de->ctime = time;
de                647 fs/fat/namei_vfat.c 	de->date = de->cdate = de->adate = date;
de                648 fs/fat/namei_vfat.c 	de->ctime_cs = time_cs;
de                649 fs/fat/namei_vfat.c 	fat_set_start(de, cluster);
de                650 fs/fat/namei_vfat.c 	de->size = 0;
de                721 fs/fat/namei_vfat.c 	inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos);
de                776 fs/fat/namei_vfat.c 	inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos);
de                871 fs/fat/namei_vfat.c 	inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos);
de                 67 fs/fat/nfs.c   		struct msdos_dir_entry *de ;
de                 78 fs/fat/nfs.c   		de = (struct msdos_dir_entry *)bh->b_data;
de                 82 fs/fat/nfs.c   		if (IS_FREE(de[offset].name))
de                 85 fs/fat/nfs.c   			inode = fat_build_inode(sb, &de[offset], i_pos);
de                217 fs/fat/nfs.c   	struct msdos_dir_entry *de;
de                230 fs/fat/nfs.c   	de = (struct msdos_dir_entry *) parent_bh->b_data;
de                231 fs/fat/nfs.c   	clus_to_match = fat_get_start(sbi, &de[0]);
de                232 fs/fat/nfs.c   	search_clus = fat_get_start(sbi, &de[1]);
de                243 fs/fat/nfs.c   		fat_fill_inode(dummy_grand_parent, &de[1]);
de                248 fs/fat/nfs.c   		parent = fat_build_inode(sb, sinfo.de, sinfo.i_pos);
de                266 fs/fat/nfs.c   	struct msdos_dir_entry *de;
de                270 fs/fat/nfs.c   	if (!fat_get_dotdot_entry(d_inode(child_dir), &bh, &de)) {
de                271 fs/fat/nfs.c   		int parent_logstart = fat_get_start(sbi, de);
de                102 fs/freevxfs/vxfs_lookup.c 			struct vxfs_direct *de;
de                113 fs/freevxfs/vxfs_lookup.c 			de = (struct vxfs_direct *)(kaddr + pg_ofs);
de                115 fs/freevxfs/vxfs_lookup.c 			if (!de->d_reclen) {
de                121 fs/freevxfs/vxfs_lookup.c 			pg_ofs += fs16_to_cpu(sbi, de->d_reclen);
de                122 fs/freevxfs/vxfs_lookup.c 			pos += fs16_to_cpu(sbi, de->d_reclen);
de                123 fs/freevxfs/vxfs_lookup.c 			if (!de->d_ino)
de                126 fs/freevxfs/vxfs_lookup.c 			if (namelen != fs16_to_cpu(sbi, de->d_namelen))
de                128 fs/freevxfs/vxfs_lookup.c 			if (!memcmp(name, de->d_name, namelen)) {
de                130 fs/freevxfs/vxfs_lookup.c 				de_exit = de;
de                158 fs/freevxfs/vxfs_lookup.c 	struct vxfs_direct		*de;
de                162 fs/freevxfs/vxfs_lookup.c 	de = vxfs_find_entry(dip, dp, &pp);
de                163 fs/freevxfs/vxfs_lookup.c 	if (de) {
de                164 fs/freevxfs/vxfs_lookup.c 		ino = fs32_to_cpu(VXFS_SBI(dip->i_sb), de->d_ino);
de                253 fs/freevxfs/vxfs_lookup.c 			struct vxfs_direct *de;
de                264 fs/freevxfs/vxfs_lookup.c 			de = (struct vxfs_direct *)(kaddr + pg_ofs);
de                266 fs/freevxfs/vxfs_lookup.c 			if (!de->d_reclen) {
de                272 fs/freevxfs/vxfs_lookup.c 			pg_ofs += fs16_to_cpu(sbi, de->d_reclen);
de                273 fs/freevxfs/vxfs_lookup.c 			pos += fs16_to_cpu(sbi, de->d_reclen);
de                274 fs/freevxfs/vxfs_lookup.c 			if (!de->d_ino)
de                277 fs/freevxfs/vxfs_lookup.c 			rc = dir_emit(ctx, de->d_name,
de                278 fs/freevxfs/vxfs_lookup.c 					fs16_to_cpu(sbi, de->d_namelen),
de                279 fs/freevxfs/vxfs_lookup.c 					fs32_to_cpu(sbi, de->d_ino),
de                283 fs/freevxfs/vxfs_lookup.c 				pos -= fs16_to_cpu(sbi, de->d_reclen);
de                 70 fs/hpfs/dir.c  	struct hpfs_dirent *de;
de                155 fs/hpfs/dir.c  		if (!(de = map_pos_dirent(inode, &next_pos, &qbh))) {
de                160 fs/hpfs/dir.c  		if (de->first || de->last) {
de                162 fs/hpfs/dir.c  				if (de->first && !de->last && (de->namelen != 2
de                163 fs/hpfs/dir.c  				    || de ->name[0] != 1 || de->name[1] != 1))
de                165 fs/hpfs/dir.c  				if (de->last && (de->namelen != 1 || de ->name[0] != 255))
de                172 fs/hpfs/dir.c  		tempname = hpfs_translate_name(inode->i_sb, de->name, de->namelen, lc, de->not_8x3);
de                173 fs/hpfs/dir.c  		if (!dir_emit(ctx, tempname, de->namelen, le32_to_cpu(de->fnode), DT_UNKNOWN)) {
de                174 fs/hpfs/dir.c  			if (tempname != de->name) kfree(tempname);
de                179 fs/hpfs/dir.c  		if (tempname != de->name) kfree(tempname);
de                207 fs/hpfs/dir.c  	struct hpfs_dirent *de;
de                226 fs/hpfs/dir.c  	de = map_dirent(dir, hpfs_i(dir)->i_dno, name, len, NULL, &qbh);
de                232 fs/hpfs/dir.c  	if (!de) goto end;
de                238 fs/hpfs/dir.c  	ino = le32_to_cpu(de->fnode);
de                252 fs/hpfs/dir.c  		if (de->directory)
de                254 fs/hpfs/dir.c  		else if (le32_to_cpu(de->ea_size) && hpfs_sb(dir->i_sb)->sb_eas)
de                266 fs/hpfs/dir.c  	if (!de->directory) hpfs_result->i_parent_dir = dir->i_ino;
de                268 fs/hpfs/dir.c  	if (de->has_acl || de->has_xtd_perm) if (!sb_rdonly(dir->i_sb)) {
de                281 fs/hpfs/dir.c  		if (!(result->i_ctime.tv_sec = local_to_gmt(dir->i_sb, le32_to_cpu(de->creation_date))))
de                284 fs/hpfs/dir.c  		result->i_mtime.tv_sec = local_to_gmt(dir->i_sb, le32_to_cpu(de->write_date));
de                286 fs/hpfs/dir.c  		result->i_atime.tv_sec = local_to_gmt(dir->i_sb, le32_to_cpu(de->read_date));
de                288 fs/hpfs/dir.c  		hpfs_result->i_ea_size = le32_to_cpu(de->ea_size);
de                289 fs/hpfs/dir.c  		if (!hpfs_result->i_ea_mode && de->read_only)
de                291 fs/hpfs/dir.c  		if (!de->directory) {
de                293 fs/hpfs/dir.c  				result->i_size = le32_to_cpu(de->file_size);
de                 14 fs/hpfs/dnode.c 	struct hpfs_dirent *de;
de                 17 fs/hpfs/dnode.c 	for (de = dnode_first_de(d); de < de_end; de = de_next_de(de)) {
de                 18 fs/hpfs/dnode.c 		if (de == fde) return ((loff_t) le32_to_cpu(d->self) << 4) | (loff_t)i;
de                122 fs/hpfs/dnode.c 	struct hpfs_dirent *de, *de_end, *dee = NULL, *deee = NULL;
de                124 fs/hpfs/dnode.c 	for (de = dnode_first_de(d); de < de_end; de = de_next_de(de)) {
de                125 fs/hpfs/dnode.c 		deee = dee; dee = de;
de                132 fs/hpfs/dnode.c 	struct hpfs_dirent *de, *de_end, *dee = NULL;
de                134 fs/hpfs/dnode.c 	for (de = dnode_first_de(d); de < de_end; de = de_next_de(de)) {
de                135 fs/hpfs/dnode.c 		dee = de;
de                142 fs/hpfs/dnode.c 	struct hpfs_dirent *de;
de                143 fs/hpfs/dnode.c 	if (!(de = dnode_last_de(d))) {
de                148 fs/hpfs/dnode.c 		if (de->down) {
de                150 fs/hpfs/dnode.c 				le32_to_cpu(d->self), de_down_pointer(de));
de                153 fs/hpfs/dnode.c 		if (le16_to_cpu(de->length) != 32) {
de                165 fs/hpfs/dnode.c 		de->length = cpu_to_le16(36);
de                166 fs/hpfs/dnode.c 		de->down = 1;
de                167 fs/hpfs/dnode.c 		*(__le32 *)((char *)de + 32) = cpu_to_le32(ptr);
de                177 fs/hpfs/dnode.c 	struct hpfs_dirent *de;
de                180 fs/hpfs/dnode.c 	for (de = dnode_first_de(d); de < de_end; de = de_next_de(de)) {
de                181 fs/hpfs/dnode.c 		int c = hpfs_compare_names(s, name, namelen, de->name, de->namelen, de->last);
de                188 fs/hpfs/dnode.c 	memmove((char *)de + d_size, de, (char *)de_end - (char *)de);
de                189 fs/hpfs/dnode.c 	memset(de, 0, d_size);
de                191 fs/hpfs/dnode.c 		*(__le32 *)((char *)de + d_size - 4) = cpu_to_le32(down_ptr);
de                192 fs/hpfs/dnode.c 		de->down = 1;
de                194 fs/hpfs/dnode.c 	de->length = cpu_to_le16(d_size);
de                195 fs/hpfs/dnode.c 	de->not_8x3 = hpfs_is_name_long(name, namelen);
de                196 fs/hpfs/dnode.c 	de->namelen = namelen;
de                197 fs/hpfs/dnode.c 	memcpy(de->name, name, namelen);
de                199 fs/hpfs/dnode.c 	return de;
de                205 fs/hpfs/dnode.c 			   struct hpfs_dirent *de)
de                207 fs/hpfs/dnode.c 	if (de->last) {
de                211 fs/hpfs/dnode.c 	d->first_free = cpu_to_le32(le32_to_cpu(d->first_free) - le16_to_cpu(de->length));
de                212 fs/hpfs/dnode.c 	memmove(de, de_next_de(de), le32_to_cpu(d->first_free) + (char *)d - (char *)de);
de                217 fs/hpfs/dnode.c 	struct hpfs_dirent *de;
de                220 fs/hpfs/dnode.c 	for (de = dnode_first_de(d); de < de_end; de = de_next_de(de))
de                221 fs/hpfs/dnode.c 		if (de->down) {
de                224 fs/hpfs/dnode.c 			if ((dd = hpfs_map_dnode(s, de_down_pointer(de), &qbh))) {
de                244 fs/hpfs/dnode.c 	struct hpfs_dirent *de;
de                278 fs/hpfs/dnode.c 		copy_de(de=hpfs_add_de(i->i_sb, d, name, namelen, down_ptr), new_de);
de                279 fs/hpfs/dnode.c 		t = get_pos(d, de);
de                301 fs/hpfs/dnode.c 	copy_de(de = hpfs_add_de(i->i_sb, nd, name, namelen, down_ptr), new_de);
de                302 fs/hpfs/dnode.c 	for_all_poss(i, hpfs_pos_ins, get_pos(nd, de), 1);
de                314 fs/hpfs/dnode.c 	for (de = dnode_first_de(nd); (char *)de_next_de(de) - (char *)nd < h; de = de_next_de(de)) {
de                315 fs/hpfs/dnode.c 		copy_de(hpfs_add_de(i->i_sb, ad, de->name, de->namelen, de->down ? de_down_pointer(de) : 0), de);
de                319 fs/hpfs/dnode.c 	copy_de(new_de = &nde, de);
de                320 fs/hpfs/dnode.c 	memcpy(nname, de->name, de->namelen);
de                322 fs/hpfs/dnode.c 	namelen = de->namelen;
de                325 fs/hpfs/dnode.c 	set_last_pointer(i->i_sb, ad, de->down ? de_down_pointer(de) : 0);
de                326 fs/hpfs/dnode.c 	de = de_next_de(de);
de                327 fs/hpfs/dnode.c 	memmove((char *)nd + 20, de, le32_to_cpu(nd->first_free) + (char *)nd - (char *)de);
de                328 fs/hpfs/dnode.c 	le32_add_cpu(&nd->first_free, -((char *)de - (char *)nd - 20));
de                393 fs/hpfs/dnode.c 	struct hpfs_dirent *de, *de_end;
de                404 fs/hpfs/dnode.c 	for (de = dnode_first_de(d); de < de_end; de = de_next_de(de)) {
de                405 fs/hpfs/dnode.c 		if (!(c = hpfs_compare_names(i->i_sb, name, namelen, de->name, de->namelen, de->last))) {
de                410 fs/hpfs/dnode.c 			if (de->down) {
de                411 fs/hpfs/dnode.c 				dno = de_down_pointer(de);
de                439 fs/hpfs/dnode.c 	struct hpfs_dirent *de, *nde;
de                458 fs/hpfs/dnode.c 		if (!(de = dnode_last_de(dnode))) {
de                463 fs/hpfs/dnode.c 		if (!de->down) break;
de                464 fs/hpfs/dnode.c 		dno = de_down_pointer(de);
de                467 fs/hpfs/dnode.c 	while (!(de = dnode_pre_last_de(dnode))) {
de                481 fs/hpfs/dnode.c 		de = dnode_last_de(dnode);
de                482 fs/hpfs/dnode.c 		if (!de || !de->down) {
de                488 fs/hpfs/dnode.c 		le16_add_cpu(&de->length, -4);
de                489 fs/hpfs/dnode.c 		de->down = 0;
de                493 fs/hpfs/dnode.c 	t = get_pos(dnode, de);
de                496 fs/hpfs/dnode.c 	if (!(nde = kmalloc(le16_to_cpu(de->length), GFP_NOFS))) {
de                501 fs/hpfs/dnode.c 	memcpy(nde, de, le16_to_cpu(de->length));
de                502 fs/hpfs/dnode.c 	ddno = de->down ? de_down_pointer(de) : 0;
de                503 fs/hpfs/dnode.c 	hpfs_delete_de(i->i_sb, dnode, de);
de                525 fs/hpfs/dnode.c 	struct hpfs_dirent *de;
de                535 fs/hpfs/dnode.c 		de = dnode_first_de(dnode);
de                536 fs/hpfs/dnode.c 		down = de->down ? de_down_pointer(de) : 0;
de                576 fs/hpfs/dnode.c 		for (de = dnode_first_de(dnode); de < de_end; de = de_next_de(de), p++)
de                577 fs/hpfs/dnode.c 			if (de->down) if (de_down_pointer(de) == dno) goto fnd;
de                583 fs/hpfs/dnode.c 			de->down = 0;
de                584 fs/hpfs/dnode.c 			le16_add_cpu(&de->length, -4);
de                586 fs/hpfs/dnode.c 			memmove(de_next_de(de), (char *)de_next_de(de) + 4,
de                587 fs/hpfs/dnode.c 				(char *)dnode + le32_to_cpu(dnode->first_free) - (char *)de_next_de(de));
de                591 fs/hpfs/dnode.c 			*(dnode_secno *) ((void *) de + le16_to_cpu(de->length) - 4) = down;
de                603 fs/hpfs/dnode.c 	if (!de->last) {
de                604 fs/hpfs/dnode.c 		struct hpfs_dirent *de_next = de_next_de(de);
de                610 fs/hpfs/dnode.c 		if (!(de_cp = kmalloc(le16_to_cpu(de->length), GFP_NOFS))) {
de                614 fs/hpfs/dnode.c 		memcpy(de_cp, de, le16_to_cpu(de->length));
de                615 fs/hpfs/dnode.c 		hpfs_delete_de(i->i_sb, dnode, de);
de                692 fs/hpfs/dnode.c 		if (down) if ((d1 = hpfs_map_dnode(i->i_sb, de_down_pointer(de), &qbh1))) {
de                711 fs/hpfs/dnode.c int hpfs_remove_dirent(struct inode *i, dnode_secno dno, struct hpfs_dirent *de,
de                717 fs/hpfs/dnode.c 	if (de->first || de->last) {
de                722 fs/hpfs/dnode.c 	if (de->down) down = de_down_pointer(de);
de                723 fs/hpfs/dnode.c 	if (depth && (de->down || (de == dnode_first_de(dnode) && de_next_de(de)->last))) {
de                729 fs/hpfs/dnode.c 	for_all_poss(i, hpfs_pos_del, (t = get_pos(dnode, de)) + 1, 1);
de                730 fs/hpfs/dnode.c 	hpfs_delete_de(i->i_sb, dnode, de);
de                748 fs/hpfs/dnode.c 	struct hpfs_dirent *de;
de                761 fs/hpfs/dnode.c 	de = dnode_first_de(dnode);
de                763 fs/hpfs/dnode.c 		if (de->down) if (de_down_pointer(de) == ptr) goto process_de;
de                764 fs/hpfs/dnode.c 		if (de->last) {
de                770 fs/hpfs/dnode.c 		de = de_next_de(de);
de                773 fs/hpfs/dnode.c 	if (de->down) {
de                775 fs/hpfs/dnode.c 		dno = de_down_pointer(de);
de                780 fs/hpfs/dnode.c 	if (!de->first && !de->last && de->directory && n_subdirs) (*n_subdirs)++;
de                781 fs/hpfs/dnode.c 	if (!de->first && !de->last && n_items) (*n_items)++;
de                782 fs/hpfs/dnode.c 	if ((de = de_next_de(de)) < dnode_end_de(dnode)) goto next_de;
de                800 fs/hpfs/dnode.c 	struct hpfs_dirent *de, *de_end;
de                805 fs/hpfs/dnode.c 	de = dnode_first_de(dnode);
de                807 fs/hpfs/dnode.c 	for (i = 1; de < de_end; i++, de = de_next_de(de)) {
de                809 fs/hpfs/dnode.c 			return de;
de                811 fs/hpfs/dnode.c 		if (de->last) break;
de                823 fs/hpfs/dnode.c 	struct hpfs_dirent *de;
de                830 fs/hpfs/dnode.c 	if (!(de = map_nth_dirent(s, d, 1, &qbh, NULL))) return dno;
de                834 fs/hpfs/dnode.c 	if (!de->down) {
de                839 fs/hpfs/dnode.c 	d = de_down_pointer(de);
de                850 fs/hpfs/dnode.c 	struct hpfs_dirent *de, *d;
de                860 fs/hpfs/dnode.c 	if (!(de = map_nth_dirent(inode->i_sb, dno, pos, qbh, &dnode)))
de                864 fs/hpfs/dnode.c 	if ((d = de_next_de(de)) < dnode_end_de(dnode)) {
de                876 fs/hpfs/dnode.c 		return de;
de                894 fs/hpfs/dnode.c 			return de;
de                904 fs/hpfs/dnode.c 	return de;
de                914 fs/hpfs/dnode.c 	struct hpfs_dirent *de;
de                925 fs/hpfs/dnode.c 	for (de = dnode_first_de(dnode); de < de_end; de = de_next_de(de)) {
de                926 fs/hpfs/dnode.c 		int t = hpfs_compare_names(inode->i_sb, name, len, de->name, de->namelen, de->last);
de                929 fs/hpfs/dnode.c 			return de;
de                932 fs/hpfs/dnode.c 			if (de->down) {
de                933 fs/hpfs/dnode.c 				dno = de_down_pointer(de);
de                954 fs/hpfs/dnode.c 	struct hpfs_dirent *de;
de                958 fs/hpfs/dnode.c 		de = dnode_first_de(dnode);
de                959 fs/hpfs/dnode.c 		if (de->last) {
de                960 fs/hpfs/dnode.c 			if (de->down) d1 = de_down_pointer(de);
de                967 fs/hpfs/dnode.c 	if (!de->first) goto error;
de                968 fs/hpfs/dnode.c 	d1 = de->down ? de_down_pointer(de) : 0;
de                969 fs/hpfs/dnode.c 	de = de_next_de(de);
de                970 fs/hpfs/dnode.c 	if (!de->last) goto error;
de                971 fs/hpfs/dnode.c 	d2 = de->down ? de_down_pointer(de) : 0;
de                977 fs/hpfs/dnode.c 			de = dnode_first_de(dnode);
de                978 fs/hpfs/dnode.c 			if (!de->last) goto error;
de                979 fs/hpfs/dnode.c 			d1 = de->down ? de_down_pointer(de) : 0;
de               1008 fs/hpfs/dnode.c 	struct hpfs_dirent *de, *de_end;
de               1045 fs/hpfs/dnode.c 	de = dnode_first_de(d);
de               1047 fs/hpfs/dnode.c 		while (de < de_end) {
de               1048 fs/hpfs/dnode.c 			if (de->down) if (de_down_pointer(de) == downd) goto f;
de               1049 fs/hpfs/dnode.c 			de = de_next_de(de);
de               1057 fs/hpfs/dnode.c 	if (le32_to_cpu(de->fnode) == fno) {
de               1059 fs/hpfs/dnode.c 		return de;
de               1061 fs/hpfs/dnode.c 	c = hpfs_compare_names(s, name1, name1len, de->name, de->namelen, de->last);
de               1062 fs/hpfs/dnode.c 	if (c < 0 && de->down) {
de               1063 fs/hpfs/dnode.c 		dno = de_down_pointer(de);
de               1073 fs/hpfs/dnode.c 	if (le32_to_cpu(de->fnode) == fno) {
de               1075 fs/hpfs/dnode.c 		return de;
de               1077 fs/hpfs/dnode.c 	c = hpfs_compare_names(s, name2, name2len, de->name, de->namelen, de->last);
de               1078 fs/hpfs/dnode.c 	if (c < 0 && !de->last) goto not_found;
de               1079 fs/hpfs/dnode.c 	if ((de = de_next_de(de)) < de_end) goto next_de;
de                106 fs/hpfs/hpfs_fn.h static inline dnode_secno de_down_pointer (struct hpfs_dirent *de)
de                108 fs/hpfs/hpfs_fn.h   CHKCOND(de->down,("HPFS: de_down_pointer: !de->down\n"));
de                109 fs/hpfs/hpfs_fn.h   return le32_to_cpu(*(__le32 *) ((void *) de + le16_to_cpu(de->length) - 4));
de                129 fs/hpfs/hpfs_fn.h static inline struct hpfs_dirent *de_next_de (struct hpfs_dirent *de)
de                131 fs/hpfs/hpfs_fn.h   CHKCOND(le16_to_cpu(de->length)>=0x20 && le16_to_cpu(de->length)<0x800,("HPFS: de_next_de: de->length = %x\n",(unsigned)le16_to_cpu(de->length)));
de                132 fs/hpfs/hpfs_fn.h   return (void *) de + le16_to_cpu(de->length);
de                215 fs/hpfs/inode.c 	struct hpfs_dirent *de;
de                219 fs/hpfs/inode.c 		if (!(de = map_fnode_dirent(i->i_sb, i->i_ino, fnode, &qbh))) {
de                223 fs/hpfs/inode.c 	} else de = NULL;
de                226 fs/hpfs/inode.c 		if (de) de->file_size = cpu_to_le32(i->i_size);
de                229 fs/hpfs/inode.c 		if (de) de->file_size = cpu_to_le32(0);
de                232 fs/hpfs/inode.c 	if (de) {
de                233 fs/hpfs/inode.c 		de->write_date = cpu_to_le32(gmt_to_local(i->i_sb, i->i_mtime.tv_sec));
de                234 fs/hpfs/inode.c 		de->read_date = cpu_to_le32(gmt_to_local(i->i_sb, i->i_atime.tv_sec));
de                235 fs/hpfs/inode.c 		de->creation_date = cpu_to_le32(gmt_to_local(i->i_sb, i->i_ctime.tv_sec));
de                236 fs/hpfs/inode.c 		de->read_only = !(i->i_mode & 0222);
de                237 fs/hpfs/inode.c 		de->ea_size = cpu_to_le32(hpfs_inode->i_ea_size);
de                242 fs/hpfs/inode.c 		if ((de = map_dirent(i, hpfs_inode->i_dno, "\001\001", 2, NULL, &qbh))) {
de                243 fs/hpfs/inode.c 			de->write_date = cpu_to_le32(gmt_to_local(i->i_sb, i->i_mtime.tv_sec));
de                244 fs/hpfs/inode.c 			de->read_date = cpu_to_le32(gmt_to_local(i->i_sb, i->i_atime.tv_sec));
de                245 fs/hpfs/inode.c 			de->creation_date = cpu_to_le32(gmt_to_local(i->i_sb, i->i_ctime.tv_sec));
de                246 fs/hpfs/inode.c 			de->read_only = !(i->i_mode & 0222);
de                247 fs/hpfs/inode.c 			de->ea_size = cpu_to_le32(/*hpfs_inode->i_ea_size*/0);
de                248 fs/hpfs/inode.c 			de->file_size = cpu_to_le32(0);
de                285 fs/hpfs/map.c  				struct hpfs_dirent *de = (struct hpfs_dirent *)((char *)dnode + p);
de                286 fs/hpfs/map.c  				if (le16_to_cpu(de->length) > 292 || (le16_to_cpu(de->length) < 32) || (le16_to_cpu(de->length) & 3) || p + le16_to_cpu(de->length) > 2048) {
de                290 fs/hpfs/map.c  				if (((31 + de->namelen + de->down*4 + 3) & ~3) != le16_to_cpu(de->length)) {
de                291 fs/hpfs/map.c  					if (((31 + de->namelen + de->down*4 + 3) & ~3) < le16_to_cpu(de->length) && s->s_flags & SB_RDONLY) goto ok;
de                296 fs/hpfs/map.c  				if (hpfs_sb(s)->sb_chk >= 2) b |= 1 << de->down;
de                297 fs/hpfs/map.c  				if (de->down) if (de_down_pointer(de) < 0x10) {
de                 29 fs/hpfs/namei.c 	struct hpfs_dirent *de;
de                 93 fs/hpfs/namei.c 	de = hpfs_add_de(dir->i_sb, dnode, "\001\001", 2, 0);
de                 94 fs/hpfs/namei.c 	de->creation_date = de->write_date = de->read_date = cpu_to_le32(local_get_seconds(dir->i_sb));
de                 95 fs/hpfs/namei.c 	if (!(mode & 0222)) de->read_only = 1;
de                 96 fs/hpfs/namei.c 	de->first = de->directory = 1;
de                 98 fs/hpfs/namei.c 	de->fnode = cpu_to_le32(fno);
de                376 fs/hpfs/namei.c 	struct hpfs_dirent *de;
de                386 fs/hpfs/namei.c 	de = map_dirent(dir, hpfs_i(dir)->i_dno, name, len, &dno, &qbh);
de                387 fs/hpfs/namei.c 	if (!de)
de                391 fs/hpfs/namei.c 	if (de->first)
de                395 fs/hpfs/namei.c 	if (de->directory)
de                398 fs/hpfs/namei.c 	r = hpfs_remove_dirent(dir, dno, de, &qbh, 1);
de                427 fs/hpfs/namei.c 	struct hpfs_dirent *de;
de                437 fs/hpfs/namei.c 	de = map_dirent(dir, hpfs_i(dir)->i_dno, name, len, &dno, &qbh);
de                438 fs/hpfs/namei.c 	if (!de)
de                442 fs/hpfs/namei.c 	if (de->first)
de                446 fs/hpfs/namei.c 	if (!de->directory)
de                454 fs/hpfs/namei.c 	r = hpfs_remove_dirent(dir, dno, de, &qbh, 1);
de                522 fs/hpfs/namei.c 	struct hpfs_dirent de;
de                550 fs/hpfs/namei.c 	copy_de(&de, dep);
de                551 fs/hpfs/namei.c 	de.hidden = new_name[0] == '.';
de                558 fs/hpfs/namei.c 				copy_de(nde, &de);
de                574 fs/hpfs/namei.c 	if ((r = hpfs_add_dirent(new_dir, new_name, new_len, &de))) {
de                553 fs/hpfs/super.c 	struct hpfs_dirent *de = NULL;
de                725 fs/hpfs/super.c 		de = map_dirent(root, root_dno, "\001\001", 2, NULL, &qbh);
de                726 fs/hpfs/super.c 	if (!de)
de                729 fs/hpfs/super.c 		root->i_atime.tv_sec = local_to_gmt(s, le32_to_cpu(de->read_date));
de                731 fs/hpfs/super.c 		root->i_mtime.tv_sec = local_to_gmt(s, le32_to_cpu(de->write_date));
de                733 fs/hpfs/super.c 		root->i_ctime.tv_sec = local_to_gmt(s, le32_to_cpu(de->creation_date));
de                735 fs/hpfs/super.c 		hpfs_i(root)->i_ea_size = le32_to_cpu(de->ea_size);
de                 17 fs/isofs/dir.c int isofs_name_translate(struct iso_directory_record *de, char *new, struct inode *inode)
de                 19 fs/isofs/dir.c 	char * old = de->name;
de                 20 fs/isofs/dir.c 	int len = de->name_len[0];
de                 50 fs/isofs/dir.c int get_acorn_filename(struct iso_directory_record *de,
de                 55 fs/isofs/dir.c 	int retnamlen = isofs_name_translate(de, retname, inode);
de                 59 fs/isofs/dir.c 	std = sizeof(struct iso_directory_record) + de->name_len[0];
de                 62 fs/isofs/dir.c 	if (de->length[0] - std != 32)
de                 64 fs/isofs/dir.c 	chr = ((unsigned char *) de) + std;
de                 69 fs/isofs/dir.c 	if (((de->flags[0] & 2) == 0) && (chr[13] == 0xff)
de                 95 fs/isofs/dir.c 	struct iso_directory_record *de;
de                110 fs/isofs/dir.c 		de = (struct iso_directory_record *) (bh->b_data + offset);
de                112 fs/isofs/dir.c 		de_len = *(unsigned char *)de;
de                136 fs/isofs/dir.c 			memcpy(tmpde, de, slop);
de                147 fs/isofs/dir.c 			de = tmpde;
de                150 fs/isofs/dir.c 		if (de_len < de->name_len[0] +
de                159 fs/isofs/dir.c 			isofs_normalize_block_and_offset(de,
de                166 fs/isofs/dir.c 		if (de->flags[-sbi->s_high_sierra] & 0x80) {
de                174 fs/isofs/dir.c 		if (de->name_len[0] == 1 && de->name[0] == 0) {
de                184 fs/isofs/dir.c 		if (de->name_len[0] == 1 && de->name[0] == 1) {
de                198 fs/isofs/dir.c 		if ((sbi->s_hide && (de->flags[-sbi->s_high_sierra] & 1)) ||
de                200 fs/isofs/dir.c 				(de->flags[-sbi->s_high_sierra] & 4))) {
de                207 fs/isofs/dir.c 			len = get_rock_ridge_filename(de, tmpname, inode);
de                216 fs/isofs/dir.c 				len = get_joliet_filename(de, tmpname, inode);
de                221 fs/isofs/dir.c 				len = get_acorn_filename(de, tmpname, inode);
de                225 fs/isofs/dir.c 				len = isofs_name_translate(de, tmpname, inode);
de                228 fs/isofs/dir.c 				p = de->name;
de                229 fs/isofs/dir.c 				len = de->name_len[0];
de                 50 fs/isofs/export.c 	struct iso_directory_record *de = NULL;
de                 85 fs/isofs/export.c 	de = (struct iso_directory_record*)bh->b_data;
de                 88 fs/isofs/export.c 	parent_offset = (unsigned long)isonum_711(de->length);
de                 89 fs/isofs/export.c 	de = (struct iso_directory_record*)(bh->b_data + parent_offset);
de                 92 fs/isofs/export.c 	if ((isonum_711(de->name_len) != 1) || (de->name[0] != 1)) {
de                100 fs/isofs/export.c 	isofs_normalize_block_and_offset(de, &parent_block, &parent_offset);
de                597 fs/isofs/inode.c 	struct iso_directory_record *de;
de                604 fs/isofs/inode.c 		de = (struct iso_directory_record *) (bh->b_data + offset);
de                605 fs/isofs/inode.c 		de_len = *(unsigned char *) de;
de               1228 fs/isofs/inode.c 		struct iso_directory_record *de;
de               1236 fs/isofs/inode.c 		de = (struct iso_directory_record *) (bh->b_data + offset);
de               1237 fs/isofs/inode.c 		de_len = *(unsigned char *) de;
de               1259 fs/isofs/inode.c 			memcpy(tmpde, de, slop);
de               1270 fs/isofs/inode.c 			de = tmpde;
de               1273 fs/isofs/inode.c 		inode->i_size += isonum_733(de->size);
de               1279 fs/isofs/inode.c 		more_entries = de->flags[-high_sierra] & 0x80;
de               1316 fs/isofs/inode.c 	struct iso_directory_record *de;
de               1330 fs/isofs/inode.c 	de = (struct iso_directory_record *) (bh->b_data + offset);
de               1331 fs/isofs/inode.c 	de_len = *(unsigned char *) de;
de               1347 fs/isofs/inode.c 		de = tmpde;
de               1357 fs/isofs/inode.c 	if (de->flags[-high_sierra] & 2) {
de               1390 fs/isofs/inode.c 	ei->i_section_size = isonum_733(de->size);
de               1391 fs/isofs/inode.c 	if (de->flags[-high_sierra] & 0x80) {
de               1399 fs/isofs/inode.c 		inode->i_size = isonum_733(de->size);
de               1411 fs/isofs/inode.c 	if (de->interleave[0]) {
de               1418 fs/isofs/inode.c 	if (de->file_unit_size[0] != 0) {
de               1426 fs/isofs/inode.c 	if((de->flags[-high_sierra] & ~2)!= 0){
de               1429 fs/isofs/inode.c 			inode->i_ino, de->flags[-high_sierra]);
de               1435 fs/isofs/inode.c 	inode->i_ctime.tv_sec = iso_date(de->date, high_sierra);
de               1440 fs/isofs/inode.c 	ei->i_first_extent = (isonum_733(de->extent) +
de               1441 fs/isofs/inode.c 			isonum_711(de->ext_attr_length));
de               1452 fs/isofs/inode.c 		parse_rock_ridge_inode(de, inode, relocated);
de                187 fs/isofs/isofs.h isofs_normalize_block_and_offset(struct iso_directory_record* de,
de                192 fs/isofs/isofs.h 	if (de->flags[0] & 2) {
de                194 fs/isofs/isofs.h 		*block = (unsigned long)isonum_733(de->extent)
de                195 fs/isofs/isofs.h 			+ (unsigned long)isonum_711(de->ext_attr_length);
de                 42 fs/isofs/joliet.c get_joliet_filename(struct iso_directory_record * de, unsigned char *outname, struct inode * inode)
de                 52 fs/isofs/joliet.c 		len = utf16s_to_utf8s((const wchar_t *) de->name,
de                 53 fs/isofs/joliet.c 				de->name_len[0] >> 1, UTF16_BIG_ENDIAN,
de                 56 fs/isofs/joliet.c 		len = uni16_to_x8(outname, (__be16 *) de->name,
de                 57 fs/isofs/joliet.c 				de->name_len[0] >> 1, nls);
de                 54 fs/isofs/namei.c 		struct iso_directory_record *de;
de                 64 fs/isofs/namei.c 		de = (struct iso_directory_record *) (bh->b_data + offset);
de                 66 fs/isofs/namei.c 		de_len = *(unsigned char *) de;
de                 84 fs/isofs/namei.c 			memcpy(tmpde, de, slop);
de                 95 fs/isofs/namei.c 			de = tmpde;
de                 98 fs/isofs/namei.c 		dlen = de->name_len[0];
de                 99 fs/isofs/namei.c 		dpnt = de->name;
de                109 fs/isofs/namei.c 		    ((i = get_rock_ridge_filename(de, tmpname, dir)))) {
de                114 fs/isofs/namei.c 			dlen = get_joliet_filename(de, tmpname, dir);
de                118 fs/isofs/namei.c 			dlen = get_acorn_filename(de, tmpname, dir);
de                121 fs/isofs/namei.c 			dlen = isofs_name_translate(de, tmpname, dir);
de                132 fs/isofs/namei.c 				(!(de->flags[-sbi->s_high_sierra] & 1))) &&
de                134 fs/isofs/namei.c 				(!(de->flags[-sbi->s_high_sierra] & 4)))) {
de                139 fs/isofs/namei.c 			isofs_normalize_block_and_offset(de,
de                 53 fs/isofs/rock.c static void setup_rock_ridge(struct iso_directory_record *de,
de                 56 fs/isofs/rock.c 	rs->len = sizeof(struct iso_directory_record) + de->name_len[0];
de                 59 fs/isofs/rock.c 	rs->chr = (unsigned char *)de + rs->len;
de                 60 fs/isofs/rock.c 	rs->len = *((unsigned char *)de) - rs->len;
de                198 fs/isofs/rock.c int get_rock_ridge_filename(struct iso_directory_record *de,
de                215 fs/isofs/rock.c 	setup_rock_ridge(de, inode, &rs);
de                309 fs/isofs/rock.c parse_rock_ridge_inode_internal(struct iso_directory_record *de,
de                325 fs/isofs/rock.c 	setup_rock_ridge(de, inode, &rs);
de                671 fs/isofs/rock.c int parse_rock_ridge_inode(struct iso_directory_record *de, struct inode *inode,
de                675 fs/isofs/rock.c 	int result = parse_rock_ridge_inode_internal(de, inode, flags);
de                683 fs/isofs/rock.c 		result = parse_rock_ridge_inode_internal(de, inode,
de                 76 fs/minix/dir.c static inline void *minix_next_entry(void *de, struct minix_sb_info *sbi)
de                 78 fs/minix/dir.c 	return (void*)((char*)de + sbi->s_dirsize);
de                116 fs/minix/dir.c 				minix_dirent *de = (minix_dirent *)p;
de                117 fs/minix/dir.c 				name = de->name;
de                118 fs/minix/dir.c 				inumber = de->inode;
de                182 fs/minix/dir.c 				minix_dirent *de = (minix_dirent *)p;
de                183 fs/minix/dir.c 				namx = de->name;
de                184 fs/minix/dir.c 				inumber = de->inode;
de                211 fs/minix/dir.c 	minix_dirent *de;
de                235 fs/minix/dir.c 			de = (minix_dirent *)p;
de                241 fs/minix/dir.c   				namx = de->name;
de                242 fs/minix/dir.c 				inumber = de->inode;
de                249 fs/minix/dir.c 					de->inode = 0;
de                275 fs/minix/dir.c 		de->inode = inode->i_ino;
de                289 fs/minix/dir.c int minix_delete_entry(struct minix_dir_entry *de, struct page *page)
de                293 fs/minix/dir.c 	loff_t pos = page_offset(page) + (char*)de - kaddr;
de                302 fs/minix/dir.c 			((minix3_dirent *) de)->inode = 0;
de                304 fs/minix/dir.c 			de->inode = 0;
de                342 fs/minix/dir.c 		minix_dirent *de = (minix_dirent *)kaddr;
de                344 fs/minix/dir.c 		de->inode = inode->i_ino;
de                345 fs/minix/dir.c 		strcpy(de->name, ".");
de                346 fs/minix/dir.c 		de = minix_next_entry(de, sbi);
de                347 fs/minix/dir.c 		de->inode = dir->i_ino;
de                348 fs/minix/dir.c 		strcpy(de->name, "..");
de                384 fs/minix/dir.c 				minix_dirent *de = (minix_dirent *)p;
de                385 fs/minix/dir.c 				name = de->name;
de                386 fs/minix/dir.c 				inumber = de->inode;
de                412 fs/minix/dir.c void minix_set_link(struct minix_dir_entry *de, struct page *page,
de                418 fs/minix/dir.c 			(char *)de-(char*)page_address(page);
de                426 fs/minix/dir.c 			((minix3_dirent *) de)->inode = inode->i_ino;
de                428 fs/minix/dir.c 			de->inode = inode->i_ino;
de                442 fs/minix/dir.c 	struct minix_dir_entry *de = NULL;
de                445 fs/minix/dir.c 		de = minix_next_entry(page_address(page), sbi);
de                448 fs/minix/dir.c 	return de;
de                454 fs/minix/dir.c 	struct minix_dir_entry *de = minix_find_entry(dentry, &page);
de                457 fs/minix/dir.c 	if (de) {
de                463 fs/minix/dir.c 			res = ((minix3_dirent *) de)->inode;
de                465 fs/minix/dir.c 			res = de->inode;
de                153 fs/minix/namei.c 	struct minix_dir_entry * de;
de                155 fs/minix/namei.c 	de = minix_find_entry(dentry, &page);
de                156 fs/minix/namei.c 	if (!de)
de                159 fs/minix/namei.c 	err = minix_delete_entry(de, page);
de               1861 fs/nfsd/vfs.c  	struct buffered_dirent *de = (void *)(buf->dirent + buf->used);
de               1870 fs/nfsd/vfs.c  	de->namlen = namlen;
de               1871 fs/nfsd/vfs.c  	de->offset = offset;
de               1872 fs/nfsd/vfs.c  	de->ino = ino;
de               1873 fs/nfsd/vfs.c  	de->d_type = d_type;
de               1874 fs/nfsd/vfs.c  	memcpy(de->name, name, namlen);
de               1883 fs/nfsd/vfs.c  	struct buffered_dirent *de;
de               1916 fs/nfsd/vfs.c  		de = (struct buffered_dirent *)buf.dirent;
de               1918 fs/nfsd/vfs.c  			offset = de->offset;
de               1920 fs/nfsd/vfs.c  			if (func(cdp, de->name, de->namlen, de->offset,
de               1921 fs/nfsd/vfs.c  				 de->ino, de->d_type))
de               1927 fs/nfsd/vfs.c  			reclen = ALIGN(sizeof(*de) + de->namlen,
de               1930 fs/nfsd/vfs.c  			de = (struct buffered_dirent *)((char *)de + reclen);
de                214 fs/nilfs2/dir.c nilfs_match(int len, const unsigned char *name, struct nilfs_dir_entry *de)
de                216 fs/nilfs2/dir.c 	if (len != de->name_len)
de                218 fs/nilfs2/dir.c 	if (!de->inode)
de                220 fs/nilfs2/dir.c 	return !memcmp(name, de->name, len);
de                256 fs/nilfs2/dir.c static void nilfs_set_de_type(struct nilfs_dir_entry *de, struct inode *inode)
de                260 fs/nilfs2/dir.c 	de->file_type = nilfs_type_by_mode[(mode & S_IFMT)>>S_SHIFT];
de                277 fs/nilfs2/dir.c 		struct nilfs_dir_entry *de;
de                286 fs/nilfs2/dir.c 		de = (struct nilfs_dir_entry *)(kaddr + offset);
de                289 fs/nilfs2/dir.c 		for ( ; (char *)de <= limit; de = nilfs_next_entry(de)) {
de                290 fs/nilfs2/dir.c 			if (de->rec_len == 0) {
de                295 fs/nilfs2/dir.c 			if (de->inode) {
de                298 fs/nilfs2/dir.c 				if (de->file_type < NILFS_FT_MAX)
de                299 fs/nilfs2/dir.c 					t = nilfs_filetype_table[de->file_type];
de                303 fs/nilfs2/dir.c 				if (!dir_emit(ctx, de->name, de->name_len,
de                304 fs/nilfs2/dir.c 						le64_to_cpu(de->inode), t)) {
de                309 fs/nilfs2/dir.c 			ctx->pos += nilfs_rec_len_from_disk(de->rec_len);
de                335 fs/nilfs2/dir.c 	struct nilfs_dir_entry *de;
de                353 fs/nilfs2/dir.c 			de = (struct nilfs_dir_entry *)kaddr;
de                355 fs/nilfs2/dir.c 			while ((char *) de <= kaddr) {
de                356 fs/nilfs2/dir.c 				if (de->rec_len == 0) {
de                362 fs/nilfs2/dir.c 				if (nilfs_match(namelen, name, de))
de                364 fs/nilfs2/dir.c 				de = nilfs_next_entry(de);
de                385 fs/nilfs2/dir.c 	return de;
de                391 fs/nilfs2/dir.c 	struct nilfs_dir_entry *de = NULL;
de                394 fs/nilfs2/dir.c 		de = nilfs_next_entry(
de                398 fs/nilfs2/dir.c 	return de;
de                404 fs/nilfs2/dir.c 	struct nilfs_dir_entry *de;
de                407 fs/nilfs2/dir.c 	de = nilfs_find_entry(dir, qstr, &page);
de                408 fs/nilfs2/dir.c 	if (de) {
de                409 fs/nilfs2/dir.c 		res = le64_to_cpu(de->inode);
de                417 fs/nilfs2/dir.c void nilfs_set_link(struct inode *dir, struct nilfs_dir_entry *de,
de                420 fs/nilfs2/dir.c 	unsigned int from = (char *)de - (char *)page_address(page);
de                421 fs/nilfs2/dir.c 	unsigned int to = from + nilfs_rec_len_from_disk(de->rec_len);
de                428 fs/nilfs2/dir.c 	de->inode = cpu_to_le64(inode->i_ino);
de                429 fs/nilfs2/dir.c 	nilfs_set_de_type(de, inode);
de                447 fs/nilfs2/dir.c 	struct nilfs_dir_entry *de;
de                469 fs/nilfs2/dir.c 		de = (struct nilfs_dir_entry *)kaddr;
de                471 fs/nilfs2/dir.c 		while ((char *)de <= kaddr) {
de                472 fs/nilfs2/dir.c 			if ((char *)de == dir_end) {
de                476 fs/nilfs2/dir.c 				de->rec_len = nilfs_rec_len_to_disk(chunk_size);
de                477 fs/nilfs2/dir.c 				de->inode = 0;
de                480 fs/nilfs2/dir.c 			if (de->rec_len == 0) {
de                487 fs/nilfs2/dir.c 			if (nilfs_match(namelen, name, de))
de                489 fs/nilfs2/dir.c 			name_len = NILFS_DIR_REC_LEN(de->name_len);
de                490 fs/nilfs2/dir.c 			rec_len = nilfs_rec_len_from_disk(de->rec_len);
de                491 fs/nilfs2/dir.c 			if (!de->inode && rec_len >= reclen)
de                495 fs/nilfs2/dir.c 			de = (struct nilfs_dir_entry *)((char *)de + rec_len);
de                504 fs/nilfs2/dir.c 	from = (char *)de - (char *)page_address(page);
de                509 fs/nilfs2/dir.c 	if (de->inode) {
de                512 fs/nilfs2/dir.c 		de1 = (struct nilfs_dir_entry *)((char *)de + name_len);
de                514 fs/nilfs2/dir.c 		de->rec_len = nilfs_rec_len_to_disk(name_len);
de                515 fs/nilfs2/dir.c 		de = de1;
de                517 fs/nilfs2/dir.c 	de->name_len = namelen;
de                518 fs/nilfs2/dir.c 	memcpy(de->name, name, namelen);
de                519 fs/nilfs2/dir.c 	de->inode = cpu_to_le64(inode->i_ino);
de                520 fs/nilfs2/dir.c 	nilfs_set_de_type(de, inode);
de                544 fs/nilfs2/dir.c 	struct nilfs_dir_entry *de, *pde = NULL;
de                549 fs/nilfs2/dir.c 	de = (struct nilfs_dir_entry *)(kaddr + from);
de                551 fs/nilfs2/dir.c 	while ((char *)de < (char *)dir) {
de                552 fs/nilfs2/dir.c 		if (de->rec_len == 0) {
de                558 fs/nilfs2/dir.c 		pde = de;
de                559 fs/nilfs2/dir.c 		de = nilfs_next_entry(de);
de                584 fs/nilfs2/dir.c 	struct nilfs_dir_entry *de;
de                598 fs/nilfs2/dir.c 	de = (struct nilfs_dir_entry *)kaddr;
de                599 fs/nilfs2/dir.c 	de->name_len = 1;
de                600 fs/nilfs2/dir.c 	de->rec_len = nilfs_rec_len_to_disk(NILFS_DIR_REC_LEN(1));
de                601 fs/nilfs2/dir.c 	memcpy(de->name, ".\0\0", 4);
de                602 fs/nilfs2/dir.c 	de->inode = cpu_to_le64(inode->i_ino);
de                603 fs/nilfs2/dir.c 	nilfs_set_de_type(de, inode);
de                605 fs/nilfs2/dir.c 	de = (struct nilfs_dir_entry *)(kaddr + NILFS_DIR_REC_LEN(1));
de                606 fs/nilfs2/dir.c 	de->name_len = 2;
de                607 fs/nilfs2/dir.c 	de->rec_len = nilfs_rec_len_to_disk(chunk_size - NILFS_DIR_REC_LEN(1));
de                608 fs/nilfs2/dir.c 	de->inode = cpu_to_le64(parent->i_ino);
de                609 fs/nilfs2/dir.c 	memcpy(de->name, "..\0", 4);
de                610 fs/nilfs2/dir.c 	nilfs_set_de_type(de, inode);
de                628 fs/nilfs2/dir.c 		struct nilfs_dir_entry *de;
de                635 fs/nilfs2/dir.c 		de = (struct nilfs_dir_entry *)kaddr;
de                638 fs/nilfs2/dir.c 		while ((char *)de <= kaddr) {
de                639 fs/nilfs2/dir.c 			if (de->rec_len == 0) {
de                642 fs/nilfs2/dir.c 					    kaddr, de);
de                645 fs/nilfs2/dir.c 			if (de->inode != 0) {
de                647 fs/nilfs2/dir.c 				if (de->name[0] != '.')
de                649 fs/nilfs2/dir.c 				if (de->name_len > 2)
de                651 fs/nilfs2/dir.c 				if (de->name_len < 2) {
de                652 fs/nilfs2/dir.c 					if (de->inode !=
de                655 fs/nilfs2/dir.c 				} else if (de->name[1] != '.')
de                658 fs/nilfs2/dir.c 			de = nilfs_next_entry(de);
de                260 fs/nilfs2/namei.c 	struct nilfs_dir_entry *de;
de                265 fs/nilfs2/namei.c 	de = nilfs_find_entry(dir, &dentry->d_name, &page);
de                266 fs/nilfs2/namei.c 	if (!de)
de                271 fs/nilfs2/namei.c 	if (le64_to_cpu(de->inode) != inode->i_ino)
de                280 fs/nilfs2/namei.c 	err = nilfs_delete_entry(de, page);
de                120 fs/ocfs2/dir.c 				  struct ocfs2_dir_entry *de,
de                300 fs/ocfs2/dir.c 				 struct ocfs2_dir_entry * de,
de                305 fs/ocfs2/dir.c 	const int rlen = le16_to_cpu(de->rec_len);
de                311 fs/ocfs2/dir.c 	else if (unlikely(rlen < OCFS2_DIR_REC_LEN(de->name_len)))
de                314 fs/ocfs2/dir.c 		 ((char *) de - bh->b_data) + rlen > dir->i_sb->s_blocksize))
de                321 fs/ocfs2/dir.c 		     offset, (unsigned long long)le64_to_cpu(de->inode), rlen,
de                322 fs/ocfs2/dir.c 		     de->name_len);
de                329 fs/ocfs2/dir.c 			      struct ocfs2_dir_entry *de)
de                331 fs/ocfs2/dir.c 	if (len != de->name_len)
de                333 fs/ocfs2/dir.c 	if (!de->inode)
de                335 fs/ocfs2/dir.c 	return !memcmp(name, de->name, len);
de                349 fs/ocfs2/dir.c 	struct ocfs2_dir_entry *de;
de                361 fs/ocfs2/dir.c 		de = (struct ocfs2_dir_entry *) de_buf;
de                364 fs/ocfs2/dir.c 		    ocfs2_match(namelen, name, de)) {
de                366 fs/ocfs2/dir.c 			if (!ocfs2_check_dir_entry(dir, de, bh, offset)) {
de                370 fs/ocfs2/dir.c 			*res_dir = de;
de                376 fs/ocfs2/dir.c 		de_len = le16_to_cpu(de->rec_len);
de               1095 fs/ocfs2/dir.c 	struct ocfs2_dir_entry *de = res->dl_entry;
de               1114 fs/ocfs2/dir.c 	de->inode = cpu_to_le64(OCFS2_I(new_entry_inode)->ip_blkno);
de               1115 fs/ocfs2/dir.c 	ocfs2_set_de_type(de, new_entry_inode->i_mode);
de               1132 fs/ocfs2/dir.c 	struct ocfs2_dir_entry *de, *pde;
de               1141 fs/ocfs2/dir.c 	de = (struct ocfs2_dir_entry *) first_de;
de               1143 fs/ocfs2/dir.c 		if (!ocfs2_check_dir_entry(dir, de, bh, i)) {
de               1148 fs/ocfs2/dir.c 		if (de == de_del)  {
de               1158 fs/ocfs2/dir.c 						le16_to_cpu(de->rec_len));
de               1159 fs/ocfs2/dir.c 			de->inode = 0;
de               1164 fs/ocfs2/dir.c 		i += le16_to_cpu(de->rec_len);
de               1165 fs/ocfs2/dir.c 		pde = de;
de               1166 fs/ocfs2/dir.c 		de = (struct ocfs2_dir_entry *)((char *)de + le16_to_cpu(de->rec_len));
de               1172 fs/ocfs2/dir.c static unsigned int ocfs2_figure_dirent_hole(struct ocfs2_dir_entry *de)
de               1176 fs/ocfs2/dir.c 	if (le64_to_cpu(de->inode) == 0)
de               1177 fs/ocfs2/dir.c 		hole = le16_to_cpu(de->rec_len);
de               1179 fs/ocfs2/dir.c 		hole = le16_to_cpu(de->rec_len) -
de               1180 fs/ocfs2/dir.c 			OCFS2_DIR_REC_LEN(de->name_len);
de               1190 fs/ocfs2/dir.c 	struct ocfs2_dir_entry *de;
de               1196 fs/ocfs2/dir.c 	de = (struct ocfs2_dir_entry *)de_buf;
de               1199 fs/ocfs2/dir.c 			this_hole = ocfs2_figure_dirent_hole(de);
de               1204 fs/ocfs2/dir.c 		de_buf += le16_to_cpu(de->rec_len);
de               1205 fs/ocfs2/dir.c 		de = (struct ocfs2_dir_entry *)de_buf;
de               1406 fs/ocfs2/dir.c static inline int ocfs2_dirent_would_fit(struct ocfs2_dir_entry *de,
de               1412 fs/ocfs2/dir.c 	if (le64_to_cpu(de->inode) == 0 &&
de               1413 fs/ocfs2/dir.c 	    le16_to_cpu(de->rec_len) >= new_rec_len)
de               1420 fs/ocfs2/dir.c 	de_really_used = OCFS2_DIR_REC_LEN(de->name_len);
de               1421 fs/ocfs2/dir.c 	if (le16_to_cpu(de->rec_len) >= (de_really_used + new_rec_len))
de               1590 fs/ocfs2/dir.c 	struct ocfs2_dir_entry *de, *de1;
de               1636 fs/ocfs2/dir.c 	de = (struct ocfs2_dir_entry *) data_start;
de               1638 fs/ocfs2/dir.c 		BUG_ON((char *)de >= (size + data_start));
de               1643 fs/ocfs2/dir.c 		if (!ocfs2_check_dir_entry(dir, de, insert_bh, offset)) {
de               1647 fs/ocfs2/dir.c 		if (ocfs2_match(namelen, name, de)) {
de               1654 fs/ocfs2/dir.c 		mlog_bug_on_msg(ocfs2_skip_dir_trailer(dir, de, offset, size),
de               1662 fs/ocfs2/dir.c 		if (ocfs2_dirent_would_fit(de, rec_len)) {
de               1693 fs/ocfs2/dir.c 			offset += le16_to_cpu(de->rec_len);
de               1694 fs/ocfs2/dir.c 			if (le64_to_cpu(de->inode)) {
de               1695 fs/ocfs2/dir.c 				de1 = (struct ocfs2_dir_entry *)((char *) de +
de               1696 fs/ocfs2/dir.c 					OCFS2_DIR_REC_LEN(de->name_len));
de               1698 fs/ocfs2/dir.c 					cpu_to_le16(le16_to_cpu(de->rec_len) -
de               1699 fs/ocfs2/dir.c 					OCFS2_DIR_REC_LEN(de->name_len));
de               1700 fs/ocfs2/dir.c 				de->rec_len = cpu_to_le16(OCFS2_DIR_REC_LEN(de->name_len));
de               1701 fs/ocfs2/dir.c 				de = de1;
de               1703 fs/ocfs2/dir.c 			de->file_type = FT_UNKNOWN;
de               1705 fs/ocfs2/dir.c 				de->inode = cpu_to_le64(blkno);
de               1706 fs/ocfs2/dir.c 				ocfs2_set_de_type(de, inode->i_mode);
de               1708 fs/ocfs2/dir.c 				de->inode = 0;
de               1709 fs/ocfs2/dir.c 			de->name_len = namelen;
de               1710 fs/ocfs2/dir.c 			memcpy(de->name, name, namelen);
de               1721 fs/ocfs2/dir.c 		offset += le16_to_cpu(de->rec_len);
de               1722 fs/ocfs2/dir.c 		de = (struct ocfs2_dir_entry *) ((char *) de + le16_to_cpu(de->rec_len));
de               1744 fs/ocfs2/dir.c 	struct ocfs2_dir_entry *de;
de               1763 fs/ocfs2/dir.c 				de = (struct ocfs2_dir_entry *)
de               1771 fs/ocfs2/dir.c 				if (le16_to_cpu(de->rec_len) <
de               1774 fs/ocfs2/dir.c 				i += le16_to_cpu(de->rec_len);
de               1780 fs/ocfs2/dir.c 		de = (struct ocfs2_dir_entry *) (data->id_data + ctx->pos);
de               1781 fs/ocfs2/dir.c 		if (!ocfs2_check_dir_entry(inode, de, di_bh, ctx->pos)) {
de               1786 fs/ocfs2/dir.c 		offset += le16_to_cpu(de->rec_len);
de               1787 fs/ocfs2/dir.c 		if (le64_to_cpu(de->inode)) {
de               1788 fs/ocfs2/dir.c 			if (!dir_emit(ctx, de->name, de->name_len,
de               1789 fs/ocfs2/dir.c 				      le64_to_cpu(de->inode),
de               1790 fs/ocfs2/dir.c 				      fs_ftype_to_dtype(de->file_type)))
de               1793 fs/ocfs2/dir.c 		ctx->pos += le16_to_cpu(de->rec_len);
de               1812 fs/ocfs2/dir.c 	struct ocfs2_dir_entry * de;
de               1853 fs/ocfs2/dir.c 				de = (struct ocfs2_dir_entry *) (bh->b_data + i);
de               1860 fs/ocfs2/dir.c 				if (le16_to_cpu(de->rec_len) <
de               1863 fs/ocfs2/dir.c 				i += le16_to_cpu(de->rec_len);
de               1873 fs/ocfs2/dir.c 			de = (struct ocfs2_dir_entry *) (bh->b_data + offset);
de               1874 fs/ocfs2/dir.c 			if (!ocfs2_check_dir_entry(inode, de, bh, offset)) {
de               1880 fs/ocfs2/dir.c 			if (le64_to_cpu(de->inode)) {
de               1881 fs/ocfs2/dir.c 				if (!dir_emit(ctx, de->name,
de               1882 fs/ocfs2/dir.c 						de->name_len,
de               1883 fs/ocfs2/dir.c 						le64_to_cpu(de->inode),
de               1884 fs/ocfs2/dir.c 					fs_ftype_to_dtype(de->file_type))) {
de               1890 fs/ocfs2/dir.c 			offset += le16_to_cpu(de->rec_len);
de               1891 fs/ocfs2/dir.c 			ctx->pos += le16_to_cpu(de->rec_len);
de               2158 fs/ocfs2/dir.c 	struct ocfs2_dir_entry *de = (struct ocfs2_dir_entry *)start;
de               2160 fs/ocfs2/dir.c 	de->inode = cpu_to_le64(OCFS2_I(inode)->ip_blkno);
de               2161 fs/ocfs2/dir.c 	de->name_len = 1;
de               2162 fs/ocfs2/dir.c 	de->rec_len =
de               2163 fs/ocfs2/dir.c 		cpu_to_le16(OCFS2_DIR_REC_LEN(de->name_len));
de               2164 fs/ocfs2/dir.c 	strcpy(de->name, ".");
de               2165 fs/ocfs2/dir.c 	ocfs2_set_de_type(de, S_IFDIR);
de               2167 fs/ocfs2/dir.c 	de = (struct ocfs2_dir_entry *) ((char *)de + le16_to_cpu(de->rec_len));
de               2168 fs/ocfs2/dir.c 	de->inode = cpu_to_le64(OCFS2_I(parent)->ip_blkno);
de               2169 fs/ocfs2/dir.c 	de->rec_len = cpu_to_le16(size - OCFS2_DIR_REC_LEN(1));
de               2170 fs/ocfs2/dir.c 	de->name_len = 2;
de               2171 fs/ocfs2/dir.c 	strcpy(de->name, "..");
de               2172 fs/ocfs2/dir.c 	ocfs2_set_de_type(de, S_IFDIR);
de               2174 fs/ocfs2/dir.c 	return de;
de               2225 fs/ocfs2/dir.c 	struct ocfs2_dir_entry *de;
de               2247 fs/ocfs2/dir.c 	de = ocfs2_fill_initial_dirents(inode, parent, new_bh->b_data, size);
de               2249 fs/ocfs2/dir.c 		int size = le16_to_cpu(de->rec_len);
de               2595 fs/ocfs2/dir.c 	struct ocfs2_dir_entry *de;
de               2604 fs/ocfs2/dir.c 		de = (struct ocfs2_dir_entry *)de_buf;
de               2606 fs/ocfs2/dir.c 		namelen = de->name_len;
de               2607 fs/ocfs2/dir.c 		if (!namelen || !de->inode)
de               2610 fs/ocfs2/dir.c 		ocfs2_dx_dir_name_hash(dir, de->name, namelen, &hinfo);
de               2625 fs/ocfs2/dir.c 		de_buf += le16_to_cpu(de->rec_len);
de               2641 fs/ocfs2/dir.c 	struct ocfs2_dir_entry *de;
de               2651 fs/ocfs2/dir.c 		de = (struct ocfs2_dir_entry *)de_buf;
de               2653 fs/ocfs2/dir.c 		if (!de->name_len || !de->inode)
de               2656 fs/ocfs2/dir.c 		ocfs2_dx_dir_name_hash(dir, de->name, de->name_len, &hinfo);
de               2661 fs/ocfs2/dir.c 				de->name_len, de->name,
de               2669 fs/ocfs2/dir.c 		de_buf += le16_to_cpu(de->rec_len);
de               2683 fs/ocfs2/dir.c 	struct ocfs2_dir_entry *de;
de               2690 fs/ocfs2/dir.c 		de = (struct ocfs2_dir_entry *)de_buf;
de               2692 fs/ocfs2/dir.c 		if (de->name_len && de->inode)
de               2695 fs/ocfs2/dir.c 		de_buf += le16_to_cpu(de->rec_len);
de               2720 fs/ocfs2/dir.c 	struct ocfs2_dir_entry *de;
de               2734 fs/ocfs2/dir.c 	de = (struct ocfs2_dir_entry *)de_buf;
de               2736 fs/ocfs2/dir.c 		this_hole = ocfs2_figure_dirent_hole(de);
de               2740 fs/ocfs2/dir.c 		prev_de = de;
de               2741 fs/ocfs2/dir.c 		de_buf += le16_to_cpu(de->rec_len);
de               2742 fs/ocfs2/dir.c 		de = (struct ocfs2_dir_entry *)de_buf;
de               3164 fs/ocfs2/dir.c 	struct ocfs2_dir_entry * de;
de               3288 fs/ocfs2/dir.c 	de = (struct ocfs2_dir_entry *) new_bh->b_data;
de               3289 fs/ocfs2/dir.c 	de->inode = 0;
de               3291 fs/ocfs2/dir.c 		de->rec_len = cpu_to_le16(ocfs2_dir_trailer_blk_off(sb));
de               3293 fs/ocfs2/dir.c 		ocfs2_init_dir_trailer(dir, new_bh, le16_to_cpu(de->rec_len));
de               3304 fs/ocfs2/dir.c 		de->rec_len = cpu_to_le16(sb->s_blocksize);
de               3345 fs/ocfs2/dir.c 	struct ocfs2_dir_entry *de, *last_de = NULL;
de               3364 fs/ocfs2/dir.c 		de = (struct ocfs2_dir_entry *)de_buf;
de               3366 fs/ocfs2/dir.c 		if (!ocfs2_check_dir_entry(dir, de, di_bh, offset)) {
de               3370 fs/ocfs2/dir.c 		if (ocfs2_match(namelen, name, de)) {
de               3379 fs/ocfs2/dir.c 		if (ocfs2_dirent_would_fit(de, rec_len)) {
de               3388 fs/ocfs2/dir.c 		last_de = de;
de               3389 fs/ocfs2/dir.c 		de_buf += le16_to_cpu(de->rec_len);
de               3390 fs/ocfs2/dir.c 		offset += le16_to_cpu(de->rec_len);
de               3414 fs/ocfs2/dir.c 	struct ocfs2_dir_entry *de;
de               3425 fs/ocfs2/dir.c 	de = (struct ocfs2_dir_entry *) bh->b_data;
de               3427 fs/ocfs2/dir.c 		if ((char *)de >= sb->s_blocksize + bh->b_data) {
de               3446 fs/ocfs2/dir.c 			de = (struct ocfs2_dir_entry *) bh->b_data;
de               3448 fs/ocfs2/dir.c 		if (!ocfs2_check_dir_entry(dir, de, bh, offset)) {
de               3452 fs/ocfs2/dir.c 		if (ocfs2_match(namelen, name, de)) {
de               3457 fs/ocfs2/dir.c 		if (ocfs2_skip_dir_trailer(dir, de, offset % blocksize,
de               3461 fs/ocfs2/dir.c 		if (ocfs2_dirent_would_fit(de, rec_len)) {
de               3470 fs/ocfs2/dir.c 		offset += le16_to_cpu(de->rec_len);
de               3471 fs/ocfs2/dir.c 		de = (struct ocfs2_dir_entry *)((char *) de + le16_to_cpu(de->rec_len));
de               1590 fs/ocfs2/ocfs2_fs.h static inline void ocfs2_set_de_type(struct ocfs2_dir_entry *de,
de               1593 fs/ocfs2/ocfs2_fs.h 	de->file_type = fs_umode_to_ftype(mode);
de                 46 fs/proc/generic.c static int proc_match(const char *name, struct proc_dir_entry *de, unsigned int len)
de                 48 fs/proc/generic.c 	if (len < de->namelen)
de                 50 fs/proc/generic.c 	if (len > de->namelen)
de                 53 fs/proc/generic.c 	return memcmp(name, de->name, len);
de                 75 fs/proc/generic.c 		struct proc_dir_entry *de = rb_entry(node,
de                 78 fs/proc/generic.c 		int result = proc_match(name, de, len);
de                 85 fs/proc/generic.c 			return de;
de                 91 fs/proc/generic.c 			      struct proc_dir_entry *de)
de                101 fs/proc/generic.c 		int result = proc_match(de->name, this, de->namelen);
de                113 fs/proc/generic.c 	rb_link_node(&de->subdir_node, parent, new);
de                114 fs/proc/generic.c 	rb_insert_color(&de->subdir_node, root);
de                121 fs/proc/generic.c 	struct proc_dir_entry *de = PDE(inode);
de                131 fs/proc/generic.c 	proc_set_user(de, inode->i_uid, inode->i_gid);
de                132 fs/proc/generic.c 	de->mode = inode->i_mode;
de                140 fs/proc/generic.c 	struct proc_dir_entry *de = PDE(inode);
de                141 fs/proc/generic.c 	if (de && de->nlink)
de                142 fs/proc/generic.c 		set_nlink(inode, de->nlink);
de                161 fs/proc/generic.c 	struct proc_dir_entry	*de;
de                164 fs/proc/generic.c 	de = *ret;
de                165 fs/proc/generic.c 	if (!de)
de                166 fs/proc/generic.c 		de = &proc_root;
de                174 fs/proc/generic.c 		de = pde_subdir_find(de, cp, len);
de                175 fs/proc/generic.c 		if (!de) {
de                182 fs/proc/generic.c 	*ret = de;
de                248 fs/proc/generic.c 			      struct proc_dir_entry *de)
de                253 fs/proc/generic.c 	de = pde_subdir_find(de, dentry->d_name.name, dentry->d_name.len);
de                254 fs/proc/generic.c 	if (de) {
de                255 fs/proc/generic.c 		pde_get(de);
de                257 fs/proc/generic.c 		inode = proc_get_inode(dir->i_sb, de);
de                260 fs/proc/generic.c 		d_set_d_op(dentry, de->proc_dops);
de                283 fs/proc/generic.c 		    struct proc_dir_entry *de)
de                292 fs/proc/generic.c 	de = pde_subdir_first(de);
de                294 fs/proc/generic.c 		if (!de) {
de                300 fs/proc/generic.c 		de = pde_subdir_next(de);
de                306 fs/proc/generic.c 		pde_get(de);
de                308 fs/proc/generic.c 		if (!dir_emit(ctx, de->name, de->namelen,
de                309 fs/proc/generic.c 			    de->low_ino, de->mode >> 12)) {
de                310 fs/proc/generic.c 			pde_put(de);
de                315 fs/proc/generic.c 		next = pde_subdir_next(de);
de                316 fs/proc/generic.c 		pde_put(de);
de                317 fs/proc/generic.c 		de = next;
de                318 fs/proc/generic.c 	} while (de);
de                563 fs/proc/generic.c 	struct proc_dir_entry *de = PDE(inode);
de                565 fs/proc/generic.c 	if (de->state_size)
de                566 fs/proc/generic.c 		return seq_open_private(file, de->seq_ops, de->state_size);
de                567 fs/proc/generic.c 	return seq_open(file, de->seq_ops);
de                572 fs/proc/generic.c 	struct proc_dir_entry *de = PDE(inode);
de                574 fs/proc/generic.c 	if (de->state_size)
de                604 fs/proc/generic.c 	struct proc_dir_entry *de = PDE(inode);
de                606 fs/proc/generic.c 	return single_open(file, de->single_show, de->data);
de                631 fs/proc/generic.c void proc_set_size(struct proc_dir_entry *de, loff_t size)
de                633 fs/proc/generic.c 	de->size = size;
de                637 fs/proc/generic.c void proc_set_user(struct proc_dir_entry *de, kuid_t uid, kgid_t gid)
de                639 fs/proc/generic.c 	de->uid = uid;
de                640 fs/proc/generic.c 	de->gid = gid;
de                657 fs/proc/generic.c 	struct proc_dir_entry *de = NULL;
de                668 fs/proc/generic.c 	de = pde_subdir_find(parent, fn, len);
de                669 fs/proc/generic.c 	if (de)
de                670 fs/proc/generic.c 		rb_erase(&de->subdir_node, &parent->subdir);
de                672 fs/proc/generic.c 	if (!de) {
de                677 fs/proc/generic.c 	proc_entry_rundown(de);
de                679 fs/proc/generic.c 	if (S_ISDIR(de->mode))
de                681 fs/proc/generic.c 	de->nlink = 0;
de                682 fs/proc/generic.c 	WARN(pde_subdir_first(de),
de                684 fs/proc/generic.c 	     __func__, de->parent->name, de->name, pde_subdir_first(de)->name);
de                685 fs/proc/generic.c 	pde_put(de);
de                691 fs/proc/generic.c 	struct proc_dir_entry *root = NULL, *de, *next;
de                709 fs/proc/generic.c 	de = root;
de                711 fs/proc/generic.c 		next = pde_subdir_first(de);
de                713 fs/proc/generic.c 			rb_erase(&next->subdir_node, &de->subdir);
de                714 fs/proc/generic.c 			de = next;
de                719 fs/proc/generic.c 		proc_entry_rundown(de);
de                720 fs/proc/generic.c 		next = de->parent;
de                721 fs/proc/generic.c 		if (S_ISDIR(de->mode))
de                723 fs/proc/generic.c 		de->nlink = 0;
de                724 fs/proc/generic.c 		if (de == root)
de                726 fs/proc/generic.c 		pde_put(de);
de                729 fs/proc/generic.c 		de = next;
de                738 fs/proc/generic.c 	struct proc_dir_entry *de = PDE(inode);
de                739 fs/proc/generic.c 	return de->parent->data;
de                743 fs/proc/generic.c void proc_remove(struct proc_dir_entry *de)
de                745 fs/proc/generic.c 	if (de)
de                746 fs/proc/generic.c 		remove_proc_subtree(de->name, de->parent);
de                 34 fs/proc/inode.c 	struct proc_dir_entry *de;
de                 44 fs/proc/inode.c 	de = PDE(inode);
de                 45 fs/proc/inode.c 	if (de)
de                 46 fs/proc/inode.c 		pde_put(de);
de                178 fs/proc/inode.c void proc_entry_rundown(struct proc_dir_entry *de)
de                182 fs/proc/inode.c 	de->pde_unload_completion = &c;
de                183 fs/proc/inode.c 	if (atomic_add_return(BIAS, &de->in_use) != BIAS)
de                188 fs/proc/inode.c 	spin_lock(&de->pde_unload_lock);
de                189 fs/proc/inode.c 	while (!list_empty(&de->pde_openers)) {
de                191 fs/proc/inode.c 		pdeo = list_first_entry(&de->pde_openers, struct pde_opener, lh);
de                192 fs/proc/inode.c 		close_pdeo(de, pdeo);
de                193 fs/proc/inode.c 		spin_lock(&de->pde_unload_lock);
de                195 fs/proc/inode.c 	spin_unlock(&de->pde_unload_lock);
de                449 fs/proc/inode.c struct inode *proc_get_inode(struct super_block *sb, struct proc_dir_entry *de)
de                454 fs/proc/inode.c 		inode->i_ino = de->low_ino;
de                456 fs/proc/inode.c 		PROC_I(inode)->pde = de;
de                458 fs/proc/inode.c 		if (is_empty_pde(de)) {
de                462 fs/proc/inode.c 		if (de->mode) {
de                463 fs/proc/inode.c 			inode->i_mode = de->mode;
de                464 fs/proc/inode.c 			inode->i_uid = de->uid;
de                465 fs/proc/inode.c 			inode->i_gid = de->gid;
de                467 fs/proc/inode.c 		if (de->size)
de                468 fs/proc/inode.c 			inode->i_size = de->size;
de                469 fs/proc/inode.c 		if (de->nlink)
de                470 fs/proc/inode.c 			set_nlink(inode, de->nlink);
de                471 fs/proc/inode.c 		WARN_ON(!de->proc_iops);
de                472 fs/proc/inode.c 		inode->i_op = de->proc_iops;
de                473 fs/proc/inode.c 		if (de->proc_fops) {
de                476 fs/proc/inode.c 				if (!de->proc_fops->compat_ioctl)
de                483 fs/proc/inode.c 				inode->i_fop = de->proc_fops;
de                487 fs/proc/inode.c 	       pde_put(de);
de                165 fs/proc/proc_net.c 	struct proc_dir_entry *de = PDE(inode);
de                173 fs/proc/proc_net.c 	err = single_open(file, de->single_show, net);
de                277 fs/proc/proc_net.c 	struct dentry *de;
de                280 fs/proc/proc_net.c 	de = ERR_PTR(-ENOENT);
de                283 fs/proc/proc_net.c 		de = proc_lookup_de(dir, dentry, net->proc_net);
de                286 fs/proc/proc_net.c 	return de;
de                 23 fs/qnx4/dir.c  	struct qnx4_inode_entry *de;
de                 42 fs/qnx4/dir.c  			de = (struct qnx4_inode_entry *) (bh->b_data + offset);
de                 43 fs/qnx4/dir.c  			if (!de->di_fname[0])
de                 45 fs/qnx4/dir.c  			if (!(de->di_status & (QNX4_FILE_USED|QNX4_FILE_LINK)))
de                 47 fs/qnx4/dir.c  			if (!(de->di_status & QNX4_FILE_LINK))
de                 51 fs/qnx4/dir.c  			size = strnlen(de->di_fname, size);
de                 52 fs/qnx4/dir.c  			QNX4DEBUG((KERN_INFO "qnx4_readdir:%.*s\n", size, de->di_fname));
de                 53 fs/qnx4/dir.c  			if (!(de->di_status & QNX4_FILE_LINK))
de                 56 fs/qnx4/dir.c  				le  = (struct qnx4_link_info*)de;
de                 61 fs/qnx4/dir.c  			if (!dir_emit(ctx, de->di_fname, size, ino, DT_UNKNOWN)) {
de                 29 fs/qnx4/namei.c 	struct qnx4_inode_entry *de;
de                 36 fs/qnx4/namei.c 	de = (struct qnx4_inode_entry *) (bh->b_data + *offset);
de                 38 fs/qnx4/namei.c 	if ((de->di_status & QNX4_FILE_LINK) != 0) {
de                 43 fs/qnx4/namei.c 	thislen = strlen( de->di_fname );
de                 49 fs/qnx4/namei.c 	if (strncmp(name, de->di_fname, len) == 0) {
de                 50 fs/qnx4/namei.c 		if ((de->di_status & (QNX4_FILE_USED|QNX4_FILE_LINK)) != 0) {
de                 98 fs/qnx4/namei.c 	struct qnx4_inode_entry *de;
de                105 fs/qnx4/namei.c 	if (!(bh = qnx4_find_entry(len, dir, name, &de, &ino)))
de                108 fs/qnx4/namei.c 	if ((de->di_status & QNX4_FILE_LINK) == QNX4_FILE_LINK) {
de                109 fs/qnx4/namei.c 		lnk = (struct qnx4_link_info *) de;
de                 46 fs/qnx6/dir.c  					 struct qnx6_long_dir_entry *de,
de                 50 fs/qnx6/dir.c  	u32 s = fs32_to_cpu(sbi, de->de_long_inode); /* in block units */
de                 63 fs/qnx6/dir.c  			struct qnx6_long_dir_entry *de,
de                 73 fs/qnx6/dir.c  	if (de->de_size != 0xff) {
de                 76 fs/qnx6/dir.c  		pr_err("invalid direntry size (%i).\n", de->de_size);
de                 79 fs/qnx6/dir.c  	lf = qnx6_longname(s, de, &page);
de                 96 fs/qnx6/dir.c  	if (!test_opt(s, MMI_FS) && fs32_to_cpu(sbi, de->de_checksum) !=
de                130 fs/qnx6/dir.c  		struct qnx6_dir_entry *de;
de                138 fs/qnx6/dir.c  		de = ((struct qnx6_dir_entry *)page_address(page)) + start;
de                139 fs/qnx6/dir.c  		for (; i < limit; i++, de++, ctx->pos += QNX6_DIR_ENTRY_SIZE) {
de                140 fs/qnx6/dir.c  			int size = de->de_size;
de                141 fs/qnx6/dir.c  			u32 no_inode = fs32_to_cpu(sbi, de->de_inode);
de                151 fs/qnx6/dir.c  					(struct qnx6_long_dir_entry *)de,
de                158 fs/qnx6/dir.c  					 __func__, size, de->de_fname,
de                160 fs/qnx6/dir.c  				if (!dir_emit(ctx, de->de_fname, size,
de                176 fs/qnx6/dir.c  			struct qnx6_long_dir_entry *de, struct inode *dir)
de                182 fs/qnx6/dir.c  	struct qnx6_long_filename *lf = qnx6_longname(s, de, &page);
de                194 fs/qnx6/dir.c  		return fs32_to_cpu(sbi, de->de_inode);
de                204 fs/qnx6/dir.c  			struct qnx6_dir_entry *de)
de                207 fs/qnx6/dir.c  	if (memcmp(name, de->de_fname, len) == 0)
de                208 fs/qnx6/dir.c  		return fs32_to_cpu(sbi, de->de_inode);
de                222 fs/qnx6/dir.c  	struct qnx6_dir_entry *de;
de                240 fs/qnx6/dir.c  			de = (struct qnx6_dir_entry *)page_address(page);
de                241 fs/qnx6/dir.c  			for (i = 0; i < limit; i++, de++) {
de                244 fs/qnx6/dir.c  					if (len != de->de_size)
de                246 fs/qnx6/dir.c  					ino = qnx6_match(s, len, name, de);
de                249 fs/qnx6/dir.c  				} else if (de->de_size == 0xff) {
de                251 fs/qnx6/dir.c  					lde = (struct qnx6_long_dir_entry *)de;
de                 75 fs/reiserfs/dir.c 	struct reiserfs_dir_entry de;
de                 99 fs/reiserfs/dir.c 					&de);
de                108 fs/reiserfs/dir.c 		entry_num = de.de_entry_num;
de                109 fs/reiserfs/dir.c 		bh = de.de_bh;
de                110 fs/reiserfs/dir.c 		item_num = de.de_item_num;
de                111 fs/reiserfs/dir.c 		ih = de.de_ih;
de                 29 fs/reiserfs/namei.c static int bin_search_in_dir_item(struct reiserfs_dir_entry *de, loff_t off)
de                 31 fs/reiserfs/namei.c 	struct item_head *ih = de->de_ih;
de                 32 fs/reiserfs/namei.c 	struct reiserfs_de_head *deh = de->de_deh;
de                 49 fs/reiserfs/namei.c 		de->de_entry_num = j;
de                 53 fs/reiserfs/namei.c 	de->de_entry_num = lbound;
de                 60 fs/reiserfs/namei.c static inline void set_de_item_location(struct reiserfs_dir_entry *de,
de                 63 fs/reiserfs/namei.c 	de->de_bh = get_last_bh(path);
de                 64 fs/reiserfs/namei.c 	de->de_ih = tp_item_head(path);
de                 65 fs/reiserfs/namei.c 	de->de_deh = B_I_DEH(de->de_bh, de->de_ih);
de                 66 fs/reiserfs/namei.c 	de->de_item_num = PATH_LAST_POSITION(path);
de                 72 fs/reiserfs/namei.c inline void set_de_name_and_namelen(struct reiserfs_dir_entry *de)
de                 74 fs/reiserfs/namei.c 	struct reiserfs_de_head *deh = de->de_deh + de->de_entry_num;
de                 76 fs/reiserfs/namei.c 	BUG_ON(de->de_entry_num >= ih_entry_count(de->de_ih));
de                 78 fs/reiserfs/namei.c 	de->de_entrylen = entry_length(de->de_bh, de->de_ih, de->de_entry_num);
de                 79 fs/reiserfs/namei.c 	de->de_namelen = de->de_entrylen - (de_with_sd(deh) ? SD_SIZE : 0);
de                 80 fs/reiserfs/namei.c 	de->de_name = ih_item_body(de->de_bh, de->de_ih) + deh_location(deh);
de                 81 fs/reiserfs/namei.c 	if (de->de_name[de->de_namelen - 1] == 0)
de                 82 fs/reiserfs/namei.c 		de->de_namelen = strlen(de->de_name);
de                 86 fs/reiserfs/namei.c static inline void set_de_object_key(struct reiserfs_dir_entry *de)
de                 88 fs/reiserfs/namei.c 	BUG_ON(de->de_entry_num >= ih_entry_count(de->de_ih));
de                 89 fs/reiserfs/namei.c 	de->de_dir_id = deh_dir_id(&de->de_deh[de->de_entry_num]);
de                 90 fs/reiserfs/namei.c 	de->de_objectid = deh_objectid(&de->de_deh[de->de_entry_num]);
de                 93 fs/reiserfs/namei.c static inline void store_de_entry_key(struct reiserfs_dir_entry *de)
de                 95 fs/reiserfs/namei.c 	struct reiserfs_de_head *deh = de->de_deh + de->de_entry_num;
de                 97 fs/reiserfs/namei.c 	BUG_ON(de->de_entry_num >= ih_entry_count(de->de_ih));
de                100 fs/reiserfs/namei.c 	de->de_entry_key.version = KEY_FORMAT_3_5;
de                101 fs/reiserfs/namei.c 	de->de_entry_key.on_disk_key.k_dir_id =
de                102 fs/reiserfs/namei.c 	    le32_to_cpu(de->de_ih->ih_key.k_dir_id);
de                103 fs/reiserfs/namei.c 	de->de_entry_key.on_disk_key.k_objectid =
de                104 fs/reiserfs/namei.c 	    le32_to_cpu(de->de_ih->ih_key.k_objectid);
de                105 fs/reiserfs/namei.c 	set_cpu_key_k_offset(&de->de_entry_key, deh_offset(deh));
de                106 fs/reiserfs/namei.c 	set_cpu_key_k_type(&de->de_entry_key, TYPE_DIRENTRY);
de                121 fs/reiserfs/namei.c 			struct treepath *path, struct reiserfs_dir_entry *de)
de                148 fs/reiserfs/namei.c 	set_de_item_location(de, path);
de                151 fs/reiserfs/namei.c 	if (!is_direntry_le_ih(de->de_ih) ||
de                152 fs/reiserfs/namei.c 	    COMP_SHORT_KEYS(&de->de_ih->ih_key, key)) {
de                153 fs/reiserfs/namei.c 		print_block(de->de_bh, 0, -1, -1);
de                156 fs/reiserfs/namei.c 			       "as key %K", de->de_ih, key);
de                164 fs/reiserfs/namei.c 	retval = bin_search_in_dir_item(de, cpu_key_k_offset(key));
de                165 fs/reiserfs/namei.c 	path->pos_in_item = de->de_entry_num;
de                171 fs/reiserfs/namei.c 		set_de_name_and_namelen(de);
de                172 fs/reiserfs/namei.c 		set_de_object_key(de);
de                208 fs/reiserfs/namei.c static int reiserfs_match(struct reiserfs_dir_entry *de,
de                213 fs/reiserfs/namei.c 	if ((namelen == de->de_namelen) &&
de                214 fs/reiserfs/namei.c 	    !memcmp(de->de_name, name, de->de_namelen))
de                216 fs/reiserfs/namei.c 		    (de_visible(de->de_deh + de->de_entry_num) ? NAME_FOUND :
de                227 fs/reiserfs/namei.c 				     struct reiserfs_dir_entry *de,
de                230 fs/reiserfs/namei.c 	struct reiserfs_de_head *deh = de->de_deh;
de                234 fs/reiserfs/namei.c 	i = de->de_entry_num;
de                236 fs/reiserfs/namei.c 	if (i == ih_entry_count(de->de_ih) ||
de                242 fs/reiserfs/namei.c 	RFALSE(de->de_deh != B_I_DEH(de->de_bh, de->de_ih),
de                255 fs/reiserfs/namei.c 		if (de->de_gen_number_bit_string)
de                257 fs/reiserfs/namei.c 				de->de_gen_number_bit_string);
de                260 fs/reiserfs/namei.c 		de->de_entry_num = i;
de                261 fs/reiserfs/namei.c 		set_de_name_and_namelen(de);
de                268 fs/reiserfs/namei.c 		     reiserfs_match(de, name, namelen)) != NAME_NOT_FOUND) {
de                271 fs/reiserfs/namei.c 			set_de_object_key(de);
de                273 fs/reiserfs/namei.c 			store_de_entry_key(de);
de                280 fs/reiserfs/namei.c 	if (GET_GENERATION_NUMBER(le_ih_k_offset(de->de_ih)) == 0)
de                294 fs/reiserfs/namei.c 	RFALSE(de->de_item_num,
de                306 fs/reiserfs/namei.c 			       struct reiserfs_dir_entry *de)
de                322 fs/reiserfs/namei.c 					path_to_entry, de);
de                330 fs/reiserfs/namei.c 		    linear_search_in_dir_item(&key_to_search, de, name,
de                337 fs/reiserfs/namei.c 			path_to_entry->pos_in_item = de->de_entry_num;
de                346 fs/reiserfs/namei.c 				     le_ih_k_offset(de->de_ih) - 1);
de                357 fs/reiserfs/namei.c 	struct reiserfs_dir_entry de;
de                365 fs/reiserfs/namei.c 	de.de_gen_number_bit_string = NULL;
de                368 fs/reiserfs/namei.c 				&path_to_entry, &de);
de                372 fs/reiserfs/namei.c 				      (struct cpu_key *)&de.de_dir_id);
de                404 fs/reiserfs/namei.c 	struct reiserfs_dir_entry de;
de                411 fs/reiserfs/namei.c 	de.de_gen_number_bit_string = NULL;
de                414 fs/reiserfs/namei.c 	retval = reiserfs_find_entry(dir, "..", 2, &path_to_entry, &de);
de                420 fs/reiserfs/namei.c 	inode = reiserfs_iget(dir->i_sb, (struct cpu_key *)&de.de_dir_id);
de                439 fs/reiserfs/namei.c 	struct reiserfs_dir_entry de;
de                509 fs/reiserfs/namei.c 	de.de_gen_number_bit_string = bit_string;
de                510 fs/reiserfs/namei.c 	retval = reiserfs_find_entry(dir, name, namelen, &path, &de);
de                551 fs/reiserfs/namei.c 		if (search_by_entry_key(dir->i_sb, &entry_key, &path, &de) !=
de                904 fs/reiserfs/namei.c 	struct reiserfs_dir_entry de;
de                925 fs/reiserfs/namei.c 	de.de_gen_number_bit_string = NULL;
de                928 fs/reiserfs/namei.c 				 &path, &de)) == NAME_NOT_FOUND) {
de                941 fs/reiserfs/namei.c 	if (de.de_objectid != inode->i_ino) {
de                954 fs/reiserfs/namei.c 	retval = reiserfs_cut_from_item(&th, &path, &de.de_entry_key,
de                970 fs/reiserfs/namei.c 	    dir->i_size -= (DEH_SIZE + de.de_entrylen);
de                998 fs/reiserfs/namei.c 	struct reiserfs_dir_entry de;
de               1026 fs/reiserfs/namei.c 	de.de_gen_number_bit_string = NULL;
de               1029 fs/reiserfs/namei.c 				 &path, &de)) == NAME_NOT_FOUND) {
de               1040 fs/reiserfs/namei.c 	if (de.de_objectid != inode->i_ino) {
de               1064 fs/reiserfs/namei.c 	    reiserfs_cut_from_item(&th, &path, &de.de_entry_key, dir, NULL,
de               1073 fs/reiserfs/namei.c 	dir->i_size -= (de.de_entrylen + DEH_SIZE);
de               1260 fs/reiserfs/namei.c 			  struct reiserfs_dir_entry *de)
de               1262 fs/reiserfs/namei.c 	struct reiserfs_dir_entry tmp = *de;
de               1267 fs/reiserfs/namei.c 	if (tmp.de_namelen != len || memcmp(name, de->de_name, len))
de               1273 fs/reiserfs/namei.c 				  struct reiserfs_dir_entry *de,
de               1276 fs/reiserfs/namei.c 	if (!de_still_valid(name, len, de))
de               1280 fs/reiserfs/namei.c 		if (!de_visible(de->de_deh + de->de_entry_num))
de               1283 fs/reiserfs/namei.c 		return (de->de_objectid == inode->i_ino) ? 1 : 0;
de               1287 fs/reiserfs/namei.c 	if (de_visible(de->de_deh + de->de_entry_num))
de               1294 fs/reiserfs/namei.c static void set_ino_in_dir_entry(struct reiserfs_dir_entry *de,
de               1298 fs/reiserfs/namei.c 	de->de_deh[de->de_entry_num].deh_dir_id = key->k_dir_id;
de               1299 fs/reiserfs/namei.c 	de->de_deh[de->de_entry_num].deh_objectid = key->k_objectid;
de                138 fs/reiserfs/prints.c 			      struct reiserfs_dir_entry *de)
de                142 fs/reiserfs/prints.c 	memcpy(name, de->de_name, de->de_namelen > 19 ? 19 : de->de_namelen);
de                143 fs/reiserfs/prints.c 	name[de->de_namelen > 19 ? 19 : de->de_namelen] = 0;
de                145 fs/reiserfs/prints.c 			 name, de->de_dir_id, de->de_objectid);
de                438 fs/reiserfs/procfs.c 	struct proc_dir_entry *de = REISERFS_SB(sb)->procdir;
de                439 fs/reiserfs/procfs.c 	if (de) {
de               3110 fs/reiserfs/reiserfs.h void set_de_name_and_namelen(struct reiserfs_dir_entry *de);
de               3112 fs/reiserfs/reiserfs.h 			struct treepath *path, struct reiserfs_dir_entry *de);
de               3203 fs/reiserfs/reiserfs.h void print_de(struct reiserfs_dir_entry *de);
de                836 fs/reiserfs/stree.c 	struct reiserfs_dir_entry de;
de                842 fs/reiserfs/stree.c 					   &de);
de               1736 fs/reiserfs/super.c 	struct reiserfs_dir_entry de;
de               1744 fs/reiserfs/super.c 	retval = search_by_entry_key(s, &key, &path, &de);
de               1750 fs/reiserfs/super.c 		de.de_entry_num--;
de               1752 fs/reiserfs/super.c 	set_de_name_and_namelen(&de);
de               1753 fs/reiserfs/super.c 	deh = de.de_deh + de.de_entry_num;
de               1764 fs/reiserfs/super.c 	r5hash = GET_HASH_VALUE(r5_hash(de.de_name, de.de_namelen));
de               1765 fs/reiserfs/super.c 	teahash = GET_HASH_VALUE(keyed_hash(de.de_name, de.de_namelen));
de               1766 fs/reiserfs/super.c 	yurahash = GET_HASH_VALUE(yura_hash(de.de_name, de.de_namelen));
de                 82 fs/sysv/dir.c  		struct sysv_dir_entry *de;
de                 88 fs/sysv/dir.c  		de = (struct sysv_dir_entry *)(kaddr+offset);
de                 90 fs/sysv/dir.c  		for ( ;(char*)de <= limit; de++, ctx->pos += sizeof(*de)) {
de                 91 fs/sysv/dir.c  			char *name = de->name;
de                 93 fs/sysv/dir.c  			if (!de->inode)
de                 97 fs/sysv/dir.c  					fs16_to_cpu(SYSV_SB(sb), de->inode),
de                135 fs/sysv/dir.c  	struct sysv_dir_entry *de;
de                149 fs/sysv/dir.c  			de = (struct sysv_dir_entry *) kaddr;
de                151 fs/sysv/dir.c  			for ( ; (char *) de <= kaddr ; de++) {
de                152 fs/sysv/dir.c  				if (!de->inode)
de                155 fs/sysv/dir.c  							name, de->name))
de                170 fs/sysv/dir.c  	return de;
de                179 fs/sysv/dir.c  	struct sysv_dir_entry * de;
de                193 fs/sysv/dir.c  		de = (struct sysv_dir_entry *)kaddr;
de                195 fs/sysv/dir.c  		while ((char *)de <= kaddr) {
de                196 fs/sysv/dir.c  			if (!de->inode)
de                199 fs/sysv/dir.c  			if (namecompare(namelen, SYSV_NAMELEN, name, de->name)) 
de                201 fs/sysv/dir.c  			de++;
de                210 fs/sysv/dir.c  			(char*)de - (char*)page_address(page);
de                215 fs/sysv/dir.c  	memcpy (de->name, name, namelen);
de                216 fs/sysv/dir.c  	memset (de->name + namelen, 0, SYSV_DIRSIZE - namelen - 2);
de                217 fs/sysv/dir.c  	de->inode = cpu_to_fs16(SYSV_SB(inode->i_sb), inode->i_ino);
de                230 fs/sysv/dir.c  int sysv_delete_entry(struct sysv_dir_entry *de, struct page *page)
de                234 fs/sysv/dir.c  	loff_t pos = page_offset(page) + (char *)de - kaddr;
de                240 fs/sysv/dir.c  	de->inode = 0;
de                251 fs/sysv/dir.c  	struct sysv_dir_entry * de;
de                267 fs/sysv/dir.c  	de = (struct sysv_dir_entry *) base;
de                268 fs/sysv/dir.c  	de->inode = cpu_to_fs16(SYSV_SB(inode->i_sb), inode->i_ino);
de                269 fs/sysv/dir.c  	strcpy(de->name,".");
de                270 fs/sysv/dir.c  	de++;
de                271 fs/sysv/dir.c  	de->inode = cpu_to_fs16(SYSV_SB(inode->i_sb), dir->i_ino);
de                272 fs/sysv/dir.c  	strcpy(de->name,"..");
de                292 fs/sysv/dir.c  		struct sysv_dir_entry * de;
de                299 fs/sysv/dir.c  		de = (struct sysv_dir_entry *)kaddr;
de                302 fs/sysv/dir.c  		for ( ;(char *)de <= kaddr; de++) {
de                303 fs/sysv/dir.c  			if (!de->inode)
de                306 fs/sysv/dir.c  			if (de->name[0] != '.')
de                308 fs/sysv/dir.c  			if (!de->name[1]) {
de                309 fs/sysv/dir.c  				if (de->inode == cpu_to_fs16(SYSV_SB(sb),
de                314 fs/sysv/dir.c  			if (de->name[1] != '.' || de->name[2])
de                327 fs/sysv/dir.c  void sysv_set_link(struct sysv_dir_entry *de, struct page *page,
de                332 fs/sysv/dir.c  			(char *)de-(char*)page_address(page);
de                338 fs/sysv/dir.c  	de->inode = cpu_to_fs16(SYSV_SB(inode->i_sb), inode->i_ino);
de                348 fs/sysv/dir.c  	struct sysv_dir_entry *de = NULL;
de                351 fs/sysv/dir.c  		de = (struct sysv_dir_entry*) page_address(page) + 1;
de                354 fs/sysv/dir.c  	return de;
de                360 fs/sysv/dir.c  	struct sysv_dir_entry *de = sysv_find_entry (dentry, &page);
de                363 fs/sysv/dir.c  	if (de) {
de                364 fs/sysv/dir.c  		res = fs16_to_cpu(SYSV_SB(dentry->d_sb), de->inode);
de                152 fs/sysv/namei.c 	struct sysv_dir_entry * de;
de                155 fs/sysv/namei.c 	de = sysv_find_entry(dentry, &page);
de                156 fs/sysv/namei.c 	if (!de)
de                159 fs/sysv/namei.c 	err = sysv_delete_entry (de, page);
de                 36 fs/ufs/dir.c   		const unsigned char *name, struct ufs_dir_entry *de)
de                 38 fs/ufs/dir.c   	if (len != ufs_get_de_namlen(sb, de))
de                 40 fs/ufs/dir.c   	if (!de->d_ino)
de                 42 fs/ufs/dir.c   	return !memcmp(name, de->d_name, len);
de                 73 fs/ufs/dir.c   	struct ufs_dir_entry *de;
de                 76 fs/ufs/dir.c   	de = ufs_find_entry(dir, qstr, &page);
de                 77 fs/ufs/dir.c   	if (de) {
de                 78 fs/ufs/dir.c   		res = fs32_to_cpu(dir->i_sb, de->d_ino);
de                 86 fs/ufs/dir.c   void ufs_set_link(struct inode *dir, struct ufs_dir_entry *de,
de                 91 fs/ufs/dir.c   			(char *) de - (char *) page_address(page);
de                 92 fs/ufs/dir.c   	unsigned len = fs16_to_cpu(dir->i_sb, de->d_reclen);
de                 99 fs/ufs/dir.c   	de->d_ino = cpu_to_fs32(dir->i_sb, inode->i_ino);
de                100 fs/ufs/dir.c   	ufs_set_de_type(dir->i_sb, de, inode->i_mode);
de                232 fs/ufs/dir.c   	struct ufs_dir_entry *de = NULL;
de                235 fs/ufs/dir.c   		de = ufs_next_entry(dir->i_sb,
de                239 fs/ufs/dir.c   	return de;
de                261 fs/ufs/dir.c   	struct ufs_dir_entry *de;
de                281 fs/ufs/dir.c   			de = (struct ufs_dir_entry *) kaddr;
de                283 fs/ufs/dir.c   			while ((char *) de <= kaddr) {
de                284 fs/ufs/dir.c   				if (ufs_match(sb, namelen, name, de))
de                286 fs/ufs/dir.c   				de = ufs_next_entry(sb, de);
de                299 fs/ufs/dir.c   	return de;
de                315 fs/ufs/dir.c   	struct ufs_dir_entry *de;
de                339 fs/ufs/dir.c   		de = (struct ufs_dir_entry *)kaddr;
de                341 fs/ufs/dir.c   		while ((char *)de <= kaddr) {
de                342 fs/ufs/dir.c   			if ((char *)de == dir_end) {
de                346 fs/ufs/dir.c   				de->d_reclen = cpu_to_fs16(sb, chunk_size);
de                347 fs/ufs/dir.c   				de->d_ino = 0;
de                350 fs/ufs/dir.c   			if (de->d_reclen == 0) {
de                357 fs/ufs/dir.c   			if (ufs_match(sb, namelen, name, de))
de                359 fs/ufs/dir.c   			name_len = UFS_DIR_REC_LEN(ufs_get_de_namlen(sb, de));
de                360 fs/ufs/dir.c   			rec_len = fs16_to_cpu(sb, de->d_reclen);
de                361 fs/ufs/dir.c   			if (!de->d_ino && rec_len >= reclen)
de                365 fs/ufs/dir.c   			de = (struct ufs_dir_entry *) ((char *) de + rec_len);
de                375 fs/ufs/dir.c   			(char*)de - (char*)page_address(page);
de                379 fs/ufs/dir.c   	if (de->d_ino) {
de                381 fs/ufs/dir.c   			(struct ufs_dir_entry *) ((char *) de + name_len);
de                383 fs/ufs/dir.c   		de->d_reclen = cpu_to_fs16(sb, name_len);
de                385 fs/ufs/dir.c   		de = de1;
de                388 fs/ufs/dir.c   	ufs_set_de_namlen(sb, de, namelen);
de                389 fs/ufs/dir.c   	memcpy(de->d_name, name, namelen + 1);
de                390 fs/ufs/dir.c   	de->d_ino = cpu_to_fs32(sb, inode->i_ino);
de                391 fs/ufs/dir.c   	ufs_set_de_type(sb, de, inode->i_mode);
de                411 fs/ufs/dir.c   	struct ufs_dir_entry *de = (struct ufs_dir_entry*)(base + offset);
de                413 fs/ufs/dir.c   	while ((char*)p < (char*)de)
de                442 fs/ufs/dir.c   		struct ufs_dir_entry *de;
de                462 fs/ufs/dir.c   		de = (struct ufs_dir_entry *)(kaddr+offset);
de                464 fs/ufs/dir.c   		for ( ;(char*)de <= limit; de = ufs_next_entry(sb, de)) {
de                465 fs/ufs/dir.c   			if (de->d_ino) {
de                468 fs/ufs/dir.c   				UFSD("filldir(%s,%u)\n", de->d_name,
de                469 fs/ufs/dir.c   				      fs32_to_cpu(sb, de->d_ino));
de                470 fs/ufs/dir.c   				UFSD("namlen %u\n", ufs_get_de_namlen(sb, de));
de                473 fs/ufs/dir.c   					d_type = de->d_u.d_44.d_type;
de                475 fs/ufs/dir.c   				if (!dir_emit(ctx, de->d_name,
de                476 fs/ufs/dir.c   					       ufs_get_de_namlen(sb, de),
de                477 fs/ufs/dir.c   					       fs32_to_cpu(sb, de->d_ino),
de                483 fs/ufs/dir.c   			ctx->pos += fs16_to_cpu(sb, de->d_reclen);
de                504 fs/ufs/dir.c   	struct ufs_dir_entry *de = (struct ufs_dir_entry *) (kaddr + from);
de                510 fs/ufs/dir.c   	      fs32_to_cpu(sb, de->d_ino),
de                511 fs/ufs/dir.c   	      fs16_to_cpu(sb, de->d_reclen),
de                512 fs/ufs/dir.c   	      ufs_get_de_namlen(sb, de), de->d_name);
de                514 fs/ufs/dir.c   	while ((char*)de < (char*)dir) {
de                515 fs/ufs/dir.c   		if (de->d_reclen == 0) {
de                521 fs/ufs/dir.c   		pde = de;
de                522 fs/ufs/dir.c   		de = ufs_next_entry(sb, de);
de                549 fs/ufs/dir.c   	struct ufs_dir_entry * de;
de                566 fs/ufs/dir.c   	de = (struct ufs_dir_entry *) base;
de                568 fs/ufs/dir.c   	de->d_ino = cpu_to_fs32(sb, inode->i_ino);
de                569 fs/ufs/dir.c   	ufs_set_de_type(sb, de, inode->i_mode);
de                570 fs/ufs/dir.c   	ufs_set_de_namlen(sb, de, 1);
de                571 fs/ufs/dir.c   	de->d_reclen = cpu_to_fs16(sb, UFS_DIR_REC_LEN(1));
de                572 fs/ufs/dir.c   	strcpy (de->d_name, ".");
de                573 fs/ufs/dir.c   	de = (struct ufs_dir_entry *)
de                574 fs/ufs/dir.c   		((char *)de + fs16_to_cpu(sb, de->d_reclen));
de                575 fs/ufs/dir.c   	de->d_ino = cpu_to_fs32(sb, dir->i_ino);
de                576 fs/ufs/dir.c   	ufs_set_de_type(sb, de, dir->i_mode);
de                577 fs/ufs/dir.c   	de->d_reclen = cpu_to_fs16(sb, chunk_size - UFS_DIR_REC_LEN(1));
de                578 fs/ufs/dir.c   	ufs_set_de_namlen(sb, de, 2);
de                579 fs/ufs/dir.c   	strcpy (de->d_name, "..");
de                599 fs/ufs/dir.c   		struct ufs_dir_entry *de;
de                606 fs/ufs/dir.c   		de = (struct ufs_dir_entry *)kaddr;
de                609 fs/ufs/dir.c   		while ((char *)de <= kaddr) {
de                610 fs/ufs/dir.c   			if (de->d_reclen == 0) {
de                613 fs/ufs/dir.c   					"kaddr=%p, de=%p\n", kaddr, de);
de                616 fs/ufs/dir.c   			if (de->d_ino) {
de                617 fs/ufs/dir.c   				u16 namelen=ufs_get_de_namlen(sb, de);
de                619 fs/ufs/dir.c   				if (de->d_name[0] != '.')
de                625 fs/ufs/dir.c   					    fs32_to_cpu(sb, de->d_ino))
de                627 fs/ufs/dir.c   				} else if (de->d_name[1] != '.')
de                630 fs/ufs/dir.c   			de = ufs_next_entry(sb, de);
de                208 fs/ufs/namei.c 	struct ufs_dir_entry *de;
de                212 fs/ufs/namei.c 	de = ufs_find_entry(dir, &dentry->d_name, &page);
de                213 fs/ufs/namei.c 	if (!de)
de                216 fs/ufs/namei.c 	err = ufs_delete_entry(dir, de, page);
de                109 fs/ufs/ufs.h   extern void ufs_set_link(struct inode *dir, struct ufs_dir_entry *de,
de                138 fs/ufs/util.h  ufs_get_de_namlen(struct super_block *sb, struct ufs_dir_entry *de)
de                141 fs/ufs/util.h  		return fs16_to_cpu(sb, de->d_u.d_namlen);
de                143 fs/ufs/util.h  		return de->d_u.d_44.d_namlen; /* XXX this seems wrong */
de                147 fs/ufs/util.h  ufs_set_de_namlen(struct super_block *sb, struct ufs_dir_entry *de, u16 value)
de                150 fs/ufs/util.h  		de->d_u.d_namlen = cpu_to_fs16(sb, value);
de                152 fs/ufs/util.h  		de->d_u.d_44.d_namlen = value; /* XXX this seems wrong */
de                156 fs/ufs/util.h  ufs_set_de_type(struct super_block *sb, struct ufs_dir_entry *de, int mode)
de                166 fs/ufs/util.h  		de->d_u.d_44.d_type = DT_SOCK;
de                169 fs/ufs/util.h  		de->d_u.d_44.d_type = DT_LNK;
de                172 fs/ufs/util.h  		de->d_u.d_44.d_type = DT_REG;
de                175 fs/ufs/util.h  		de->d_u.d_44.d_type = DT_BLK;
de                178 fs/ufs/util.h  		de->d_u.d_44.d_type = DT_DIR;
de                181 fs/ufs/util.h  		de->d_u.d_44.d_type = DT_CHR;
de                184 fs/ufs/util.h  		de->d_u.d_44.d_type = DT_FIFO;
de                187 fs/ufs/util.h  		de->d_u.d_44.d_type = DT_UNKNOWN;
de                114 include/linux/proc_fs.h static inline void proc_set_size(struct proc_dir_entry *de, loff_t size) {}
de                115 include/linux/proc_fs.h static inline void proc_set_user(struct proc_dir_entry *de, kuid_t uid, kgid_t gid) {}
de                119 include/linux/proc_fs.h static inline void proc_remove(struct proc_dir_entry *de) {}
de                101 include/trace/events/cachefiles.h 		     struct dentry *de,
de                104 include/trace/events/cachefiles.h 	    TP_ARGS(obj, de, inode),
de                108 include/trace/events/cachefiles.h 		    __field(struct dentry *,		de	)
de                114 include/trace/events/cachefiles.h 		    __entry->de		= de;
de                119 include/trace/events/cachefiles.h 		      __entry->obj, __entry->de, __entry->inode)
de                124 include/trace/events/cachefiles.h 		     struct dentry *de, int ret),
de                126 include/trace/events/cachefiles.h 	    TP_ARGS(obj, de, ret),
de                130 include/trace/events/cachefiles.h 		    __field(struct dentry *,		de	)
de                136 include/trace/events/cachefiles.h 		    __entry->de		= de;
de                141 include/trace/events/cachefiles.h 		      __entry->obj, __entry->de, __entry->ret)
de                146 include/trace/events/cachefiles.h 		     struct dentry *de, int ret),
de                148 include/trace/events/cachefiles.h 	    TP_ARGS(obj, de, ret),
de                152 include/trace/events/cachefiles.h 		    __field(struct dentry *,		de	)
de                158 include/trace/events/cachefiles.h 		    __entry->de		= de;
de                163 include/trace/events/cachefiles.h 		      __entry->obj, __entry->de, __entry->ret)
de                168 include/trace/events/cachefiles.h 		     struct dentry *de,
de                171 include/trace/events/cachefiles.h 	    TP_ARGS(obj, de, why),
de                176 include/trace/events/cachefiles.h 		    __field(struct dentry *,		de		)
de                182 include/trace/events/cachefiles.h 		    __entry->de		= de;
de                187 include/trace/events/cachefiles.h 		      __entry->obj, __entry->de,
de                193 include/trace/events/cachefiles.h 		     struct dentry *de,
de                197 include/trace/events/cachefiles.h 	    TP_ARGS(obj, de, to, why),
de                202 include/trace/events/cachefiles.h 		    __field(struct dentry *,		de		)
de                209 include/trace/events/cachefiles.h 		    __entry->de		= de;
de                215 include/trace/events/cachefiles.h 		      __entry->obj, __entry->de, __entry->to,
de                221 include/trace/events/cachefiles.h 		     struct dentry *de),
de                223 include/trace/events/cachefiles.h 	    TP_ARGS(obj, de),
de                228 include/trace/events/cachefiles.h 		    __field(struct dentry *,		de		)
de                233 include/trace/events/cachefiles.h 		    __entry->de		= de;
de                237 include/trace/events/cachefiles.h 		      __entry->obj, __entry->de)
de                242 include/trace/events/cachefiles.h 		     struct dentry *de,
de                245 include/trace/events/cachefiles.h 	    TP_ARGS(obj, de, xobj),
de                250 include/trace/events/cachefiles.h 		    __field(struct dentry *,		de		)
de                258 include/trace/events/cachefiles.h 		    __entry->de		= de;
de                265 include/trace/events/cachefiles.h 		      __entry->obj, __entry->de, __entry->xobj,
de                271 include/trace/events/cachefiles.h 		     struct dentry *de,
de                274 include/trace/events/cachefiles.h 	    TP_ARGS(obj, de, inode),
de                279 include/trace/events/cachefiles.h 		    __field(struct dentry *,		de		)
de                285 include/trace/events/cachefiles.h 		    __entry->de		= de;
de                290 include/trace/events/cachefiles.h 		      __entry->obj, __entry->de, __entry->inode)
de                295 include/trace/events/cachefiles.h 		     struct dentry *de,
de                298 include/trace/events/cachefiles.h 	    TP_ARGS(obj, de, why),
de                303 include/trace/events/cachefiles.h 		    __field(struct dentry *,		de		)
de                309 include/trace/events/cachefiles.h 		    __entry->de		= de;
de                314 include/trace/events/cachefiles.h 		      __entry->obj, __entry->de,
de                123 init/initramfs.c 	struct dir_entry *de = kmalloc(sizeof(struct dir_entry), GFP_KERNEL);
de                124 init/initramfs.c 	if (!de)
de                126 init/initramfs.c 	INIT_LIST_HEAD(&de->list);
de                127 init/initramfs.c 	de->name = kstrdup(name, GFP_KERNEL);
de                128 init/initramfs.c 	de->mtime = mtime;
de                129 init/initramfs.c 	list_add(&de->list, &dir_list);
de                134 init/initramfs.c 	struct dir_entry *de, *tmp;
de                135 init/initramfs.c 	list_for_each_entry_safe(de, tmp, &dir_list, list) {
de                136 init/initramfs.c 		list_del(&de->list);
de                137 init/initramfs.c 		do_utime(de->name, de->mtime);
de                138 init/initramfs.c 		kfree(de->name);
de                139 init/initramfs.c 		kfree(de);
de                 97 net/hsr/hsr_debugfs.c 	struct dentry *de = NULL;
de                 99 net/hsr/hsr_debugfs.c 	de = debugfs_create_dir(hsr_dev->name, hsr_debugfs_root_dir);
de                100 net/hsr/hsr_debugfs.c 	if (IS_ERR(de)) {
de                105 net/hsr/hsr_debugfs.c 	priv->node_tbl_root = de;
de                107 net/hsr/hsr_debugfs.c 	de = debugfs_create_file("node_table", S_IFREG | 0444,
de                110 net/hsr/hsr_debugfs.c 	if (IS_ERR(de)) {
de                116 net/hsr/hsr_debugfs.c 	priv->node_tbl_file = de;
de               1132 net/ipv4/netfilter/arp_tables.c 	struct arpt_entry *de;
de               1137 net/ipv4/netfilter/arp_tables.c 	de = *dstptr;
de               1138 net/ipv4/netfilter/arp_tables.c 	memcpy(de, e, sizeof(struct arpt_entry));
de               1139 net/ipv4/netfilter/arp_tables.c 	memcpy(&de->counters, &e->counters, sizeof(e->counters));
de               1144 net/ipv4/netfilter/arp_tables.c 	de->target_offset = e->target_offset - (origsize - *size);
de               1148 net/ipv4/netfilter/arp_tables.c 	de->next_offset = e->next_offset - (origsize - *size);
de               1150 net/ipv4/netfilter/arp_tables.c 		if ((unsigned char *)de - base < newinfo->hook_entry[h])
de               1152 net/ipv4/netfilter/arp_tables.c 		if ((unsigned char *)de - base < newinfo->underflow[h])
de               1360 net/ipv4/netfilter/ip_tables.c 	struct ipt_entry *de;
de               1366 net/ipv4/netfilter/ip_tables.c 	de = *dstptr;
de               1367 net/ipv4/netfilter/ip_tables.c 	memcpy(de, e, sizeof(struct ipt_entry));
de               1368 net/ipv4/netfilter/ip_tables.c 	memcpy(&de->counters, &e->counters, sizeof(e->counters));
de               1376 net/ipv4/netfilter/ip_tables.c 	de->target_offset = e->target_offset - (origsize - *size);
de               1380 net/ipv4/netfilter/ip_tables.c 	de->next_offset = e->next_offset - (origsize - *size);
de               1383 net/ipv4/netfilter/ip_tables.c 		if ((unsigned char *)de - base < newinfo->hook_entry[h])
de               1385 net/ipv4/netfilter/ip_tables.c 		if ((unsigned char *)de - base < newinfo->underflow[h])
de               1376 net/ipv6/netfilter/ip6_tables.c 	struct ip6t_entry *de;
de               1382 net/ipv6/netfilter/ip6_tables.c 	de = *dstptr;
de               1383 net/ipv6/netfilter/ip6_tables.c 	memcpy(de, e, sizeof(struct ip6t_entry));
de               1384 net/ipv6/netfilter/ip6_tables.c 	memcpy(&de->counters, &e->counters, sizeof(e->counters));
de               1392 net/ipv6/netfilter/ip6_tables.c 	de->target_offset = e->target_offset - (origsize - *size);
de               1396 net/ipv6/netfilter/ip6_tables.c 	de->next_offset = e->next_offset - (origsize - *size);
de               1398 net/ipv6/netfilter/ip6_tables.c 		if ((unsigned char *)de - base < newinfo->hook_entry[h])
de               1400 net/ipv6/netfilter/ip6_tables.c 		if ((unsigned char *)de - base < newinfo->underflow[h])
de                 14 scripts/dtc/fstree.c 	struct dirent *de;
de                 24 scripts/dtc/fstree.c 	while ((de = readdir(d)) != NULL) {
de                 27 scripts/dtc/fstree.c 		if (streq(de->d_name, ".")
de                 28 scripts/dtc/fstree.c 		    || streq(de->d_name, ".."))
de                 31 scripts/dtc/fstree.c 		tmpname = join_path(dirname, de->d_name);
de                 46 scripts/dtc/fstree.c 				prop = build_property(xstrdup(de->d_name),
de                 57 scripts/dtc/fstree.c 			newchild = name_node(newchild, xstrdup(de->d_name));
de               1318 security/selinux/selinuxfs.c static void sel_remove_entries(struct dentry *de)
de               1320 security/selinux/selinuxfs.c 	d_genocide(de);
de               1321 security/selinux/selinuxfs.c 	shrink_dcache_parent(de);
de                161 tools/lib/subcmd/help.c 	struct dirent *de;
de                172 tools/lib/subcmd/help.c 	while ((de = readdir(dir)) != NULL) {
de                175 tools/lib/subcmd/help.c 		if (!strstarts(de->d_name, prefix))
de                178 tools/lib/subcmd/help.c 		astrcat(&buf, de->d_name);
de                182 tools/lib/subcmd/help.c 		entlen = strlen(de->d_name) - prefix_len;
de                183 tools/lib/subcmd/help.c 		if (has_extension(de->d_name, ".exe"))
de                186 tools/lib/subcmd/help.c 		add_cmdname(cmds, de->d_name + prefix_len, entlen);
de                101 tools/testing/selftests/proc/fd-001-lookup.c 	struct dirent *de;
de                115 tools/testing/selftests/proc/fd-001-lookup.c 		de = xreaddir(d);
de                116 tools/testing/selftests/proc/fd-001-lookup.c 		assert(de->d_type == DT_DIR);
de                117 tools/testing/selftests/proc/fd-001-lookup.c 		assert(streq(de->d_name, "."));
de                119 tools/testing/selftests/proc/fd-001-lookup.c 		de = xreaddir(d);
de                120 tools/testing/selftests/proc/fd-001-lookup.c 		assert(de->d_type == DT_DIR);
de                121 tools/testing/selftests/proc/fd-001-lookup.c 		assert(streq(de->d_name, ".."));
de                123 tools/testing/selftests/proc/fd-001-lookup.c 		de = xreaddir(d);
de                124 tools/testing/selftests/proc/fd-001-lookup.c 		if (de) {
de                129 tools/testing/selftests/proc/fd-001-lookup.c 			assert(de->d_type == DT_LNK);
de                131 tools/testing/selftests/proc/fd-001-lookup.c 			fd_ull = xstrtoull(de->d_name, &end);
de                142 tools/testing/selftests/proc/fd-001-lookup.c 	} while (de);
de                 99 tools/testing/selftests/proc/fd-003-kthread.c 	struct dirent *de;
de                104 tools/testing/selftests/proc/fd-003-kthread.c 	de = xreaddir(d);
de                105 tools/testing/selftests/proc/fd-003-kthread.c 	assert(streq(de->d_name, "."));
de                106 tools/testing/selftests/proc/fd-003-kthread.c 	assert(de->d_type == DT_DIR);
de                108 tools/testing/selftests/proc/fd-003-kthread.c 	de = xreaddir(d);
de                109 tools/testing/selftests/proc/fd-003-kthread.c 	assert(streq(de->d_name, ".."));
de                110 tools/testing/selftests/proc/fd-003-kthread.c 	assert(de->d_type == DT_DIR);
de                112 tools/testing/selftests/proc/fd-003-kthread.c 	de = xreaddir(d);
de                113 tools/testing/selftests/proc/fd-003-kthread.c 	assert(!de);
de                 45 tools/testing/selftests/proc/proc.h 	struct dirent *de;
de                 48 tools/testing/selftests/proc/proc.h 	de = readdir(d);
de                 49 tools/testing/selftests/proc/proc.h 	assert(de || errno == 0);
de                 50 tools/testing/selftests/proc/proc.h 	return de;
de                 77 tools/testing/selftests/proc/read.c 	struct dirent *de;
de                 79 tools/testing/selftests/proc/read.c 	de = xreaddir(d);
de                 80 tools/testing/selftests/proc/read.c 	assert(de->d_type == DT_DIR);
de                 81 tools/testing/selftests/proc/read.c 	assert(streq(de->d_name, "."));
de                 83 tools/testing/selftests/proc/read.c 	de = xreaddir(d);
de                 84 tools/testing/selftests/proc/read.c 	assert(de->d_type == DT_DIR);
de                 85 tools/testing/selftests/proc/read.c 	assert(streq(de->d_name, ".."));
de                 87 tools/testing/selftests/proc/read.c 	while ((de = xreaddir(d))) {
de                 88 tools/testing/selftests/proc/read.c 		assert(!streq(de->d_name, "."));
de                 89 tools/testing/selftests/proc/read.c 		assert(!streq(de->d_name, ".."));
de                 91 tools/testing/selftests/proc/read.c 		switch (de->d_type) {
de                 96 tools/testing/selftests/proc/read.c 			if (level == 0 && streq(de->d_name, "sysrq-trigger")) {
de                 97 tools/testing/selftests/proc/read.c 				f_reg_write(d, de->d_name, "h", 1);
de                 98 tools/testing/selftests/proc/read.c 			} else if (level == 1 && streq(de->d_name, "clear_refs")) {
de                 99 tools/testing/selftests/proc/read.c 				f_reg_write(d, de->d_name, "1", 1);
de                100 tools/testing/selftests/proc/read.c 			} else if (level == 3 && streq(de->d_name, "clear_refs")) {
de                101 tools/testing/selftests/proc/read.c 				f_reg_write(d, de->d_name, "1", 1);
de                103 tools/testing/selftests/proc/read.c 				f_reg(d, de->d_name);
de                107 tools/testing/selftests/proc/read.c 			fd = openat(dirfd(d), de->d_name, O_DIRECTORY|O_RDONLY);
de                117 tools/testing/selftests/proc/read.c 			f_lnk(d, de->d_name);
de               1178 tools/vm/slabinfo.c 	struct dirent *de;
de               1189 tools/vm/slabinfo.c 	while ((de = readdir(dir))) {
de               1190 tools/vm/slabinfo.c 		if (de->d_name[0] == '.' ||
de               1191 tools/vm/slabinfo.c 			(de->d_name[0] != ':' && slab_mismatch(de->d_name)))
de               1193 tools/vm/slabinfo.c 		switch (de->d_type) {
de               1195 tools/vm/slabinfo.c 			alias->name = strdup(de->d_name);
de               1196 tools/vm/slabinfo.c 			count = readlink(de->d_name, buffer, sizeof(buffer)-1);
de               1199 tools/vm/slabinfo.c 				fatal("Cannot read symlink %s\n", de->d_name);
de               1209 tools/vm/slabinfo.c 			if (chdir(de->d_name))
de               1211 tools/vm/slabinfo.c 			slab->name = strdup(de->d_name);
de               1270 tools/vm/slabinfo.c 			fatal("Unknown file type %lx\n", de->d_type);