Home
last modified time | relevance | path

Searched refs:buf_end (Results 1 – 25 of 37) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/gpu/drm/via/
H A Dvia_verifier.c239 eat_words(const uint32_t **buf, const uint32_t *buf_end, unsigned num_words) in eat_words() argument
241 if ((buf_end - *buf) >= num_words) { in eat_words()
521 via_check_prim_list(uint32_t const **buffer, const uint32_t * buf_end, in via_check_prim_list() argument
531 while (buf < buf_end) { in via_check_prim_list()
533 if ((buf_end - buf) < 2) { in via_check_prim_list()
580 while (buf < buf_end) { in via_check_prim_list()
593 if (buf < buf_end && *buf == a_fire) in via_check_prim_list()
605 if ((ret = eat_words(&buf, buf_end, dw_count))) in via_check_prim_list()
608 if (buf >= buf_end && !have_fire) { in via_check_prim_list()
625 via_check_header2(uint32_t const **buffer, const uint32_t *buf_end, in via_check_header2() argument
[all …]
/OK3568_Linux_fs/kernel/fs/
H A Dbinfmt_script.c36 const char *i_name, *i_sep, *i_arg, *i_end, *buf_end; in load_script() local
58 buf_end = bprm->buf + sizeof(bprm->buf) - 1; in load_script()
61 i_end = next_non_spacetab(bprm->buf + 2, buf_end); in load_script()
68 if (!next_terminator(i_end, buf_end)) in load_script()
70 i_end = buf_end; in load_script()
/OK3568_Linux_fs/kernel/sound/usb/line6/
H A Dplayback.c30 __le16 *p, *buf_end; in change_volume() local
33 buf_end = p + urb_out->transfer_buffer_length / sizeof(*p); in change_volume()
35 for (; p < buf_end; ++p) { in change_volume()
43 unsigned char *p, *buf_end; in change_volume() local
46 buf_end = p + urb_out->transfer_buffer_length; in change_volume()
48 for (; p < buf_end; p += 3) { in change_volume()
115 __le16 *pi, *po, *buf_end; in add_monitor_signal() local
119 buf_end = po + urb_out->transfer_buffer_length / sizeof(*po); in add_monitor_signal()
121 for (; po < buf_end; ++pi, ++po) { in add_monitor_signal()
/OK3568_Linux_fs/kernel/lib/
H A Dkobject_uevent.c99 static const char *action_arg_word_end(const char *buf, const char *buf_end, in action_arg_word_end() argument
104 while (next <= buf_end && *next != delim) in action_arg_word_end()
118 const char *next, *buf_end, *key; in kobject_action_args() local
142 buf_end = buf + count - 1; in kobject_action_args()
144 while (next <= buf_end) { in kobject_action_args()
150 if (key > buf_end) in kobject_action_args()
154 next = action_arg_word_end(buf, buf_end, '='); in kobject_action_args()
155 if (!next || next > buf_end || *next != '=') in kobject_action_args()
160 if (++next > buf_end) in kobject_action_args()
164 next = action_arg_word_end(buf, buf_end, ' '); in kobject_action_args()
/OK3568_Linux_fs/external/mpp/mpp/codec/dec/avs2/
H A Davs2d_parse.c52 static RK_U32 avs2_find_start_code(RK_U8 *buf_start, RK_U8* buf_end, RK_U8 **pos) in avs2_find_start_code() argument
56 RK_U32 remain_size = buf_end - buf_start + 1; in avs2_find_start_code()
58 while (ptr < buf_end) { in avs2_find_start_code()
66 if ((buf_ptr < buf_end) && (buf_ptr - buf_start > 1) && in avs2_find_start_code()
435 RK_U8 *buf_end; in avs2_split_nalu() local
437 buf_end = buf_start + buf_length - 1; in avs2_split_nalu()
439 start_code = avs2_find_start_code(buf_start, buf_end, &start_code_ptr); in avs2_split_nalu()
455 *remain = buf_end - start_code_ptr; in avs2_split_nalu()
471 *remain = buf_end - start_code_ptr + 4; in avs2_split_nalu()
483 *remain = buf_end - start_code_ptr; in avs2_split_nalu()
/OK3568_Linux_fs/kernel/drivers/media/pci/tw5864/
H A Dtw5864-h264.c26 u8 *buf_end; /* pointer to buffer end */ member
35 s->buf_end = s->ptr + size; in bs_init()
46 if (s->ptr >= s->buf_end - 4) in bs_write()
66 if (s->ptr < s->buf_end) { in bs_write1()
/OK3568_Linux_fs/kernel/tools/vm/
H A Dpage_owner_sort.c35 char *curr = buf, *const buf_end = buf + buf_size; in read_block() local
37 while (buf_end - curr > 1 && fgets(curr, buf_end - curr, fin)) { in read_block()
/OK3568_Linux_fs/external/mpp/mpp/codec/dec/jpeg/
H A Djpegd_parser.c36 static RK_U8 jpegd_find_marker(const RK_U8 **pbuf_ptr, const RK_U8 *buf_end) in jpegd_find_marker() argument
41 RK_U32 buf_size = buf_end - *pbuf_ptr + 1; in jpegd_find_marker()
43 while (*pbuf_ptr < buf_end) { in jpegd_find_marker()
65 static MPP_RET jpegd_find_eoi(const RK_U8 **pbuf_ptr, const RK_U8 *buf_end) in jpegd_find_eoi() argument
69 RK_U32 buf_size = buf_end - *pbuf_ptr + 1; in jpegd_find_eoi()
73 if (buf_ptr && (buf_end > buf_ptr)) { in jpegd_find_eoi()
744 const RK_U8 *const buf_end = buf + buf_size; in jpegd_decode_frame() local
755 while (buf_ptr < buf_end) { in jpegd_decode_frame()
757 start_code = jpegd_find_marker(&buf_ptr, buf_end); in jpegd_decode_frame()
766 start_code, buf_end - buf_ptr); in jpegd_decode_frame()
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/src/
H A Duser_ta_header.c133 .buf_end.ptr32 = { .lo = (uint32_t)__ftrace_buf_end },
137 .buf_end.ptr64 = (uint64_t)__ftrace_buf_end,
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/src/
H A Duser_ta_header.c133 .buf_end.ptr32 = { .lo = (uint32_t)__ftrace_buf_end },
137 .buf_end.ptr64 = (uint64_t)__ftrace_buf_end,
/OK3568_Linux_fs/kernel/fs/xfs/scrub/
H A Dattr.c245 char *buf_end, in xchk_xattr_entry() argument
291 if (name_end > buf_end) in xchk_xattr_entry()
315 char *buf_end; in xchk_xattr_block() local
369 buf_end = (char *)bp->b_addr + mp->m_attr_geo->blksize; in xchk_xattr_block()
380 xchk_xattr_entry(ds, level, buf_end, leaf, &leafhdr, in xchk_xattr_block()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/pseries/
H A Ddtl.c44 struct dtl_entry *buf_end; member
72 if (wp == dtlr->buf_end) in consume_dtle()
86 dtlr->buf_end = dtl->buf + dtl->buf_entries; in dtl_start()
/OK3568_Linux_fs/kernel/drivers/staging/comedi/
H A Dcomedi_buf.c380 unsigned int buf_end; in comedi_buf_munge() local
382 buf_end = async->prealloc_bufsz - async->munge_ptr; in comedi_buf_munge()
383 if (block_size > buf_end) in comedi_buf_munge()
384 block_size = buf_end; in comedi_buf_munge()
/OK3568_Linux_fs/kernel/tools/bpf/bpftool/
H A Dxlated_dumper.h36 void dump_xlated_for_graph(struct dump_data *dd, void *buf, void *buf_end,
H A Dxlated_dumper.c354 void dump_xlated_for_graph(struct dump_data *dd, void *buf_start, void *buf_end, in dump_xlated_for_graph() argument
364 struct bpf_insn *insn_end = buf_end; in dump_xlated_for_graph()
/OK3568_Linux_fs/kernel/sound/soc/rockchip/
H A Drockchip_multi_dais_pcm.c293 dma_addr_t buf_start, buf_end; in dmaengine_mpcm_prepare_single_and_submit() local
308 buf_end = substream->runtime->dma_addr + snd_pcm_lib_buffer_bytes(substream); in dmaengine_mpcm_prepare_single_and_submit()
309 count = (buf_end - buf_start) / period_bytes; in dmaengine_mpcm_prepare_single_and_submit()
310 residue_bytes = (buf_end - buf_start) % period_bytes; in dmaengine_mpcm_prepare_single_and_submit()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/
H A Duser_ta_header.h56 union compat_ptr buf_end; member
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/
H A Duser_ta_header.h56 union compat_ptr buf_end; member
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/
H A Duser_ta_header.h56 union compat_ptr buf_end; member
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/
H A Duser_ta_header.h56 union compat_ptr buf_end; member
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/move/algo/detail/
H A Dadaptive_sort_merge.hpp1272 RandIt buf_end; in op_merge_blocks_left() local
1274 buf_end = buf_beg = first2 - (last1-first1); in op_merge_blocks_left()
1276 , buf_beg, buf_end, comp, op, is_range1_A); in op_merge_blocks_left()
1280 buf_end = last1; in op_merge_blocks_left()
1282 …(buffer, buffer+(last1-first1), first2, last2, first_min, buf_beg, buf_end, comp, op, is_range1_A); in op_merge_blocks_left()
1290 if(buf_beg != buf_end){ //range2 exhausted: is_buffer_middle for the next iteration in op_merge_blocks_left()
1292 last1 = buf_end; in op_merge_blocks_left()
1293 BOOST_MOVE_ADAPTIVE_SORT_INVARIANT(buf_end == (last2-l_block)); in op_merge_blocks_left()
1881 RandIt const buf_end = first+l_prev_total_combined; in adaptive_sort_combine_all_blocks() local
1882 RandIt const buf_beg = buf_end-l_block; in adaptive_sort_combine_all_blocks()
[all …]
/OK3568_Linux_fs/app/forlinx/quectelCM/libmnl/dhcp/
H A Ddhcpclient.c227 char *buf_end = buf + buf_size; in hex2str() local
229 cp += snprintf(cp, buf_end - cp, " %02x ", array[i]); in hex2str()
/OK3568_Linux_fs/kernel/drivers/video/fbdev/
H A Ds3c-fb.c93 unsigned short buf_end; member
543 writel(data, buf + sfb->variant.buf_end); in s3c_fb_set_par()
904 writel(info->fix.smem_start + end_boff, buf + sfb->variant.buf_end); in s3c_fb_pan_display()
1722 .buf_end = VIDW_BUF_END(0),
1756 .buf_end = 0x7c,
/OK3568_Linux_fs/kernel/drivers/net/wireless/
H A Drndis_wlan.c2018 void *buf_end, *bssid_end; in next_bssid_list_item() local
2020 buf_end = (char *)buf + len; in next_bssid_list_item()
2023 if ((int)(buf_end - bssid_end) < sizeof(bssid->length)) { in next_bssid_list_item()
2036 void *buf_end, *bssid_end; in check_bssid_list_item() local
2041 buf_end = (char *)buf + len; in check_bssid_list_item()
2044 return (int)(buf_end - bssid_end) >= 0 && (int)(bssid_end - buf) >= 0; in check_bssid_list_item()
/OK3568_Linux_fs/buildroot/package/glibc/2.28-69-g1e5c5303a522764d7e9d2302a60e4a32cdb902f1/
H A D0008-libio-Remove-codecvt-vtable-BZ-24588.patch384 - buf_end,
389 + buf_end,

12