Home
last modified time | relevance | path

Searched refs:dat (Results 1 – 25 of 165) sorted by relevance

1234567

/linux-6.1.9/fs/nilfs2/
Ddat.c35 static inline struct nilfs_dat_info *NILFS_DAT_I(struct inode *dat) in NILFS_DAT_I() argument
37 return (struct nilfs_dat_info *)NILFS_MDT(dat); in NILFS_DAT_I()
40 static int nilfs_dat_prepare_entry(struct inode *dat, in nilfs_dat_prepare_entry() argument
43 return nilfs_palloc_get_entry_block(dat, req->pr_entry_nr, in nilfs_dat_prepare_entry()
47 static void nilfs_dat_commit_entry(struct inode *dat, in nilfs_dat_commit_entry() argument
51 nilfs_mdt_mark_dirty(dat); in nilfs_dat_commit_entry()
55 static void nilfs_dat_abort_entry(struct inode *dat, in nilfs_dat_abort_entry() argument
61 int nilfs_dat_prepare_alloc(struct inode *dat, struct nilfs_palloc_req *req) in nilfs_dat_prepare_alloc() argument
65 ret = nilfs_palloc_prepare_alloc_entry(dat, req); in nilfs_dat_prepare_alloc()
69 ret = nilfs_dat_prepare_entry(dat, req, 1); in nilfs_dat_prepare_alloc()
[all …]
Dbmap.h180 struct inode *dat) in nilfs_bmap_prepare_alloc_ptr() argument
182 if (dat) in nilfs_bmap_prepare_alloc_ptr()
183 return nilfs_dat_prepare_alloc(dat, &req->bpr_req); in nilfs_bmap_prepare_alloc_ptr()
191 struct inode *dat) in nilfs_bmap_commit_alloc_ptr() argument
193 if (dat) in nilfs_bmap_commit_alloc_ptr()
194 nilfs_dat_commit_alloc(dat, &req->bpr_req); in nilfs_bmap_commit_alloc_ptr()
199 struct inode *dat) in nilfs_bmap_abort_alloc_ptr() argument
201 if (dat) in nilfs_bmap_abort_alloc_ptr()
202 nilfs_dat_abort_alloc(dat, &req->bpr_req); in nilfs_bmap_abort_alloc_ptr()
209 struct inode *dat) in nilfs_bmap_prepare_end_ptr() argument
[all …]
Ddirect.c54 struct inode *dat = NULL; in nilfs_direct_lookup_contig() local
66 dat = nilfs_bmap_get_dat(direct); in nilfs_direct_lookup_contig()
67 ret = nilfs_dat_translate(dat, ptr, &blocknr); in nilfs_direct_lookup_contig()
79 if (dat) { in nilfs_direct_lookup_contig()
80 ret = nilfs_dat_translate(dat, ptr2, &blocknr); in nilfs_direct_lookup_contig()
109 struct inode *dat = NULL; in nilfs_direct_insert() local
120 dat = nilfs_bmap_get_dat(bmap); in nilfs_direct_insert()
122 ret = nilfs_bmap_prepare_alloc_ptr(bmap, &req, dat); in nilfs_direct_insert()
128 nilfs_bmap_commit_alloc_ptr(bmap, &req, dat); in nilfs_direct_insert()
145 struct inode *dat; in nilfs_direct_delete() local
[all …]
Dbtree.c708 struct inode *dat = NULL; in nilfs_btree_lookup_contig() local
724 dat = nilfs_bmap_get_dat(btree); in nilfs_btree_lookup_contig()
725 ret = nilfs_dat_translate(dat, ptr, &blocknr); in nilfs_btree_lookup_contig()
743 if (dat) { in nilfs_btree_lookup_contig()
744 ret = nilfs_dat_translate(dat, ptr2, &blocknr); in nilfs_btree_lookup_contig()
1065 struct inode *dat = NULL; in nilfs_btree_prepare_insert() local
1074 dat = nilfs_bmap_get_dat(btree); in nilfs_btree_prepare_insert()
1077 ret = nilfs_bmap_prepare_alloc_ptr(btree, &path[level].bp_newreq, dat); in nilfs_btree_prepare_insert()
1136 &path[level].bp_newreq, dat); in nilfs_btree_prepare_insert()
1164 ret = nilfs_bmap_prepare_alloc_ptr(btree, &path[level].bp_newreq, dat); in nilfs_btree_prepare_insert()
[all …]
/linux-6.1.9/tools/perf/arch/x86/tests/
Dinsn-x86.c96 static int test_data_item(struct test_data *dat, int x86_64) in test_data_item() argument
102 ret = insn_decode(&insn, dat->data, MAX_INSN_SIZE, in test_data_item()
105 pr_debug("Failed to decode: %s\n", dat->asm_rep); in test_data_item()
109 if (insn.length != dat->expected_length) { in test_data_item()
111 insn.length, dat->expected_length, dat->asm_rep); in test_data_item()
115 op = get_op(dat->expected_op_str); in test_data_item()
116 branch = get_branch(dat->expected_branch_str); in test_data_item()
118 if (intel_pt_get_insn(dat->data, MAX_INSN_SIZE, x86_64, &intel_pt_insn)) { in test_data_item()
119 pr_debug("Intel PT failed to decode: %s\n", dat->asm_rep); in test_data_item()
125 intel_pt_insn.op, op, dat->asm_rep); in test_data_item()
[all …]
Dgen-insn-x86-dat.sh20 gcc -g -c insn-x86-dat-src.c
22 objdump -dSw insn-x86-dat-src.o | awk -f gen-insn-x86-dat.awk > insn-x86-dat-64.c
24 rm -f insn-x86-dat-src.o
28 gcc -g -c -m32 insn-x86-dat-src.c
30 objdump -dSw insn-x86-dat-src.o | awk -f gen-insn-x86-dat.awk > insn-x86-dat-32.c
32 rm -f insn-x86-dat-src.o
/linux-6.1.9/net/can/j1939/
Dtransport.c441 static inline pgn_t j1939_xtp_ctl_to_pgn(const u8 *dat) in j1939_xtp_ctl_to_pgn() argument
445 pgn = (dat[7] << 16) | (dat[6] << 8) | (dat[5] << 0); in j1939_xtp_ctl_to_pgn()
451 static inline unsigned int j1939_tp_ctl_to_size(const u8 *dat) in j1939_tp_ctl_to_size() argument
453 return (dat[2] << 8) + (dat[1] << 0); in j1939_tp_ctl_to_size()
456 static inline unsigned int j1939_etp_ctl_to_packet(const u8 *dat) in j1939_etp_ctl_to_packet() argument
458 return (dat[4] << 16) | (dat[3] << 8) | (dat[2] << 0); in j1939_etp_ctl_to_packet()
461 static inline unsigned int j1939_etp_ctl_to_size(const u8 *dat) in j1939_etp_ctl_to_size() argument
463 return (dat[4] << 24) | (dat[3] << 16) | in j1939_etp_ctl_to_size()
464 (dat[2] << 8) | (dat[1] << 0); in j1939_etp_ctl_to_size()
629 const u8 *dat, int len) in j1939_tp_tx_dat() argument
[all …]
/linux-6.1.9/drivers/video/fbdev/core/
Dcfbfillrect.c150 unsigned long val = pat, dat; in bitfill_aligned_rev() local
163 dat = FB_READL(dst); in bitfill_aligned_rev()
164 FB_WRITEL(comp(dat ^ val, dat, first), dst); in bitfill_aligned_rev()
169 dat = FB_READL(dst); in bitfill_aligned_rev()
170 FB_WRITEL(comp(dat ^ val, dat, first), dst); in bitfill_aligned_rev()
202 dat = FB_READL(dst); in bitfill_aligned_rev()
203 FB_WRITEL(comp(dat ^ val, dat, last), dst); in bitfill_aligned_rev()
221 unsigned long first, last, dat; in bitfill_unaligned_rev() local
233 dat = FB_READL(dst); in bitfill_unaligned_rev()
234 FB_WRITEL(comp(dat ^ pat, dat, first), dst); in bitfill_unaligned_rev()
[all …]
/linux-6.1.9/tools/build/feature/
Dtest-libcrypto.c10 unsigned char dat[] = "12345"; in main() local
18 EVP_DigestUpdate(mdctx, &dat[0], sizeof(dat)); in main()
22 SHA1(&dat[0], sizeof(dat), &md[0]); in main()
/linux-6.1.9/arch/arm/mach-s3c/
Dgpio-samsung.c453 unsigned long dat; in samsung_gpiolib_2bit_output() local
458 dat = __raw_readl(base + 0x04); in samsung_gpiolib_2bit_output()
459 dat &= ~(1 << offset); in samsung_gpiolib_2bit_output()
461 dat |= 1 << offset; in samsung_gpiolib_2bit_output()
462 __raw_writel(dat, base + 0x04); in samsung_gpiolib_2bit_output()
469 __raw_writel(dat, base + 0x04); in samsung_gpiolib_2bit_output()
516 unsigned long dat; in samsung_gpiolib_4bit_output() local
522 dat = __raw_readl(base + GPIODAT_OFF); in samsung_gpiolib_4bit_output()
525 dat |= 1 << offset; in samsung_gpiolib_4bit_output()
527 dat &= ~(1 << offset); in samsung_gpiolib_4bit_output()
[all …]
/linux-6.1.9/arch/arm/mach-omap1/
Dboard-sx1-mmc.c25 u8 dat = 0; in mmc_set_power() local
27 err = sx1_i2c_read_byte(SOFIA_I2C_ADDR, SOFIA_POWER1_REG, &dat); in mmc_set_power()
32 dat |= SOFIA_MMC_POWER; in mmc_set_power()
34 dat &= ~SOFIA_MMC_POWER; in mmc_set_power()
36 return sx1_i2c_write_byte(SOFIA_I2C_ADDR, SOFIA_POWER1_REG, dat); in mmc_set_power()
Dboard-sx1.c128 u8 dat = 0; in sx1_setmmipower() local
129 err = sx1_i2c_read_byte(SOFIA_I2C_ADDR, SOFIA_POWER1_REG, &dat); in sx1_setmmipower()
133 dat |= SOFIA_MMILIGHT_POWER; in sx1_setmmipower()
135 dat &= ~SOFIA_MMILIGHT_POWER; in sx1_setmmipower()
136 return sx1_i2c_write_byte(SOFIA_I2C_ADDR, SOFIA_POWER1_REG, dat); in sx1_setmmipower()
143 u8 dat = 0; in sx1_setusbpower() local
144 err = sx1_i2c_read_byte(SOFIA_I2C_ADDR, SOFIA_POWER1_REG, &dat); in sx1_setusbpower()
148 dat |= SOFIA_USB_POWER; in sx1_setusbpower()
150 dat &= ~SOFIA_USB_POWER; in sx1_setusbpower()
151 return sx1_i2c_write_byte(SOFIA_I2C_ADDR, SOFIA_POWER1_REG, dat); in sx1_setusbpower()
/linux-6.1.9/drivers/gpio/
Dgpio-clps711x.c16 void __iomem *dat, *dir; in clps711x_gpio_probe() local
31 dat = devm_platform_ioremap_resource(pdev, 0); in clps711x_gpio_probe()
32 if (IS_ERR(dat)) in clps711x_gpio_probe()
33 return PTR_ERR(dat); in clps711x_gpio_probe()
42 err = bgpio_init(gc, &pdev->dev, 1, dat, NULL, NULL, in clps711x_gpio_probe()
46 err = bgpio_init(gc, &pdev->dev, 1, dat, NULL, NULL, in clps711x_gpio_probe()
Dgpio-74xx-mmio.c113 void __iomem *dat; in mmio_74xx_gpio_probe() local
122 dat = devm_platform_ioremap_resource(pdev, 0); in mmio_74xx_gpio_probe()
123 if (IS_ERR(dat)) in mmio_74xx_gpio_probe()
124 return PTR_ERR(dat); in mmio_74xx_gpio_probe()
128 dat, NULL, NULL, NULL, NULL, 0); in mmio_74xx_gpio_probe()
/linux-6.1.9/drivers/staging/iio/impedance-analyzer/
Dad5933.c157 unsigned char dat = st->ctrl_hb | cmd; in ad5933_cmd() local
160 AD5933_REG_CONTROL_HB, 1, &dat); in ad5933_cmd()
165 unsigned char dat = st->ctrl_lb | AD5933_CTRL_RESET; in ad5933_reset() local
168 AD5933_REG_CONTROL_LB, 1, &dat); in ad5933_reset()
196 } dat; in ad5933_set_freq() local
212 dat.d32 = cpu_to_be32(freqreg); in ad5933_set_freq()
213 return ad5933_i2c_write(st->client, reg, 3, &dat.d8[1]); in ad5933_set_freq()
218 __be16 dat; in ad5933_setup() local
234 dat = cpu_to_be16(st->settling_cycles); in ad5933_setup()
238 2, (u8 *)&dat); in ad5933_setup()
[all …]
/linux-6.1.9/drivers/net/ethernet/freescale/fs_enet/
Dmii-bitbang.c33 __be32 __iomem *dat; member
74 return bb_read(bitbang->dat, bitbang->mdio_msk); in mdio_read()
82 bb_set(bitbang->dat, bitbang->mdio_msk); in mdio()
84 bb_clr(bitbang->dat, bitbang->mdio_msk); in mdio()
87 in_be32(bitbang->dat); in mdio()
95 bb_set(bitbang->dat, bitbang->mdc_msk); in mdc()
97 bb_clr(bitbang->dat, bitbang->mdc_msk); in mdc()
100 in_be32(bitbang->dat); in mdc()
145 bitbang->dat = bitbang->dir + 4; in fs_mii_bitbang_init()
/linux-6.1.9/drivers/i2c/busses/
Di2c-cbus-gpio.c41 struct gpio_desc *dat; member
52 gpiod_set_value(host->dat, bit ? 1 : 0); in cbus_send_bit()
80 ret = gpiod_get_value(host->dat); in cbus_receive_bit()
127 gpiod_direction_output(host->dat, 1); in cbus_transfer()
142 ret = gpiod_direction_input(host->dat); in cbus_transfer()
231 chost->dat = devm_gpiod_get_index(&pdev->dev, NULL, 1, GPIOD_IN); in cbus_i2c_probe()
232 if (IS_ERR(chost->dat)) in cbus_i2c_probe()
233 return PTR_ERR(chost->dat); in cbus_i2c_probe()
238 gpiod_set_consumer_name(chost->dat, "CBUS dat"); in cbus_i2c_probe()
/linux-6.1.9/arch/mips/txx9/generic/
Dpci.c303 unsigned char dat; in quirk_slc90e66_ide() local
309 pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &dat); in quirk_slc90e66_ide()
310 pr_info("PCI: %s: IRQ %02x", pci_name(dev), dat); in quirk_slc90e66_ide()
313 pci_read_config_byte(dev, regs[i], &dat); in quirk_slc90e66_ide()
314 pci_write_config_byte(dev, regs[i], dat | 0x80); in quirk_slc90e66_ide()
315 pci_read_config_byte(dev, regs[i], &dat); in quirk_slc90e66_ide()
316 pr_cont(" IDETIM%d %02x", i, dat); in quirk_slc90e66_ide()
318 pci_read_config_byte(dev, 0x5c, &dat); in quirk_slc90e66_ide()
328 dat |= 0x01; in quirk_slc90e66_ide()
329 pci_write_config_byte(dev, 0x5c, dat); in quirk_slc90e66_ide()
[all …]
/linux-6.1.9/drivers/media/pci/zoran/
Dzoran.h305 #define btwrite(dat, adr) writel((dat), zr->zr36057_mem + (adr)) argument
308 #define btand(dat, adr) btwrite((dat) & btread(adr), (adr)) argument
309 #define btor(dat, adr) btwrite((dat) | btread(adr), (adr)) argument
310 #define btaor(dat, mask, adr) btwrite((dat) | ((mask) & btread(adr)), (adr)) argument
/linux-6.1.9/net/batman-adv/
Ddistributed-arp-table.c104 INIT_DELAYED_WORK(&bat_priv->dat.work, batadv_dat_purge); in batadv_dat_start_timer()
105 queue_delayed_work(batadv_event_workqueue, &bat_priv->dat.work, in batadv_dat_start_timer()
168 if (!bat_priv->dat.hash) in __batadv_dat_purge()
171 for (i = 0; i < bat_priv->dat.hash->size; i++) { in __batadv_dat_purge()
172 head = &bat_priv->dat.hash->table[i]; in __batadv_dat_purge()
173 list_lock = &bat_priv->dat.hash->list_locks[i]; in __batadv_dat_purge()
204 bat_priv = container_of(priv_dat, struct batadv_priv, dat); in batadv_dat_purge()
290 const struct batadv_dat_entry *dat = data; in batadv_hash_dat() local
295 key = (__force const unsigned char *)&dat->ip; in batadv_hash_dat()
296 for (i = 0; i < sizeof(dat->ip); i++) { in batadv_hash_dat()
[all …]
/linux-6.1.9/drivers/media/pci/bt8xx/
Dbttvp.h516 #define btwrite(dat,adr) writel((dat), btv->bt848_mmio+(adr)) argument
519 #define btand(dat,adr) btwrite((dat) & btread(adr), adr) argument
520 #define btor(dat,adr) btwrite((dat) | btread(adr), adr) argument
521 #define btaor(dat,mask,adr) btwrite((dat) | ((mask) & btread(adr)), adr) argument
/linux-6.1.9/drivers/media/usb/dvb-usb/
Daf9005-remote.c78 u8 cust, dat, invdat; in af9005_rc_decode() local
114 dat = (result >> 8) & 0xff; in af9005_rc_decode()
116 if (dat != invdat) { in af9005_rc_decode()
122 && rc5_data(&rc_map_af9005_table[i]) == dat) { in af9005_rc_decode()
/linux-6.1.9/net/sched/
Dsch_teql.c92 struct teql_sched_data *dat = qdisc_priv(sch); in teql_dequeue() local
97 skb = __skb_dequeue(&dat->q); in teql_dequeue()
98 dat_queue = netdev_get_tx_queue(dat->m->dev, 0); in teql_dequeue()
104 dat->m->slaves = sch; in teql_dequeue()
110 sch->q.qlen = dat->q.qlen + q->q.qlen; in teql_dequeue()
124 struct teql_sched_data *dat = qdisc_priv(sch); in teql_reset() local
126 skb_queue_purge(&dat->q); in teql_reset()
133 struct teql_sched_data *dat = qdisc_priv(sch); in teql_destroy() local
134 struct teql_master *master = dat->m; in teql_destroy()
160 skb_queue_purge(&dat->q); in teql_destroy()
/linux-6.1.9/arch/mips/include/asm/octeon/
Dcvmx-rnm-defs.h142 uint64_t dat:64; member
144 uint64_t dat:64;
164 uint64_t dat:64; member
166 uint64_t dat:64;
/linux-6.1.9/drivers/media/tuners/
Dmax2165.c96 u8 dat[3]; in max2165_read_rom_table() local
101 max2165_read_reg(priv, REG_ROM_TABLE_DATA, &dat[i]); in max2165_read_rom_table()
104 priv->tf_ntch_low_cfg = dat[0] >> 4; in max2165_read_rom_table()
105 priv->tf_ntch_hi_cfg = dat[0] & 0x0F; in max2165_read_rom_table()
106 priv->tf_balun_low_ref = dat[1] & 0x0F; in max2165_read_rom_table()
107 priv->tf_balun_hi_ref = dat[1] >> 4; in max2165_read_rom_table()
108 priv->bb_filter_7mhz_cfg = dat[2] & 0x0F; in max2165_read_rom_table()
109 priv->bb_filter_8mhz_cfg = dat[2] >> 4; in max2165_read_rom_table()

1234567