Home
last modified time | relevance | path

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

123456

/openbmc/linux/fs/btrfs/
H A Dzlib.c100 char *data_in = NULL; in zlib_compress_pages() local
151 if (data_in) { in zlib_compress_pages()
159 data_in); in zlib_compress_pages()
164 if (data_in) { in zlib_compress_pages()
263 if (data_in) { in zlib_compress_pages()
264 kunmap_local(data_in); in zlib_compress_pages()
276 char *data_in; in zlib_decompress_bio() local
297 !(((data_in[0]<<8) + data_in[1]) % 31)) { in zlib_decompress_bio()
336 data_in = NULL; in zlib_decompress_bio()
351 if (data_in) in zlib_decompress_bio()
[all …]
H A Dlzo.c239 char *data_in; in lzo_compress_pages() local
254 data_in = kmap_local_page(page_in); in lzo_compress_pages()
255 ret = lzo1x_1_compress(data_in + in lzo_compress_pages()
259 kunmap_local(data_in); in lzo_compress_pages()
427 int lzo_decompress(struct list_head *ws, const u8 *data_in, in lzo_decompress() argument
442 in_len = read_compress_length(data_in); in lzo_decompress()
445 data_in += LZO_LEN; in lzo_decompress()
447 in_len = read_compress_length(data_in); in lzo_decompress()
452 data_in += LZO_LEN; in lzo_decompress()
455 ret = lzo1x_decompress_safe(data_in, in_len, workspace->buf, &out_len); in lzo_decompress()
H A Dcompression.h85 int btrfs_decompress(int type, const u8 *data_in, struct page *dest_page,
145 int zlib_decompress(struct list_head *ws, const u8 *data_in,
156 int lzo_decompress(struct list_head *ws, const u8 *data_in,
166 int zstd_decompress(struct list_head *ws, const u8 *data_in,
/openbmc/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()
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()
182 data_in = 0x20000000 - data_in; in mpc624_ai_get_sample()
[all …]
/openbmc/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.c274 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
401 bits[c] = data_in[c]; in jffs2_dynrubin_decompress()
[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()
/openbmc/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()
122 tattr.data_in = tests[i].data_in; in test_empty_skb()
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()
64 topts.data_in = &pkt_v6; in test_xdp_adjust_tail_grow()
91 .data_in = &buf, in test_xdp_adjust_tail_grow2()
173 topts.data_in = buf; in test_xdp_adjust_frags_tail_shrink()
237 topts.data_in = buf; in test_xdp_adjust_frags_tail_grow()
260 topts.data_in = topts.data_out = buf; in test_xdp_adjust_frags_tail_grow()
H A Drbtree.c15 .data_in = &pkt_v4, in test_rbtree_add_nodes()
37 .data_in = &pkt_v4, in test_rbtree_add_and_remove()
59 .data_in = &pkt_v4, in test_rbtree_first_and_remove()
83 .data_in = &pkt_v4, in test_rbtree_api_release_aliasing()
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_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 Dksyms_module.c14 .data_in = &pkt_v4, in test_ksyms_module_lskel()
41 .data_in = &pkt_v4, in test_ksyms_module_libbpf()
/openbmc/u-boot/fs/jffs2/
H A Dcompr_rtime.c51 void rtime_decompress(unsigned char *data_in, unsigned char *cpage_out, in rtime_decompress() argument
68 value = data_in[pos++]; in rtime_decompress()
70 repeat = data_in[pos++]; in rtime_decompress()
H A Dcompr_rubin.c112 void dynrubin_decompress(unsigned char *data_in, unsigned char *cpage_out, in dynrubin_decompress() argument
119 bits[c] = (256 - data_in[c]); in dynrubin_decompress()
121 rubin_do_decompress(bits, data_in+8, cpage_out, dstlen); in dynrubin_decompress()
H A Dcompr_zlib.c43 long zlib_decompress(unsigned char *data_in, unsigned char *cpage_out, in zlib_decompress() argument
46 return (decompress_block(cpage_out, data_in + 2, (void *) ldr_memcpy)); in zlib_decompress()
/openbmc/u-boot/drivers/spi/
H A Dfsl_espi.c240 void *data_in, unsigned long flags) in spi_xfer() argument
279 if (data_in == NULL) in spi_xfer()
296 *(uint *)data_out, data_out, *(uint *)data_in, data_in, len); in spi_xfer()
300 if (data_in) in spi_xfer()
342 if (data_in) { in spi_xfer()
343 memcpy(data_in, buffer + 2 * cmd_len, tran_len); in spi_xfer()
345 data_in += tran_len; in spi_xfer()
H A Datcspi200_spi.c190 unsigned int bitlen, const void *data_out, void *data_in, in __atcspi200_spi_xfer() argument
217 ns->din = (u8 *)data_in; in __atcspi200_spi_xfer()
234 *(uint *)data_out, data_out, *(uint *)data_in, in __atcspi200_spi_xfer()
235 data_in, data_len); in __atcspi200_spi_xfer()
237 din = data_in; in __atcspi200_spi_xfer()
256 if ((event & RXFVE_MASK) && (data_in)) { in __atcspi200_spi_xfer()
/openbmc/u-boot/include/jffs2/
H A Djffs2.h220 void rtime_decompress(unsigned char *data_in, unsigned char *cpage_out,
224 void dynrubin_decompress(unsigned char *data_in, unsigned char *cpage_out,
226 long zlib_decompress(unsigned char *data_in, unsigned char *cpage_out,
229 int lzo_decompress(unsigned char *data_in, unsigned char *cpage_out,
/openbmc/qemu/hw/usb/
H A Ddev-mtp.c191 MTPData *data_in; member
1243 MTPData *data_in = NULL; in usb_mtp_command() local
1363 if (data_in == NULL) { in usb_mtp_command()
1385 if (data_in == NULL) { in usb_mtp_command()
1391 res0 = data_in->length; in usb_mtp_command()
1457 if (data_in == NULL) { in usb_mtp_command()
1471 if (data_in == NULL) { in usb_mtp_command()
1485 if (data_in) { in usb_mtp_command()
1487 s->data_in = data_in; in usb_mtp_command()
1504 s->data_in = NULL; in usb_mtp_handle_reset()
[all …]
/openbmc/linux/drivers/input/joystick/iforce/
H A 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()
/openbmc/qemu/hw/ppc/
H A Dspapr_tpm_proxy.c40 uint64_t data_in = ppc64_phys_to_real(args[1]); in tpm_execute() local
48 trace_spapr_tpm_execute(data_in, data_in_size, data_out, data_out_size); in tpm_execute()
71 cpu_physical_memory_read(data_in, buf_in, data_in_size); in tpm_execute()

123456