/Linux-v4.19/drivers/gpu/drm/via/ |
D | via_verifier.c | 239 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 …]
|
/Linux-v4.19/sound/usb/line6/ |
D | playback.c | 34 __le16 *p, *buf_end; in change_volume() local 37 buf_end = p + urb_out->transfer_buffer_length / sizeof(*p); in change_volume() 39 for (; p < buf_end; ++p) { in change_volume() 47 unsigned char *p, *buf_end; in change_volume() local 50 buf_end = p + urb_out->transfer_buffer_length; in change_volume() 52 for (; p < buf_end; p += 3) { in change_volume() 119 __le16 *pi, *po, *buf_end; in add_monitor_signal() local 123 buf_end = po + urb_out->transfer_buffer_length / sizeof(*po); in add_monitor_signal() 125 for (; po < buf_end; ++pi, ++po) { in add_monitor_signal()
|
/Linux-v4.19/lib/ |
D | kobject_uevent.c | 99 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()
|
/Linux-v4.19/tools/vm/ |
D | page_owner_sort.c | 34 char *curr = buf, *const buf_end = buf + buf_size; in read_block() local 36 while (buf_end - curr > 1 && fgets(curr, buf_end - curr, fin)) { in read_block()
|
/Linux-v4.19/drivers/media/pci/tw5864/ |
D | tw5864-h264.c | 35 u8 *buf_end; /* pointer to buffer end */ member 44 s->buf_end = s->ptr + size; in bs_init() 55 if (s->ptr >= s->buf_end - 4) in bs_write() 75 if (s->ptr < s->buf_end) { in bs_write1()
|
/Linux-v4.19/fs/xfs/scrub/ |
D | attr.c | 190 char *buf_end, in xchk_xattr_entry() argument 236 if (name_end > buf_end) in xchk_xattr_entry() 260 char *buf_end; in xchk_xattr_block() local 304 buf_end = (char *)bp->b_addr + mp->m_attr_geo->blksize; in xchk_xattr_block() 315 xchk_xattr_entry(ds, level, buf_end, leaf, &leafhdr, in xchk_xattr_block()
|
/Linux-v4.19/arch/powerpc/platforms/pseries/ |
D | dtl.c | 63 struct dtl_entry *buf_end; member 92 if (wp == dtlr->buf_end) in consume_dtle() 106 dtlr->buf_end = dtl->buf + dtl->buf_entries; in dtl_start()
|
/Linux-v4.19/drivers/staging/comedi/ |
D | comedi_buf.c | 330 unsigned int buf_end; in comedi_buf_munge() local 332 buf_end = async->prealloc_bufsz - async->munge_ptr; in comedi_buf_munge() 333 if (block_size > buf_end) in comedi_buf_munge() 334 block_size = buf_end; in comedi_buf_munge()
|
/Linux-v4.19/tools/bpf/bpftool/ |
D | xlated_dumper.h | 64 void dump_xlated_for_graph(struct dump_data *dd, void *buf, void *buf_end,
|
D | xlated_dumper.c | 327 void dump_xlated_for_graph(struct dump_data *dd, void *buf_start, void *buf_end, in dump_xlated_for_graph() argument 337 struct bpf_insn *insn_end = buf_end; in dump_xlated_for_graph()
|
/Linux-v4.19/drivers/video/fbdev/ |
D | s3c-fb.c | 96 unsigned short buf_end; member 546 writel(data, buf + sfb->variant.buf_end); in s3c_fb_set_par() 907 writel(info->fix.smem_start + end_boff, buf + sfb->variant.buf_end); in s3c_fb_pan_display() 1728 .buf_end = VIDW_BUF_END(0), 1762 .buf_end = 0x7c,
|
/Linux-v4.19/drivers/net/wireless/ |
D | rndis_wlan.c | 2038 void *buf_end, *bssid_end; in next_bssid_list_item() local 2040 buf_end = (char *)buf + len; in next_bssid_list_item() 2043 if ((int)(buf_end - bssid_end) < sizeof(bssid->length)) { in next_bssid_list_item() 2056 void *buf_end, *bssid_end; in check_bssid_list_item() local 2061 buf_end = (char *)buf + len; in check_bssid_list_item() 2064 return (int)(buf_end - bssid_end) >= 0 && (int)(bssid_end - buf) >= 0; in check_bssid_list_item()
|
/Linux-v4.19/sound/usb/ |
D | midi.c | 742 int pos, end, count, buf_end; in snd_usbmidi_akai_output() local 750 buf_end = ep->max_transfer - MAX_AKAI_SYSEX_LEN - 1; in snd_usbmidi_akai_output() 753 while (urb->transfer_buffer_length < buf_end) { in snd_usbmidi_akai_output()
|
/Linux-v4.19/arch/powerpc/kvm/ |
D | book3s_hv.c | 1882 char *s, *buf_end; in debugfs_timings_read() local 1892 buf_end = s + sizeof(p->buf); in debugfs_timings_read() 1913 snprintf(s, buf_end - s, "%s: stuck\n", in debugfs_timings_read() 1916 snprintf(s, buf_end - s, in debugfs_timings_read()
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_hw.c | 2645 u32 *buf_end = (u32 *)((char *)buf + buf_size); in t4_get_regs() local 2687 while (reg <= last_reg && bufp < buf_end) { in t4_get_regs()
|