/linux-master/drivers/md/dm-vdo/ |
H A D | string-utils.c | 8 char *vdo_append_to_buffer(char *buffer, char *buf_end, const char *fmt, ...) argument 14 n = vsnprintf(buffer, buf_end - buffer, fmt, args); 15 if (n >= (size_t) (buf_end - buffer)) 16 buffer = buf_end;
|
H A D | string-utils.h | 20 char *vdo_append_to_buffer(char *buffer, char *buf_end, const char *fmt, ...)
|
H A D | errors.c | 144 char *buf_end = buf + buflen; local 157 buffer = vdo_append_to_buffer(buffer, buf_end, "%s: %s", 160 buffer = vdo_append_to_buffer(buffer, buf_end, "Unknown %s %d", 164 buffer = vdo_append_to_buffer(buffer, buf_end, "%s", info->message); 166 const char *tmp = system_string_error(errnum, buffer, buf_end - buffer); 169 buffer = vdo_append_to_buffer(buffer, buf_end, "%s", tmp); 181 char *buf_end = buf + buflen; local 191 buffer = vdo_append_to_buffer(buffer, buf_end, "%s", info->name); 193 buffer = vdo_append_to_buffer(buffer, buf_end, "%s %d", 197 buffer = vdo_append_to_buffer(buffer, buf_end, " [all...] |
/linux-master/fs/ |
H A D | binfmt_script.c | 36 const char *i_name, *i_sep, *i_arg, *i_end, *buf_end; local 58 buf_end = bprm->buf + sizeof(bprm->buf) - 1; 61 i_end = next_non_spacetab(bprm->buf + 2, buf_end); 68 if (!next_terminator(i_end, buf_end)) 70 i_end = buf_end;
|
/linux-master/tools/bpf/bpftool/ |
H A D | xlated_dumper.h | 38 void dump_xlated_for_graph(struct dump_data *dd, void *buf, void *buf_end,
|
H A D | xlated_dumper.c | 367 void dump_xlated_for_graph(struct dump_data *dd, void *buf_start, void *buf_end, argument 381 struct bpf_insn *insn_end = buf_end;
|
/linux-master/sound/usb/line6/ |
H A D | playback.c | 30 __le16 *p, *buf_end; local 33 buf_end = p + urb_out->transfer_buffer_length / sizeof(*p); 35 for (; p < buf_end; ++p) { 43 unsigned char *p, *buf_end; local 46 buf_end = p + urb_out->transfer_buffer_length; 48 for (; p < buf_end; p += 3) { 115 __le16 *pi, *po, *buf_end; local 119 buf_end = po + urb_out->transfer_buffer_length / sizeof(*po); 121 for (; po < buf_end; ++pi, ++po) {
|
/linux-master/drivers/media/pci/tw5864/ |
H A D | tw5864-h264.c | 26 u8 *buf_end; /* pointer to buffer end */ member in struct:bs 35 s->buf_end = s->ptr + size; 46 if (s->ptr >= s->buf_end - 4) 66 if (s->ptr < s->buf_end) {
|
/linux-master/lib/ |
H A D | kobject_uevent.c | 98 static const char *action_arg_word_end(const char *buf, const char *buf_end, argument 103 while (next <= buf_end && *next != delim) 117 const char *next, *buf_end, *key; local 141 buf_end = buf + count - 1; 143 while (next <= buf_end) { 149 if (key > buf_end) 153 next = action_arg_word_end(buf, buf_end, '='); 154 if (!next || next > buf_end || *next != '=') 159 if (++next > buf_end) 163 next = action_arg_word_end(buf, buf_end, ' '); [all...] |
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | dtl.c | 54 struct dtl_entry *buf_end; member in struct:dtl_ring 82 if (wp == dtlr->buf_end) 96 dtlr->buf_end = dtl->buf + dtl->buf_entries;
|
/linux-master/drivers/comedi/ |
H A D | comedi_buf.c | 380 unsigned int buf_end; local 382 buf_end = async->prealloc_bufsz - async->munge_ptr; 383 if (block_size > buf_end) 384 block_size = buf_end;
|
/linux-master/kernel/bpf/ |
H A D | log.c | 94 u32 buf_start, buf_end, new_n; local 111 div_u64_rem(new_end, log->len_total, &buf_end); 112 /* new_end and buf_end are exclusive indices, so if buf_end is 116 if (buf_end == 0) 117 buf_end = log->len_total; 119 /* if buf_start > buf_end, we wrapped around; 120 * if buf_start == buf_end, then we fill ubuf completely; we 121 * can't have buf_start == buf_end to mean that there is 125 if (buf_start < buf_end) { [all...] |
/linux-master/fs/xfs/scrub/ |
H A D | attr.c | 307 char *buf_end, 353 if (name_end > buf_end) 377 char *buf_end; local 422 buf_end = (char *)bp->b_addr + mp->m_attr_geo->blksize; 433 xchk_xattr_entry(ds, level, buf_end, leaf, &leafhdr, 304 xchk_xattr_entry( struct xchk_da_btree *ds, int level, char *buf_end, struct xfs_attr_leafblock *leaf, struct xfs_attr3_icleaf_hdr *leafhdr, struct xfs_attr_leaf_entry *ent, int idx, unsigned int *usedbytes, __u32 *last_hashval) argument
|
/linux-master/drivers/mtd/nand/raw/ |
H A D | pl35x-nand-controller.c | 336 unsigned int buf_end = len / 4; local 346 for (i = 0; i < buf_end; i++) { 348 if (i + 1 == buf_end) 368 unsigned int buf_end = len / 4; local 378 for (i = 0; i < buf_end; i++) { 380 if (i + 1 == buf_end)
|
/linux-master/tools/mm/ |
H A D | page_owner_sort.c | 110 char *curr = buf, *const buf_end = buf + buf_size; local 112 while (buf_end - curr > 1 && fgets(curr, buf_end - curr, fin)) {
|
/linux-master/io_uring/ |
H A D | rsrc.c | 1063 u64 buf_end; local 1068 if (unlikely(check_add_overflow(buf_addr, (u64)len, &buf_end))) 1071 if (unlikely(buf_addr < imu->ubuf || buf_end > imu->ubuf_end))
|
/linux-master/drivers/dma/ |
H A D | apple-admac.c | 140 dma_addr_t buf_end; member in struct:admac_tx 269 adtx->buf_end = buf_addr + buf_len; 293 WARN_ON_ONCE(addr + tx->period_len > tx->buf_end);
|
/linux-master/drivers/video/fbdev/ |
H A D | s3c-fb.c | 76 * @buf_end: Offset of buffer end registers. 94 unsigned short buf_end; member in struct:s3c_fb_variant 544 writel(data, buf + sfb->variant.buf_end); 905 writel(info->fix.smem_start + end_boff, buf + sfb->variant.buf_end); 1715 .buf_end = VIDW_BUF_END(0), 1749 .buf_end = 0x7c,
|
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_attr_leaf.c | 241 char *buf_end, 287 if (name_end > buf_end) 319 char *buf_end; local 353 buf_end = (char *)bp->b_addr + mp->m_attr_geo->blksize; 355 fa = xfs_attr3_leaf_verify_entry(mp, buf_end, leaf, &ichdr, 239 xfs_attr3_leaf_verify_entry( struct xfs_mount *mp, char *buf_end, struct xfs_attr_leafblock *leaf, struct xfs_attr3_icleaf_hdr *leafhdr, struct xfs_attr_leaf_entry *ent, int idx, __u32 *last_hashval) argument
|
/linux-master/sound/usb/ |
H A D | midi.c | 726 int pos, end, count, buf_end; local 734 buf_end = ep->max_transfer - MAX_AKAI_SYSEX_LEN - 1; 737 while (urb->transfer_buffer_length < buf_end) {
|
/linux-master/arch/powerpc/kvm/ |
H A D | book3s_hv.c | 2868 char *s, *buf_end; local 2878 buf_end = s + sizeof(p->buf); 2899 snprintf(s, buf_end - s, "%s: stuck\n", 2902 snprintf(s, buf_end - s,
|
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | t4_hw.c | 2640 u32 *buf_end = (u32 *)((char *)buf + buf_size); local 2682 while (reg <= last_reg && bufp < buf_end) {
|