Home
last modified time | relevance | path

Searched refs:data_in (Results 1 – 25 of 95) sorted by relevance

1234

/linux-6.1.9/fs/btrfs/
Dzlib.c100 char *data_in = NULL; in zlib_compress_pages() local
151 if (data_in) { in zlib_compress_pages()
152 kunmap_local(data_in); in zlib_compress_pages()
157 data_in = kmap_local_page(in_page); in zlib_compress_pages()
159 data_in, PAGE_SIZE); in zlib_compress_pages()
164 if (data_in) { in zlib_compress_pages()
165 kunmap_local(data_in); in zlib_compress_pages()
170 data_in = kmap_local_page(in_page); in zlib_compress_pages()
172 workspace->strm.next_in = data_in; in zlib_compress_pages()
263 if (data_in) { in zlib_compress_pages()
[all …]
Dlzo.c236 char *data_in; in lzo_compress_pages() local
251 data_in = kmap_local_page(page_in); in lzo_compress_pages()
252 ret = lzo1x_1_compress(data_in + in lzo_compress_pages()
256 kunmap_local(data_in); in lzo_compress_pages()
428 int lzo_decompress(struct list_head *ws, unsigned char *data_in, in lzo_decompress() argument
443 in_len = read_compress_length(data_in); in lzo_decompress()
446 data_in += LZO_LEN; in lzo_decompress()
448 in_len = read_compress_length(data_in); in lzo_decompress()
453 data_in += LZO_LEN; in lzo_decompress()
456 ret = lzo1x_decompress_safe(data_in, in_len, workspace->buf, &out_len); in lzo_decompress()
Dcompression.h88 int btrfs_decompress(int type, unsigned char *data_in, struct page *dest_page,
152 int zlib_decompress(struct list_head *ws, unsigned char *data_in,
163 int lzo_decompress(struct list_head *ws, unsigned char *data_in,
173 int zstd_decompress(struct list_head *ws, unsigned char *data_in,
/linux-6.1.9/drivers/comedi/drivers/
Dmpc624.c113 unsigned int data_in = 0; in mpc624_ai_get_sample() local
134 data_in <<= 1; in mpc624_ai_get_sample()
135 data_in |= (inb(dev->iobase + MPC624_ADC) & MPC624_ADSDO) >> 4; in mpc624_ai_get_sample()
157 if (data_in & MPC624_EOC_BIT) in mpc624_ai_get_sample()
159 if (data_in & MPC624_DMY_BIT) in mpc624_ai_get_sample()
162 if (data_in & MPC624_SGN_BIT) { in mpc624_ai_get_sample()
169 data_in &= 0x3fffffff; in mpc624_ai_get_sample()
177 data_in |= MPC624_SGN_BIT; in mpc624_ai_get_sample()
178 data_in = ~data_in; in mpc624_ai_get_sample()
179 data_in += 1; in mpc624_ai_get_sample()
[all …]
/linux-6.1.9/fs/jffs2/
Dcompr_rtime.c32 static int jffs2_rtime_compress(unsigned char *data_in, in jffs2_rtime_compress() argument
49 value = data_in[pos]; in jffs2_rtime_compress()
51 cpage_out[outpos++] = data_in[pos++]; in jffs2_rtime_compress()
57 (data_in[pos]==data_in[backpos++]) && (runlen<255)) { in jffs2_rtime_compress()
76 static int jffs2_rtime_decompress(unsigned char *data_in, in jffs2_rtime_decompress() argument
91 value = data_in[pos++]; in jffs2_rtime_decompress()
93 repeat = data_in[pos++]; in jffs2_rtime_decompress()
Dcompr_zlib.c72 static int jffs2_zlib_compress(unsigned char *data_in, in jffs2_zlib_compress() argument
89 def_strm.next_in = data_in; in jffs2_zlib_compress()
141 static int jffs2_zlib_decompress(unsigned char *data_in, in jffs2_zlib_decompress() argument
150 inf_strm.next_in = data_in; in jffs2_zlib_decompress()
160 if (srclen > 2 && !(data_in[1] & PRESET_DICT) && in jffs2_zlib_decompress()
161 ((data_in[0] & 0x0f) == Z_DEFLATED) && in jffs2_zlib_decompress()
162 !(((data_in[0]<<8) + data_in[1]) % 31)) { in jffs2_zlib_decompress()
165 wbits = -((data_in[0] >> 4) + 8); in jffs2_zlib_decompress()
Dcompr_rubin.c262 static int rubin_do_compress(int bit_divider, int *bits, unsigned char *data_in, in rubin_do_compress() argument
274 while (pos < (*sourcelen) && !out_byte(&rs, data_in[pos])) in rubin_do_compress()
297 int jffs2_rubinmips_compress(unsigned char *data_in, unsigned char *cpage_out,
300 return rubin_do_compress(BIT_DIVIDER_MIPS, bits_mips, data_in,
304 static int jffs2_dynrubin_compress(unsigned char *data_in, in jffs2_dynrubin_compress() argument
322 histo[data_in[i]]++; in jffs2_dynrubin_compress()
350 ret = rubin_do_compress(256, bits, data_in, cpage_out+8, &mysrclen, in jffs2_dynrubin_compress()
384 static int jffs2_rubinmips_decompress(unsigned char *data_in, in jffs2_rubinmips_decompress() argument
388 rubin_do_decompress(BIT_DIVIDER_MIPS, bits_mips, data_in, in jffs2_rubinmips_decompress()
393 static int jffs2_dynrubin_decompress(unsigned char *data_in, in jffs2_dynrubin_decompress() argument
[all …]
Dcompr_lzo.c43 static int jffs2_lzo_compress(unsigned char *data_in, unsigned char *cpage_out, in jffs2_lzo_compress() argument
50 ret = lzo1x_1_compress(data_in, *sourcelen, lzo_compress_buf, &compress_size, lzo_mem); in jffs2_lzo_compress()
68 static int jffs2_lzo_decompress(unsigned char *data_in, unsigned char *cpage_out, in jffs2_lzo_decompress() argument
74 ret = lzo1x_decompress_safe(data_in, srclen, cpage_out, &dl); in jffs2_lzo_decompress()
Dcompr.c74 static int jffs2_selected_compress(u8 compr, unsigned char *data_in, in jffs2_selected_compress() argument
108 err = this->compress(data_in, output_buf, datalen, cdatalen); in jffs2_selected_compress()
149 unsigned char *data_in, unsigned char **cpage_out, in jffs2_compress() argument
168 ret = jffs2_selected_compress(0, data_in, cpage_out, datalen, in jffs2_compress()
206 compr_ret = this->compress(data_in, this->compr_buf, datalen, cdatalen); in jffs2_compress()
233 ret = jffs2_selected_compress(JFFS2_COMPR_LZO, data_in, in jffs2_compress()
237 ret = jffs2_selected_compress(JFFS2_COMPR_ZLIB, data_in, in jffs2_compress()
245 *cpage_out = data_in; in jffs2_compress()
Dcompr.h53 int (*compress)(unsigned char *data_in, unsigned char *cpage_out,
74 unsigned char *data_in, unsigned char **cpage_out,
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dempty_skb.c27 const void *data_in; in serial_test_empty_skb() member
39 .data_in = NULL, in serial_test_empty_skb()
47 .data_in = NULL, in serial_test_empty_skb()
61 .data_in = eth_hlen, in serial_test_empty_skb()
74 .data_in = eth_hlen, in serial_test_empty_skb()
84 .data_in = eth_hlen_pp, in serial_test_empty_skb()
90 .data_in = eth_hlen_pp, in serial_test_empty_skb()
119 tattr.data_in = tests[i].data_in; in serial_test_empty_skb()
Dxdp_adjust_tail.c13 .data_in = &pkt_v4, in test_xdp_adjust_tail_shrink()
29 topts.data_in = &pkt_v6; in test_xdp_adjust_tail_shrink()
48 .data_in = &pkt_v4, in test_xdp_adjust_tail_grow()
64 topts.data_in = &pkt_v6; in test_xdp_adjust_tail_grow()
86 .data_in = &buf, in test_xdp_adjust_tail_grow2()
168 topts.data_in = buf; in test_xdp_adjust_frags_tail_shrink()
232 topts.data_in = buf; in test_xdp_adjust_frags_tail_grow()
255 topts.data_in = topts.data_out = buf; in test_xdp_adjust_frags_tail_grow()
Dpkt_access.c11 .data_in = &pkt_v4, in test_pkt_access()
24 topts.data_in = &pkt_v6; in test_pkt_access()
Dxdp_adjust_frags.c36 topts.data_in = buf; in test_xdp_update_frags()
61 topts.data_in = buf; in test_xdp_update_frags()
129 topts.data_in = buf; in test_xdp_update_frags()
Dksyms_module.c14 .data_in = &pkt_v4, in test_ksyms_module_lskel()
41 .data_in = &pkt_v4, in test_ksyms_module_libbpf()
Dtailcalls.c18 .data_in = buff, in test_tailcall_1()
154 .data_in = buff, in test_tailcall_2()
229 .data_in = buff, in test_tailcall_count()
327 .data_in = buff, in test_tailcall_4()
417 .data_in = buff, in test_tailcall_5()
505 .data_in = &pkt_v4, in test_tailcall_bpf2bpf_1()
589 .data_in = buff, in test_tailcall_bpf2bpf_2()
669 .data_in = &pkt_v4, in test_tailcall_bpf2bpf_3()
764 .data_in = &pkt_v4, in test_tailcall_bpf2bpf_4()
844 .data_in = &pkt_v4, in test_tailcall_bpf2bpf_6()
Dkfunc_call.c106 topts.data_in = &pkt_v4; in verify_success()
172 topts.data_in = &pkt_v4; in verify_fail()
235 .data_in = &pkt_v4, in test_subprog()
259 .data_in = &pkt_v4, in test_subprog_lskel()
Dxdp.c18 .data_in = &pkt_v4, in test_xdp()
42 topts.data_in = &pkt_v6; in test_xdp()
Dxdp_noinline.c33 .data_in = &pkt_v4, in test_xdp_noinline()
54 topts.data_in = &pkt_v6; in test_xdp_noinline()
Dl4lb_all.c56 topts.data_in = &pkt_v4; in test_l4lb()
65 topts.data_in = &pkt_v6; in test_l4lb()
/linux-6.1.9/drivers/input/joystick/iforce/
Diforce-usb.c19 u8 data_in[IFORCE_MAX_LENGTH] ____cacheline_aligned; member
162 iforce_process_packet(iforce, iforce_usb->data_in[0], in iforce_usb_irq()
163 iforce_usb->data_in + 1, urb->actual_length - 1); in iforce_usb_irq()
230 iforce_usb->data_in, sizeof(iforce_usb->data_in), in iforce_usb_probe()
Diforce-serio.c21 u8 data_in[IFORCE_MAX_LENGTH]; member
158 iforce_serio->data_in[iforce_serio->idx++] = data; in iforce_serio_irq()
168 iforce_serio->data_in, IFORCE_MAX_LENGTH); in iforce_serio_irq()
175 iforce_serio->data_in, in iforce_serio_irq()
/linux-6.1.9/drivers/char/ipmi/
Dkcs_bmc_cdev_ipmi.c82 u8 *data_in; member
154 priv->data_in[priv->data_in_idx++] = kcs_bmc_read_data(dev); in kcs_bmc_ipmi_handle_data()
164 priv->data_in[priv->data_in_idx++] = kcs_bmc_read_data(dev); in kcs_bmc_ipmi_handle_data()
338 memcpy(priv->kbuffer, priv->data_in, data_len); in kcs_bmc_ipmi_read()
488 priv->data_in = devm_kmalloc(kcs_bmc->dev, KCS_MSG_BUFSIZ, GFP_KERNEL); in kcs_bmc_ipmi_add_device()
495 if (!priv->data_in || !priv->data_out || !priv->kbuffer || !priv->miscdev.name) in kcs_bmc_ipmi_add_device()
536 devm_kfree(kcs_bmc->dev, priv->data_in); in kcs_bmc_ipmi_remove_device()
/linux-6.1.9/drivers/mtd/nand/raw/
Dams-delta.c43 bool data_in; member
80 priv->data_in = false; in gpio_nand_dir_output()
109 priv->data_in = true; in gpio_nand_dir_input()
116 if (len > 0 && priv->data_in) in gpio_nand_write_buf()
127 if (priv->data_gpiods && !priv->data_in) in gpio_nand_read_buf()
339 priv->data_in = true; in gpio_nand_probe()
/linux-6.1.9/drivers/gpio/
Dgpio-mvebu.c316 u32 data_in, in_pol; in mvebu_gpio_get() local
319 &data_in); in mvebu_gpio_get()
322 u = data_in ^ in_pol; in mvebu_gpio_get()
534 u32 data_in, in_pol, val; in mvebu_gpio_irq_set_type() local
539 GPIO_DATA_IN_OFF + mvchip->offset, &data_in); in mvebu_gpio_irq_set_type()
544 if ((data_in ^ in_pol) & BIT(pin)) in mvebu_gpio_irq_set_type()
562 u32 cause, type, data_in, level_mask, edge_cause, edge_mask; in mvebu_gpio_irq_handler() local
570 regmap_read(mvchip->regs, GPIO_DATA_IN_OFF + mvchip->offset, &data_in); in mvebu_gpio_irq_handler()
575 cause = (data_in & level_mask) | (edge_cause & edge_mask); in mvebu_gpio_irq_handler()
883 u32 out, io_conf, blink, in_pol, data_in, cause, edg_msk, lvl_msk; in mvebu_gpio_dbg_show() local
[all …]

1234