Searched refs:buf (Results 76 - 100 of 8632) sorted by relevance

1234567891011>>

/linux-master/include/trace/events/
H A Dqla.h18 TP_PROTO(const char *buf,
21 TP_ARGS(buf, vaf),
24 __string(buf, buf)
28 __assign_str(buf);
32 TP_printk("%s %s", __get_str(buf), __get_str(msg))
38 TP_PROTO(const char *buf, struct va_format *vaf),
39 TP_ARGS(buf, vaf)
/linux-master/tools/testing/selftests/net/af_unix/
H A Dtest_unix_oob.c58 char buf[5]; local
60 read(fd, buf, 5);
94 int read_data(int pfd, char *buf, int size) argument
98 memset(buf, size, '0');
99 len = read(pfd, buf, size);
119 char buf[64]; local
122 memset(buf, 'x', sizeof(buf));
136 memset(buf, 'x', sizeof(buf));
180 char buf[1024]; local
[all...]
/linux-master/tools/testing/selftests/resctrl/
H A Dfill_buf.c41 void mem_flush(unsigned char *buf, size_t buf_size) argument
43 unsigned char *cp = buf;
65 static int fill_one_span_read(unsigned char *buf, size_t buf_size) argument
81 sum += buf[idx * (CL_SIZE / 2)];
91 static void fill_one_span_write(unsigned char *buf, size_t buf_size) argument
93 unsigned char *end_ptr = buf + buf_size;
96 p = buf;
103 void fill_cache_read(unsigned char *buf, size_t buf_size, bool once) argument
108 ret = fill_one_span_read(buf, buf_size);
117 static void fill_cache_write(unsigned char *buf, size_ argument
128 void *buf = NULL; local
156 unsigned char *buf; local
[all...]
/linux-master/fs/bcachefs/
H A Dprintbuf.c13 static inline unsigned __printbuf_linelen(struct printbuf *buf, unsigned pos) argument
15 return pos - buf->last_newline;
18 static inline unsigned printbuf_linelen(struct printbuf *buf) argument
20 return __printbuf_linelen(buf, buf->pos);
26 static inline unsigned cur_tabstop(struct printbuf *buf) argument
28 return buf->cur_tabstop < buf->nr_tabstops
29 ? buf->_tabstops[buf
59 char *buf = krealloc(out->buf, new_size, !out->atomic ? GFP_KERNEL : GFP_NOWAIT); local
199 bch2_printbuf_str(const struct printbuf *buf) argument
216 bch2_printbuf_exit(struct printbuf *buf) argument
224 bch2_printbuf_tabstops_reset(struct printbuf *buf) argument
229 bch2_printbuf_tabstop_pop(struct printbuf *buf) argument
245 bch2_printbuf_tabstop_push(struct printbuf *buf, unsigned spaces) argument
268 bch2_printbuf_indent_add(struct printbuf *buf, unsigned spaces) argument
288 bch2_printbuf_indent_sub(struct printbuf *buf, unsigned spaces) argument
303 bch2_prt_newline(struct printbuf *buf) argument
343 __prt_tab_rjust(struct printbuf *buf) argument
362 bch2_prt_tab_rjust(struct printbuf *buf) argument
[all...]
/linux-master/drivers/iio/pressure/
H A Dmpl115_spi.c26 struct mpl115_spi_buf *buf; local
28 buf = devm_kzalloc(dev, sizeof(*buf), GFP_KERNEL);
29 if (!buf)
32 spi_set_drvdata(spi, buf);
40 struct mpl115_spi_buf *buf = spi_get_drvdata(spi); local
42 .tx_buf = buf->tx,
43 .rx_buf = buf->rx,
48 buf->tx[0] = MPL115_SPI_READ(address);
49 buf
61 struct mpl115_spi_buf *buf = spi_get_drvdata(spi); local
[all...]
/linux-master/tools/bpf/bpftool/
H A Dcfg.h9 void dump_xlated_cfg(struct dump_data *dd, void *buf, unsigned int len,
/linux-master/arch/mips/boot/compressed/
H A Ddbg.c31 unsigned char buf[10]; local
34 buf[i] = "0123456789ABCDEF"[val & 0x0F];
37 buf[8] = '\0';
38 puts(buf);
/linux-master/tools/perf/util/intel-pt-decoder/
H A Dintel-pt-pkt-decoder.c73 static int intel_pt_get_long_tnt(const unsigned char *buf, size_t len, argument
82 payload = get_unaligned_le64(buf);
96 static int intel_pt_get_pip(const unsigned char *buf, size_t len, argument
105 memcpy_le64(&payload, buf + 2, 6);
117 static int intel_pt_get_cbr(const unsigned char *buf, size_t len, argument
123 packet->payload = get_unaligned_le16(buf + 2);
127 static int intel_pt_get_vmcs(const unsigned char *buf, size_t len, argument
135 memcpy_le64(&packet->payload, buf + 2, 5);
146 static int intel_pt_get_psb(const unsigned char *buf, size_t len, argument
155 if (buf[
169 intel_pt_get_tma(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument
187 intel_pt_get_mnt(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument
197 intel_pt_get_3byte(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument
211 intel_pt_get_ptwrite(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument
246 intel_pt_get_mwait(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument
256 intel_pt_get_pwre(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument
266 intel_pt_get_pwrx(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument
276 intel_pt_get_bbp(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument
287 intel_pt_get_bip_4(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument
298 intel_pt_get_bip_8(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument
325 intel_pt_get_cfe(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument
336 intel_pt_get_evd(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument
348 intel_pt_get_ext(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument
421 intel_pt_get_cyc(unsigned int byte, const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument
443 intel_pt_get_ip(enum intel_pt_pkt_type type, unsigned int byte, const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument
489 intel_pt_get_mode(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument
526 intel_pt_get_tsc(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument
536 intel_pt_get_mtc(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument
546 intel_pt_do_get_packet(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet, enum intel_pt_pkt_ctx ctx) argument
664 intel_pt_get_packet(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet, enum intel_pt_pkt_ctx *ctx) argument
678 intel_pt_pkt_desc(const struct intel_pt_pkt *packet, char *buf, size_t buf_len) argument
[all...]
/linux-master/drivers/media/common/videobuf2/
H A Dvideobuf2-vmalloc.c40 struct vb2_vmalloc_buf *buf; local
42 buf = kzalloc(sizeof(*buf), GFP_KERNEL | vb->vb2_queue->gfp_flags);
43 if (!buf)
46 buf->size = size;
47 buf->vaddr = vmalloc_user(buf->size);
48 if (!buf->vaddr) {
49 pr_debug("vmalloc of size %ld failed\n", buf->size);
50 kfree(buf);
65 struct vb2_vmalloc_buf *buf = buf_priv; local
76 struct vb2_vmalloc_buf *buf; local
128 struct vb2_vmalloc_buf *buf = buf_priv; local
154 struct vb2_vmalloc_buf *buf = buf_priv; local
166 struct vb2_vmalloc_buf *buf = buf_priv; local
172 struct vb2_vmalloc_buf *buf = buf_priv; local
216 struct vb2_vmalloc_buf *buf = dbuf->priv; local
313 struct vb2_vmalloc_buf *buf = dbuf->priv; local
340 struct vb2_vmalloc_buf *buf = buf_priv; local
370 struct vb2_vmalloc_buf *buf = mem_priv; local
384 struct vb2_vmalloc_buf *buf = mem_priv; local
393 struct vb2_vmalloc_buf *buf = mem_priv; local
407 struct vb2_vmalloc_buf *buf; local
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_probe_read_user_str.c12 char buf[256] = {}; variable
20 ret = bpf_probe_read_user_str(buf, sizeof(buf), user_ptr);
/linux-master/include/crypto/
H A Ddh.h55 * @buf: Buffer allocated by the caller to hold the packet DH
66 int crypto_dh_encode_key(char *buf, unsigned int len, const struct dh *params);
70 * @buf: Buffer holding a packet key that should be decoded
76 * in @buf. Thus, both pointers refer to the same memory.
80 int crypto_dh_decode_key(const char *buf, unsigned int len, struct dh *params);
84 * @buf: Buffer holding a packet key that should be decoded
95 int __crypto_dh_decode_key(const char *buf, unsigned int len,
/linux-master/tools/lib/perf/include/internal/
H A Dlib.h9 ssize_t readn(int fd, void *buf, size_t n);
10 ssize_t writen(int fd, const void *buf, size_t n);
12 ssize_t preadn(int fd, void *buf, size_t n, off_t offs);
/linux-master/tools/perf/arch/powerpc/tests/
H A Ddwarf-unwind.c19 u64 stack_size, *buf; local
21 buf = malloc(STACK_SIZE);
22 if (!buf) {
32 free(buf);
39 memcpy(buf, (void *) sp, stack_size);
40 stack->data = (char *) buf;
49 u64 *buf; local
51 buf = calloc(1, sizeof(u64) * PERF_REGS_MAX);
52 if (!buf) {
57 perf_regs_load(buf);
[all...]
/linux-master/tools/perf/arch/arm64/tests/
H A Ddwarf-unwind.c19 u64 stack_size, *buf; local
21 buf = malloc(STACK_SIZE);
22 if (!buf) {
32 free(buf);
39 memcpy(buf, (void *) sp, stack_size);
40 stack->data = (char *) buf;
49 u64 *buf; local
51 buf = calloc(1, sizeof(u64) * PERF_REGS_MAX);
52 if (!buf) {
57 perf_regs_load(buf);
[all...]
/linux-master/tools/perf/arch/arm/tests/
H A Ddwarf-unwind.c19 u64 stack_size, *buf; local
21 buf = malloc(STACK_SIZE);
22 if (!buf) {
32 free(buf);
39 memcpy(buf, (void *) sp, stack_size);
40 stack->data = (char *) buf;
49 u64 *buf; local
51 buf = calloc(1, sizeof(u64) * PERF_REGS_MAX);
52 if (!buf) {
57 perf_regs_load(buf);
[all...]
/linux-master/arch/s390/crypto/
H A Dcrc32-vx.h8 u32 crc32_be_vgfm_16(u32 crc, unsigned char const *buf, size_t size);
9 u32 crc32_le_vgfm_16(u32 crc, unsigned char const *buf, size_t size);
10 u32 crc32c_le_vgfm_16(u32 crc, unsigned char const *buf, size_t size);
/linux-master/drivers/tty/
H A Dtty_buffer.c55 struct tty_bufhead *buf = &port->buf; local
57 atomic_inc(&buf->priority);
58 mutex_lock(&buf->lock);
72 struct tty_bufhead *buf = &port->buf; local
73 bool restart = buf->head->commit != buf->head->read;
75 atomic_dec(&buf->priority);
76 mutex_unlock(&buf
122 struct tty_bufhead *buf = &port->buf; local
200 struct tty_bufhead *buf = &port->buf; local
224 struct tty_bufhead *buf = &port->buf; local
264 struct tty_bufhead *buf = &port->buf; local
465 struct tty_bufhead *buf = &port->buf; local
531 struct tty_bufhead *buf = &port->buf; local
555 struct tty_bufhead *buf = &port->buf; local
578 struct tty_bufhead *buf = &port->buf; local
[all...]
/linux-master/drivers/media/pci/ivtv/
H A Divtv-queue.c13 int ivtv_buf_copy_from_user(struct ivtv_stream *s, struct ivtv_buffer *buf, const char __user *src, int copybytes) argument
15 if (s->buf_size - buf->bytesused < copybytes)
16 copybytes = s->buf_size - buf->bytesused;
17 if (copy_from_user(buf->buf + buf->bytesused, src, copybytes)) {
20 buf->bytesused += copybytes;
24 void ivtv_buf_swap(struct ivtv_buffer *buf) argument
28 for (i = 0; i < buf->bytesused; i += 4)
29 swab32s((u32 *)(buf
40 ivtv_enqueue(struct ivtv_stream *s, struct ivtv_buffer *buf, struct ivtv_queue *q) argument
61 struct ivtv_buffer *buf = NULL; local
79 struct ivtv_buffer *buf = list_entry(from->list.next, struct ivtv_buffer, list); local
133 struct ivtv_buffer *buf = list_entry(steal->list.prev, struct ivtv_buffer, list); local
229 struct ivtv_buffer *buf = kzalloc(sizeof(struct ivtv_buffer), local
256 struct ivtv_buffer *buf; local
[all...]
/linux-master/drivers/net/wireless/ath/ath11k/
H A Ddebugfs_htt_stats.c43 u8 *buf = stats_req->buf; local
50 len += scnprintf(buf + len, buf_len - len, "HTT_STATS_STRING_TLV:\n");
52 len += scnprintf(buf + len, buf_len - len,
55 len += scnprintf(buf + len,
60 len += scnprintf(buf + len, buf_len - len, "\n\n");
63 buf[buf_len - 1] = 0;
65 buf[len] = 0;
74 u8 *buf = stats_req->buf; local
194 u8 *buf = stats_req->buf; local
218 u8 *buf = stats_req->buf; local
242 u8 *buf = stats_req->buf; local
266 u8 *buf = stats_req->buf; local
290 u8 *buf = stats_req->buf; local
314 u8 *buf = stats_req->buf; local
350 u8 *buf = stats_req->buf; local
375 u8 *buf = stats_req->buf; local
402 u8 *buf = stats_req->buf; local
427 u8 *buf = stats_req->buf; local
467 u8 *buf = stats_req->buf; local
514 u8 *buf = stats_req->buf; local
567 u8 *buf = stats_req->buf; local
624 u8 *buf = stats_req->buf; local
659 u8 *buf = stats_req->buf; local
683 u8 *buf = stats_req->buf; local
729 u8 *buf = stats_req->buf; local
778 u8 *buf = stats_req->buf; local
828 u8 *buf = stats_req->buf; local
888 u8 *buf = stats_req->buf; local
913 u8 *buf = stats_req->buf; local
947 u8 *buf = stats_req->buf; local
971 u8 *buf = stats_req->buf; local
1038 u8 *buf = stats_req->buf; local
1065 u8 *buf = stats_req->buf; local
1092 u8 *buf = stats_req->buf; local
1118 u8 *buf = stats_req->buf; local
1145 u8 *buf = stats_req->buf; local
1173 u8 *buf = stats_req->buf; local
1197 u8 *buf = stats_req->buf; local
1302 u8 *buf = stats_req->buf; local
1345 u8 *buf = stats_req->buf; local
1378 u8 *buf = stats_req->buf; local
1429 u8 *buf = stats_req->buf; local
1462 u8 *buf = stats_req->buf; local
1513 u8 *buf = stats_req->buf; local
1595 u8 *buf = stats_req->buf; local
1726 u8 *buf = stats_req->buf; local
1750 u8 *buf = stats_req->buf; local
1774 u8 *buf = stats_req->buf; local
1801 u8 *buf = stats_req->buf; local
1827 u8 *buf = stats_req->buf; local
1894 u8 *buf = stats_req->buf; local
1918 u8 *buf = stats_req->buf; local
1943 u8 *buf = stats_req->buf; local
1968 u8 *buf = stats_req->buf; local
1992 u8 *buf = stats_req->buf; local
2072 u8 *buf = stats_req->buf; local
2106 u8 *buf = stats_req->buf; local
2130 u8 *buf = stats_req->buf; local
2177 u8 *buf = stats_req->buf; local
2209 u8 *buf = stats_req->buf; local
2255 u8 *buf = stats_req->buf; local
2340 u8 *buf = stats_req->buf; local
2376 u8 *buf = stats_req->buf; local
2402 u8 *buf = stats_req->buf; local
2427 u8 *buf = stats_req->buf; local
2457 u8 *buf = stats_req->buf; local
2480 u8 *buf = stats_req->buf; local
2512 u8 *buf = stats_req->buf; local
2573 u8 *buf = stats_req->buf; local
2596 u8 *buf = stats_req->buf; local
2618 u8 *buf = stats_req->buf; local
2650 u8 *buf = stats_req->buf; local
2678 u8 *buf = stats_req->buf; local
2740 u8 *buf = stats_req->buf; local
2760 u8 *buf = stats_req->buf; local
2886 u8 *buf = stats_req->buf; local
3112 u8 *buf = stats_req->buf; local
3159 u8 *buf = stats_req->buf; local
3185 u8 *buf = stats_req->buf; local
3210 u8 *buf = stats_req->buf; local
3234 u8 *buf = stats_req->buf; local
3274 u8 *buf = stats_req->buf; local
3297 u8 *buf = stats_req->buf; local
3414 u8 *buf = stats_req->buf; local
3438 u8 *buf = stats_req->buf; local
3461 u8 *buf = stats_req->buf; local
3487 u8 *buf = stats_req->buf; local
3519 u8 *buf = stats_req->buf; local
3546 u8 *buf = stats_req->buf; local
3590 u8 *buf = stats_req->buf; local
3613 u8 *buf = stats_req->buf; local
3658 u8 *buf = stats_req->buf; local
3695 u8 *buf = stats_req->buf; local
3733 u8 *buf = stats_req->buf; local
3805 u8 *buf = stats_req->buf; local
3837 u8 *buf = stats_req->buf; local
3869 u8 *buf = stats_req->buf; local
3904 u8 *buf = stats_req->buf; local
3939 u8 *buf = stats_req->buf; local
3991 u8 *buf = stats_req->buf; local
4020 u8 *buf = stats_req->buf; local
4051 u8 *buf = stats_req->buf; local
4127 u8 *buf = stats_req->buf; local
4609 char buf[32]; local
4820 char *buf; local
4841 char buf[32]; local
[all...]
/linux-master/drivers/media/usb/uvc/
H A Duvc_isight.c35 static int isight_decode(struct uvc_video_queue *queue, struct uvc_buffer *buf, argument
49 if (buf == NULL)
59 if (buf->state != UVC_BUF_STATE_ACTIVE) {
66 buf->state = UVC_BUF_STATE_ACTIVE;
75 if (is_header && buf->bytesused != 0) {
76 buf->state = UVC_BUF_STATE_DONE;
85 maxlen = buf->length - buf->bytesused;
86 mem = buf->mem + buf
101 uvc_video_decode_isight(struct uvc_urb *uvc_urb, struct uvc_buffer *buf, struct uvc_buffer *meta_buf) argument
[all...]
/linux-master/drivers/rtc/
H A Drtc-ds1672.c31 unsigned char buf[4]; local
37 .buf = &addr
43 .buf = buf
53 if (buf[0] & DS1672_REG_CONTROL_EOSC) {
69 __func__, buf[0], buf[1], buf[2], buf[3]);
71 time = ((unsigned long)buf[
85 unsigned char buf[6]; local
[all...]
H A Drtc-88pm80x.c102 unsigned char buf[4]; local
104 regmap_raw_read(info->map, PM800_RTC_EXPIRE2_1, buf, 4);
105 base = ((unsigned long)buf[3] << 24) | (buf[2] << 16) |
106 (buf[1] << 8) | buf[0];
107 dev_dbg(info->dev, "%x-%x-%x-%x\n", buf[0], buf[1], buf[2], buf[
123 unsigned char buf[4]; local
147 unsigned char buf[4]; local
175 unsigned char buf[4]; local
[all...]
/linux-master/tools/arch/x86/dell-uart-backlight-emulator/
H A Ddell-uart-backlight-emulator.c24 static unsigned char dell_uart_checksum(unsigned char *buf, int len) argument
29 val += buf[len];
42 unsigned char buf[4], csum, response[32]; local
82 while (read(serial_fd, &buf[idx], 1) == 1) {
84 switch (buf[0]) {
89 fprintf(stderr, "Error unexpected first byte: 0x%02x\n", buf[0]);
103 csum = dell_uart_checksum(buf, len - 1);
104 if (buf[len - 1] != csum) {
106 buf[len - 1], csum);
110 switch ((buf[
[all...]
/linux-master/arch/arc/net/
H A Dbpf_jit_arcv2.c629 static inline void emit_2_bytes(u8 *buf, u16 bytes) argument
631 *((u16 *)buf) = bytes;
634 static inline void emit_4_bytes(u8 *buf, u32 bytes) argument
636 emit_2_bytes(buf, bytes >> 16);
637 emit_2_bytes(buf + 2, bytes & 0xffff);
659 static u8 arc_movi_r(u8 *buf, u8 reg, s16 imm) argument
663 if (buf)
664 emit_4_bytes(buf, insn);
669 static u8 arc_mov_r(u8 *buf, u8 rd, u8 rs) argument
673 if (buf)
679 arc_mov_i(u8 *buf, u8 rd, s32 imm) argument
694 arc_mov_i_fixed(u8 *buf, u8 rd, s32 imm) argument
706 arc_mov_cc_r(u8 *buf, u8 cc, u8 rd, u8 rs) argument
716 arc_movu_cc_r(u8 *buf, u8 cc, u8 rd, u8 imm) argument
726 arc_sexb_r(u8 *buf, u8 rd, u8 rs) argument
736 arc_sexh_r(u8 *buf, u8 rd, u8 rs) argument
746 arc_st_r(u8 *buf, u8 reg, u8 reg_mem, s16 off, u8 zz) argument
757 arc_push_r(u8 *buf, u8 reg) argument
767 arc_ld_r(u8 *buf, u8 reg, u8 reg_mem, s16 off, u8 zz) argument
778 arc_ldx_r(u8 *buf, u8 reg, u8 reg_mem, s16 off, u8 zz) argument
789 arc_pop_r(u8 *buf, u8 reg) argument
799 arc_add_r(u8 *buf, u8 ra, u8 rc) argument
809 arc_addf_r(u8 *buf, u8 ra, u8 rc) argument
819 arc_addif_r(u8 *buf, u8 ra, u8 u6) argument
829 arc_addi_r(u8 *buf, u8 ra, u8 u6) argument
839 arc_add_i(u8 *buf, u8 ra, u8 rb, s32 imm) argument
851 arc_adc_r(u8 *buf, u8 ra, u8 rc) argument
861 arc_adci_r(u8 *buf, u8 ra, u8 u6) argument
871 arc_sub_r(u8 *buf, u8 ra, u8 rc) argument
881 arc_subf_r(u8 *buf, u8 ra, u8 rc) argument
891 arc_subi_r(u8 *buf, u8 ra, u8 u6) argument
901 arc_sub_i(u8 *buf, u8 ra, s32 imm) argument
913 arc_sbc_r(u8 *buf, u8 ra, u8 rc) argument
923 arc_cmp_r(u8 *buf, u8 rb, u8 rc) argument
940 arc_cmpz_r(u8 *buf, u8 rb, u8 rc) argument
950 arc_neg_r(u8 *buf, u8 ra, u8 rb) argument
960 arc_mpy_r(u8 *buf, u8 ra, u8 rb, u8 rc) argument
970 arc_mpy_i(u8 *buf, u8 ra, u8 rb, s32 imm) argument
982 arc_mpydu_r(u8 *buf, u8 ra, u8 rc) argument
992 arc_mpydu_i(u8 *buf, u8 ra, s32 imm) argument
1004 arc_divu_r(u8 *buf, u8 rd, u8 rs) argument
1014 arc_divu_i(u8 *buf, u8 rd, s32 imm) argument
1026 arc_divs_r(u8 *buf, u8 rd, u8 rs) argument
1036 arc_divs_i(u8 *buf, u8 rd, s32 imm) argument
1048 arc_remu_r(u8 *buf, u8 rd, u8 rs) argument
1058 arc_remu_i(u8 *buf, u8 rd, s32 imm) argument
1070 arc_rems_r(u8 *buf, u8 rd, u8 rs) argument
1080 arc_rems_i(u8 *buf, u8 rd, s32 imm) argument
1092 arc_and_r(u8 *buf, u8 rd, u8 rs) argument
1102 arc_and_i(u8 *buf, u8 rd, s32 imm) argument
1114 arc_tst_r(u8 *buf, u8 rd, u8 rs) argument
1129 arc_tstz_r(u8 *buf, u8 rd, u8 rs) argument
1138 arc_or_r(u8 *buf, u8 rd, u8 rs1, u8 rs2) argument
1147 arc_or_i(u8 *buf, u8 rd, s32 imm) argument
1158 arc_xor_r(u8 *buf, u8 rd, u8 rs) argument
1167 arc_xor_i(u8 *buf, u8 rd, s32 imm) argument
1178 arc_not_r(u8 *buf, u8 rd, u8 rs) argument
1187 arc_btst_i(u8 *buf, u8 rs, u8 imm) argument
1196 arc_asl_r(u8 *buf, u8 rd, u8 rs1, u8 rs2) argument
1205 arc_asli_r(u8 *buf, u8 rd, u8 rs, u8 imm) argument
1214 arc_asr_r(u8 *buf, u8 rd, u8 rs1, u8 rs2) argument
1223 arc_asri_r(u8 *buf, u8 rd, u8 rs, u8 imm) argument
1232 arc_lsr_r(u8 *buf, u8 rd, u8 rs1, u8 rs2) argument
1241 arc_lsri_r(u8 *buf, u8 rd, u8 rs, u8 imm) argument
1250 arc_swape_r(u8 *buf, u8 r) argument
1259 arc_jmp_return(u8 *buf) argument
1266 arc_jl(u8 *buf, u8 reg) argument
1280 arc_bcc(u8 *buf, u8 cc, int offset) argument
1294 arc_b(u8 *buf, s32 offset) argument
1305 zext(u8 *buf, u8 rd) argument
1313 mov_r32(u8 *buf, u8 rd, u8 rs, u8 sign_ext) argument
1336 mov_r32_i32(u8 *buf, u8 reg, s32 imm) argument
1341 mov_r64(u8 *buf, u8 rd, u8 rs, u8 sign_ext) argument
1375 mov_r64_i32(u8 *buf, u8 reg, s32 imm) argument
1419 mov_r64_i64(u8 *buf, u8 reg, u32 lo, u32 hi) argument
1442 adjust_mem_access(u8 *buf, s16 *off, u8 size, u8 rm, u8 *arc_reg_mem) argument
1460 store_r(u8 *buf, u8 rs, u8 rd, s16 off, u8 size) argument
1491 store_i(u8 *buf, s32 imm, u8 rd, s16 off, u8 size) argument
1521 push_r64(u8 *buf, u8 reg) argument
1540 load_r(u8 *buf, u8 rd, u8 rs, s16 off, u8 size, bool sign_ext) argument
1595 add_r32(u8 *buf, u8 rd, u8 rs) argument
1600 add_r32_i32(u8 *buf, u8 rd, s32 imm) argument
1608 add_r64(u8 *buf, u8 rd, u8 rs) argument
1617 add_r64_i32(u8 *buf, u8 rd, s32 imm) argument
1631 sub_r32(u8 *buf, u8 rd, u8 rs) argument
1636 sub_r32_i32(u8 *buf, u8 rd, s32 imm) argument
1644 sub_r64(u8 *buf, u8 rd, u8 rs) argument
1653 sub_r64_i32(u8 *buf, u8 rd, s32 imm) argument
1662 cmp_r32(u8 *buf, u8 rd, u8 rs) argument
1667 neg_r32(u8 *buf, u8 r) argument
1673 neg_r64(u8 *buf, u8 r) argument
1683 mul_r32(u8 *buf, u8 rd, u8 rs) argument
1688 mul_r32_i32(u8 *buf, u8 rd, s32 imm) argument
1702 mul_r64(u8 *buf, u8 rd, u8 rs) argument
1748 mul_r64_i32(u8 *buf, u8 rd, s32 imm) argument
1774 div_r32(u8 *buf, u8 rd, u8 rs, bool sign_ext) argument
1782 div_r32_i32(u8 *buf, u8 rd, s32 imm, bool sign_ext) argument
1793 mod_r32(u8 *buf, u8 rd, u8 rs, bool sign_ext) argument
1801 mod_r32_i32(u8 *buf, u8 rd, s32 imm, bool sign_ext) argument
1812 and_r32(u8 *buf, u8 rd, u8 rs) argument
1817 and_r32_i32(u8 *buf, u8 rd, s32 imm) argument
1822 and_r64(u8 *buf, u8 rd, u8 rs) argument
1831 and_r64_i32(u8 *buf, u8 rd, s32 imm) argument
1840 tst_r32(u8 *buf, u8 rd, u8 rs) argument
1845 or_r32(u8 *buf, u8 rd, u8 rs) argument
1850 or_r32_i32(u8 *buf, u8 rd, s32 imm) argument
1855 or_r64(u8 *buf, u8 rd, u8 rs) argument
1864 or_r64_i32(u8 *buf, u8 rd, s32 imm) argument
1873 xor_r32(u8 *buf, u8 rd, u8 rs) argument
1878 xor_r32_i32(u8 *buf, u8 rd, s32 imm) argument
1883 xor_r64(u8 *buf, u8 rd, u8 rs) argument
1892 xor_r64_i32(u8 *buf, u8 rd, s32 imm) argument
1902 lsh_r32(u8 *buf, u8 rd, u8 rs) argument
1907 lsh_r32_i32(u8 *buf, u8 rd, u8 imm) argument
1948 lsh_r64(u8 *buf, u8 rd, u8 rs) argument
1981 lsh_r64_i32(u8 *buf, u8 rd, s32 imm) argument
2006 rsh_r32(u8 *buf, u8 rd, u8 rs) argument
2011 rsh_r32_i32(u8 *buf, u8 rd, u8 imm) argument
2043 rsh_r64(u8 *buf, u8 rd, u8 rs) argument
2076 rsh_r64_i32(u8 *buf, u8 rd, s32 imm) argument
2101 arsh_r32(u8 *buf, u8 rd, u8 rs) argument
2106 arsh_r32_i32(u8 *buf, u8 rd, u8 imm) argument
2140 arsh_r64(u8 *buf, u8 rd, u8 rs) argument
2174 arsh_r64_i32(u8 *buf, u8 rd, s32 imm) argument
2200 gen_swap(u8 *buf, u8 rd, u8 size, u8 endian, bool force, bool do_zext) argument
2275 frame_create(u8 *buf, u16 size) argument
2292 frame_restore(u8 *buf) argument
2303 bpf_to_arc_return(u8 *buf) argument
2318 arc_to_bpf_return(u8 *buf) argument
2347 jump_and_link(u8 *buf, u32 addr) argument
2404 arc_prologue(u8 *buf, u32 usage, u16 frame_size) argument
2450 arc_epilogue(u8 *buf, u32 usage, u16 frame_size) argument
2676 gen_j_eq_64(u8 *buf, u8 rd, u8 rs, bool eq, u32 curr_off, u32 targ_off) argument
2695 gen_jset_64(u8 *buf, u8 rd, u8 rs, u32 curr_off, u32 targ_off) argument
2804 gen_jcc_64(u8 *buf, u8 rd, u8 rs, u8 cond, u32 curr_off, u32 targ_off) argument
2839 gen_jmp_64(u8 *buf, u8 rd, u8 rs, u8 cond, u32 curr_off, u32 targ_off) argument
2939 gen_jmp_32(u8 *buf, u8 rd, u8 rs, u8 cond, u32 curr_off, u32 targ_off) argument
2988 gen_func_call(u8 *buf, ARC_ADDR func_addr, bool external_func) argument
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dsockopt_multi.c13 __u8 buf; local
18 buf = 0x80;
19 err = setsockopt(sock_fd, SOL_IP, IP_TOS, &buf, 1);
25 buf = 0x00;
27 err = getsockopt(sock_fd, SOL_IP, IP_TOS, &buf, &optlen);
33 if (buf != 0x80) {
34 log_err("Unexpected getsockopt 0x%x != 0x80 without BPF", buf);
49 buf = 0x00;
51 err = getsockopt(sock_fd, SOL_IP, IP_TOS, &buf, &optlen);
57 if (buf !
164 __u8 buf; local
[all...]

Completed in 481 milliseconds

1234567891011>>