Home
last modified time | relevance | path

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

1234

/linux/fs/btrfs/
H A Dzlib.c126 void *data_in; in copy_data_into_buffer() local
139 data_in = kmap_local_folio(folio, offset); in copy_data_into_buffer()
140 memcpy(workspace->buf + cur - filepos, data_in, copy_length); in copy_data_into_buffer()
141 kunmap_local(data_in); in copy_data_into_buffer()
157 char *data_in = NULL; in zlib_compress_folios() local
223 if (data_in) { in zlib_compress_folios()
224 kunmap_local(data_in); in zlib_compress_folios()
226 data_in = NULL; in zlib_compress_folios()
233 data_in = kmap_local_folio(in_folio, in zlib_compress_folios()
236 workspace->strm.next_in = data_in; in zlib_compress_folios()
[all …]
H A Dlzo.c247 char *data_in; in lzo_compress_folios() local
263 data_in = kmap_local_folio(folio_in, offset_in_folio(folio_in, cur_in)); in lzo_compress_folios()
264 ret = lzo1x_1_compress(data_in, in_len, in lzo_compress_folios()
267 kunmap_local(data_in); in lzo_compress_folios()
449 int lzo_decompress(struct list_head *ws, const u8 *data_in, in lzo_decompress() argument
464 in_len = read_compress_length(data_in); in lzo_decompress()
467 data_in += LZO_LEN; in lzo_decompress()
469 in_len = read_compress_length(data_in); in lzo_decompress()
474 data_in += LZO_LEN; in lzo_decompress()
477 ret = lzo1x_decompress_safe(data_in, in_len, workspace->buf, &out_len); in lzo_decompress()
/linux/drivers/comedi/drivers/
H A 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/fs/jffs2/
H A 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()
H A 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()
H A 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()
292 int jffs2_rubinmips_compress(unsigned char *data_in, unsigned char *cpage_out,
295 return rubin_do_compress(BIT_DIVIDER_MIPS, bits_mips, data_in,
299 static int jffs2_dynrubin_compress(unsigned char *data_in, in jffs2_dynrubin_compress() argument
317 histo[data_in[i]]++; in jffs2_dynrubin_compress()
345 ret = rubin_do_compress(256, bits, data_in, cpage_out+8, &mysrclen, in jffs2_dynrubin_compress()
379 static int jffs2_rubinmips_decompress(unsigned char *data_in, in jffs2_rubinmips_decompress() argument
383 rubin_do_decompress(BIT_DIVIDER_MIPS, bits_mips, data_in, in jffs2_rubinmips_decompress()
388 static int jffs2_dynrubin_decompress(unsigned char *data_in, in jffs2_dynrubin_decompress() argument
[all …]
H A 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()
H A 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()
H A Dcompr.h53 int (*compress)(unsigned char *data_in, unsigned char *cpage_out,
74 unsigned char *data_in, unsigned char **cpage_out,
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dempty_skb.c22 const void *data_in; in test_empty_skb() member
35 .data_in = NULL, in test_empty_skb()
43 .data_in = NULL, in test_empty_skb()
57 .data_in = eth_hlen, in test_empty_skb()
71 .data_in = eth_hlen, in test_empty_skb()
82 .data_in = eth_hlen_pp, in test_empty_skb()
89 .data_in = eth_hlen_pp, in test_empty_skb()
124 tattr.data_in = tests[i].data_in; in test_empty_skb()
H A Drbtree.c16 .data_in = &pkt_v4, in test_rbtree_add_nodes()
38 .data_in = &pkt_v4, in test_rbtree_add_nodes_nested()
60 .data_in = &pkt_v4, in test_rbtree_add_and_remove()
82 .data_in = &pkt_v4, in test_rbtree_add_and_remove_array()
103 .data_in = &pkt_v4, in test_rbtree_first_and_remove()
127 .data_in = &pkt_v4, in test_rbtree_api_release_aliasing()
H A 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()
69 topts.data_in = &pkt_v6; in test_xdp_adjust_tail_grow()
98 .data_in = &buf, in test_xdp_adjust_tail_grow2()
180 topts.data_in = buf; in test_xdp_adjust_frags_tail_shrink()
244 topts.data_in = buf; in test_xdp_adjust_frags_tail_grow_4k()
273 topts.data_in = topts.data_out = buf; in test_xdp_adjust_frags_tail_grow_4k()
315 topts.data_in = buf; in test_xdp_adjust_frags_tail_grow_64k()
344 topts.data_in = topts.data_out = buf; in test_xdp_adjust_frags_tail_grow_64k()
H A Dlocal_kptr_stash.c12 .data_in = &pkt_v4, in test_local_kptr_stash_simple()
33 .data_in = &pkt_v4, in test_local_kptr_stash_plain()
54 .data_in = &pkt_v4, in test_local_kptr_stash_local_with_root()
75 .data_in = &pkt_v4, in test_local_kptr_stash_unstash()
100 .data_in = &pkt_v4, in test_refcount_acquire_without_unstash()
H A Dpkt_access.c11 .data_in = &pkt_v4, in test_pkt_access()
24 topts.data_in = &pkt_v6; in test_pkt_access()
H A 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()
H A Ddynptr.c102 .data_in = &pkt_v4, in verify_success()
133 .data_in = &pkt_v4, in verify_success()
156 .data_in = &data, in verify_success()
H A Dksyms_module.c14 .data_in = &pkt_v4, in test_ksyms_module_lskel()
41 .data_in = &pkt_v4, in test_ksyms_module_libbpf()
H A Dkfunc_call.c110 topts.data_in = &pkt_v4; in verify_success()
176 topts.data_in = &pkt_v4; in verify_fail()
239 .data_in = &pkt_v4, in test_subprog()
263 .data_in = &pkt_v4, in test_subprog_lskel()
H A Dfor_each.c22 .data_in = &pkt_v4, in test_hash_map()
88 .data_in = &pkt_v4, in test_array_map()
156 .data_in = &pkt_v4, in test_multi_maps()
214 .data_in = &pkt_v4, in test_hash_modify()
H A Dtailcalls.c25 .data_in = buff, in test_tailcall_1()
161 .data_in = buff, in test_tailcall_2()
238 .data_in = buff, in test_tailcall_count()
422 .data_in = buff, in test_tailcall_4()
512 .data_in = buff, in test_tailcall_5()
600 .data_in = &pkt_v4, in test_tailcall_bpf2bpf_1()
684 .data_in = buff, in test_tailcall_bpf2bpf_2()
764 .data_in = &pkt_v4, in test_tailcall_bpf2bpf_3()
859 .data_in = &pkt_v4, in test_tailcall_bpf2bpf_4()
939 .data_in = &pkt_v4, in test_tailcall_bpf2bpf_6()
[all …]
H A Dxdp.c18 .data_in = &pkt_v4, in test_xdp()
42 topts.data_in = &pkt_v6; in test_xdp()
/linux/drivers/input/joystick/iforce/
H A Diforce-usb.c19 u8 data_in[IFORCE_MAX_LENGTH] ____cacheline_aligned; member
161 iforce_process_packet(iforce, iforce_usb->data_in[0], in iforce_usb_irq()
162 iforce_usb->data_in + 1, urb->actual_length - 1); in iforce_usb_irq()
229 iforce_usb->data_in, sizeof(iforce_usb->data_in), in iforce_usb_probe()
H A Diforce-serio.c21 u8 data_in[IFORCE_MAX_LENGTH]; member
152 iforce_serio->data_in[iforce_serio->idx++] = data; in iforce_serio_irq()
162 iforce_serio->data_in, IFORCE_MAX_LENGTH); in iforce_serio_irq()
169 iforce_serio->data_in, in iforce_serio_irq()
/linux/drivers/char/ipmi/
H A 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/drivers/mtd/nand/raw/
H A 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()

1234