/openbmc/linux/kernel/bpf/ |
H A D | log.c | 91 u32 buf_start, buf_end, new_n; in bpf_verifier_vlog() local 107 div_u64_rem(cur_pos, log->len_total, &buf_start); in bpf_verifier_vlog() 122 if (buf_start < buf_end) { in bpf_verifier_vlog() 124 if (copy_to_user(log->ubuf + buf_start, in bpf_verifier_vlog() 126 buf_end - buf_start)) in bpf_verifier_vlog() 130 if (copy_to_user(log->ubuf + buf_start, in bpf_verifier_vlog() 132 log->len_total - buf_start)) in bpf_verifier_vlog()
|
/openbmc/linux/drivers/soc/fsl/ |
H A D | dpaa2-console.c | 47 __le32 buf_start; member 109 u32 read_magic, wrapped, last_byte, buf_start, buf_length; in dpaa2_generic_console_open() local 134 buf_start = readl(&cd->hdr->buf_start); in dpaa2_generic_console_open() 144 cd->start_addr = cd->map_addr + buf_start - offset_delta; in dpaa2_generic_console_open()
|
/openbmc/linux/fs/btrfs/ |
H A D | zstd.c | 551 unsigned long buf_start; in zstd_decompress_bio() local 581 buf_start = total_out; in zstd_decompress_bio() 586 total_out - buf_start, cb, buf_start); in zstd_decompress_bio() 650 unsigned long buf_start; in zstd_decompress() local 669 buf_start = total_out; in zstd_decompress() 676 if (total_out > start_byte && buf_start < start_byte) in zstd_decompress() 677 buf_offset = start_byte - buf_start; in zstd_decompress()
|
H A D | zlib.c | 281 unsigned long buf_start; in zlib_decompress_bio() local 314 buf_start = total_out; in zlib_decompress_bio() 318 if (buf_start == total_out) in zlib_decompress_bio() 322 total_out - buf_start, cb, buf_start); in zlib_decompress_bio()
|
/openbmc/linux/tools/lib/perf/ |
H A D | lib.c | 12 void *buf_start = buf; in ion() local 29 BUG_ON((size_t)(buf - buf_start) != n); in ion()
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | pxa3xx_nand.c | 178 unsigned int buf_start; member 795 info->buf_start = 0; in prepare_start_command() 863 info->buf_start = column; in prepare_set_command() 869 info->buf_start += mtd->writesize; in prepare_set_command() 905 info->buf_start = column; in prepare_set_command() 1351 if (info->buf_start < info->buf_count) in pxa3xx_nand_read_byte() 1353 retval = info->data_buff[info->buf_start++]; in pxa3xx_nand_read_byte() 1365 if (!(info->buf_start & 0x01) && info->buf_start < info->buf_count) { in pxa3xx_nand_read_word() 1366 retval = *((u16 *)(info->data_buff+info->buf_start)); in pxa3xx_nand_read_word() 1367 info->buf_start += 2; in pxa3xx_nand_read_word() [all …]
|
/openbmc/linux/drivers/staging/rtl8712/ |
H A D | xmit_linux.c | 35 (addr_t)(pfile->buf_start))); in remainder_len() 41 pfile->cur_addr = pfile->buf_start = pktptr->data; in _r8712_open_pktfile() 43 pfile->cur_buffer = pfile->buf_start; in _r8712_open_pktfile()
|
H A D | xmit_osdep.h | 24 u8 *buf_start; member
|
/openbmc/u-boot/drivers/fpga/ |
H A D | zynqmppl.c | 171 ulong *buf_start; in zynqmp_validate_bitstream() local 174 buf_start = check_data((u8 *)buf, blocksize, swap); in zynqmp_validate_bitstream() 176 if (!buf_start) in zynqmp_validate_bitstream() 180 diff = (ulong)buf_start - (ulong)buf; in zynqmp_validate_bitstream()
|
H A D | zynqpl.c | 340 u32 *buf_start; in zynq_validate_bitstream() local 343 buf_start = check_data((u8 *)buf, blocksize, swap); in zynq_validate_bitstream() 345 if (!buf_start) in zynq_validate_bitstream() 349 diff = (u32)buf_start - (u32)buf; in zynq_validate_bitstream()
|
/openbmc/qemu/block/ |
H A D | curl.c | 98 uint64_t buf_start; member 275 uint64_t buf_end = (state->buf_start + state->buf_off); in curl_find_buf() 276 uint64_t buf_fend = (state->buf_start + state->buf_len); in curl_find_buf() 284 if ((start >= state->buf_start) && in curl_find_buf() 286 (clamped_end >= state->buf_start) && in curl_find_buf() 289 char *buf = state->orig_buf + (start - state->buf_start); in curl_find_buf() 301 (start >= state->buf_start) && in curl_find_buf() 303 (clamped_end >= state->buf_start) && in curl_find_buf() 308 acb->start = start - state->buf_start; in curl_find_buf() 923 state->buf_start = start; in curl_setup_preadv()
|
/openbmc/linux/drivers/staging/rtl8723bs/os_dep/ |
H A D | xmit_linux.c | 13 return (pfile->buf_len - ((SIZE_PTR)(pfile->cur_addr) - (SIZE_PTR)(pfile->buf_start))); in rtw_remainder_len() 19 pfile->cur_addr = pfile->buf_start = pktptr->data; in _rtw_open_pktfile() 22 pfile->cur_buffer = pfile->buf_start; in _rtw_open_pktfile()
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | mxc_nand.c | 182 unsigned int buf_start; member 906 ret = *(uint16_t *)(host->data_buf + host->buf_start); in mxc_nand_read_byte() 908 host->buf_start += 2; in mxc_nand_read_byte() 910 ret = *(uint8_t *)(host->data_buf + host->buf_start); in mxc_nand_read_byte() 911 host->buf_start++; in mxc_nand_read_byte() 914 dev_dbg(host->dev, "%s: ret=0x%hhx (start=%u)\n", __func__, ret, host->buf_start); in mxc_nand_read_byte() 926 u16 col = host->buf_start; in mxc_nand_write_buf() 933 host->buf_start += n; in mxc_nand_write_buf() 945 u16 col = host->buf_start; in mxc_nand_read_buf() 952 host->buf_start += n; in mxc_nand_read_buf() [all …]
|
H A D | qcom_nandc.c | 435 int buf_start; member 1475 nandc->buf_start = 0; in qcom_nandc_read_cw_raw() 1898 nandc->buf_start = 0; in qcom_nandc_read_page() 1975 nandc->buf_start = 0; in qcom_nandc_write_page() 2703 nandc->buf_start = 0; in qcom_read_status_exec() 2760 nandc->buf_start = 0; in qcom_read_id_type_exec() 2823 nandc->buf_start = 0; in qcom_misc_cmd_type_exec() 2870 nandc->buf_start = 0; in qcom_param_page_type_exec()
|
/openbmc/u-boot/tools/ |
H A D | mips-relocs.c | 201 uint8_t *buf_start, *buf; in main() local 383 buf = buf_start = elf + shdr_field(i_rel_shdr, sh_offset); in main() 394 rel_actual_size = buf - buf_start; in main()
|
/openbmc/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | htc.h | 302 u8 *buf_start; member 655 packet->buf = packet->buf_start; in htc_rxpkt_reset() 665 packet->buf_start = buf; in set_htc_rxpkt_info()
|
H A D | htc_mbox.c | 403 packet->buf = packet->buf_start + HTC_HDR_LENGTH; in htc_get_control_buf() 2410 kfree(packet->buf_start); in ath6kl_htc_mbox_flush_rx_buf() 2800 packet->buf_start = kzalloc(ctrl_bufsz, GFP_KERNEL); in ath6kl_htc_reset() 2801 if (!packet->buf_start) { in ath6kl_htc_reset() 2809 packet->buf = packet->buf_start; in ath6kl_htc_reset() 2897 kfree(packet->buf_start); in ath6kl_htc_mbox_cleanup() 2904 kfree(packet->buf_start); in ath6kl_htc_mbox_cleanup()
|
/openbmc/linux/drivers/staging/rtl8723bs/include/ |
H A D | xmit_osdep.h | 15 u8 *buf_start; member
|
/openbmc/qemu/hw/display/ |
H A D | exynos4210_fimd.c | 271 uint32_t buf_start[3]; /* Start address for video frame buffer */ member 1139 fb_start_addr = w->buf_start[fimd_get_buffer_id(w)]; in fimd_update_memory_section() 1509 s->window[w].buf_start[i] != val) { in exynos4210_fimd_write() 1510 s->window[w].buf_start[i] = val; in exynos4210_fimd_write() 1514 s->window[w].buf_start[i] = val; in exynos4210_fimd_write() 1639 s->window[w].buf_start[2] != val) { in exynos4210_fimd_write() 1640 s->window[w].buf_start[2] = val; in exynos4210_fimd_write() 1644 s->window[w].buf_start[2] = val; in exynos4210_fimd_write() 1742 return s->window[w].buf_start[i]; in exynos4210_fimd_read() 1802 return s->window[(offset - FIMD_VIDW0ADD0_B2) >> 3].buf_start[2]; in exynos4210_fimd_read() [all …]
|
/openbmc/linux/drivers/usb/host/ |
H A D | isp1362-hcd.c | 138 if (offset < isp1362_hcd->istl_queue[1].buf_start) in get_ptd_queue() 140 else if (offset < isp1362_hcd->intl_queue.buf_start) in get_ptd_queue() 142 else if (offset < isp1362_hcd->atl_queue.buf_start) in get_ptd_queue() 144 else if (offset < isp1362_hcd->atl_queue.buf_start + in get_ptd_queue() 166 offset = epq->buf_start + index * epq->blk_size; in get_ptd_offset() 850 if (ptd_offset < epq->buf_start + epq->buf_size) in next_ptd() 876 ptd_offset = epq->buf_start; in start_iso_transfers() 897 epq->buf_start + epq->buf_size) { in start_iso_transfers() 2247 isp1362_hcd->istl_queue[i].buf_start = i * istl_size / 2, in isp1362_mem_config() 2255 isp1362_hcd->istl_queue[i].buf_start, in isp1362_mem_config() [all …]
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | xlated_dumper.c | 367 void dump_xlated_for_graph(struct dump_data *dd, void *buf_start, void *buf_end, in dump_xlated_for_graph() argument 380 struct bpf_insn *insn_start = buf_start; in dump_xlated_for_graph()
|
/openbmc/linux/drivers/media/usb/dvb-usb/ |
H A D | opera1.c | 294 static u8 buf_start[2] = { 0xff, 0x03 }; in opera1_streaming_ctrl() local 297 {.addr = ADDR_B1A6_STREAM_CTRL,.buf = onoff ? buf_start : buf_stop,.len = 2}, in opera1_streaming_ctrl()
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | s3c-fb.c | 93 unsigned short buf_start; member 541 writel(info->fix.smem_start, buf + sfb->variant.buf_start); in s3c_fb_set_par() 904 writel(info->fix.smem_start + start_boff, buf + sfb->variant.buf_start); in s3c_fb_pan_display() 1713 .buf_start = VIDW_BUF_START(0), 1747 .buf_start = 0x64,
|
/openbmc/linux/net/bridge/netfilter/ |
H A D | ebtables.c | 2102 char *buf_start; in size_entry_mwt() local 2125 buf_start = state->buf_kern_start + state->buf_kern_offset; in size_entry_mwt() 2126 offsets_update = (unsigned int *) buf_start; in size_entry_mwt() 2132 buf_start = (char *) entry; in size_entry_mwt() 2156 char *buf = buf_start + offsets[i]; in size_entry_mwt() 2175 unsigned int offset = buf_start - (char *) base; in size_entry_mwt()
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_execbuf.c | 687 vmw_ptr_diff(sw_context->buf_start, in vmw_cmd_res_check() 1936 vmw_ptr_diff(sw_context->buf_start, in vmw_cmd_shader_define() 1973 vmw_ptr_diff(sw_context->buf_start, in vmw_cmd_shader_destroy() 2029 vmw_ptr_diff(sw_context->buf_start, in vmw_cmd_set_shader() 2670 vmw_ptr_diff(sw_context->buf_start, in vmw_cmd_dx_view_remove() 3734 sw_context->buf_start = buf; in vmw_cmd_check_all()
|