Searched refs:buf1 (Results 26 - 50 of 66) sorted by relevance

123

/linux-master/drivers/net/ethernet/tundra/
H A Dtsi108_eth.h304 u32 buf1; /* Base address of buffer */ member in struct:__anon351
331 u32 buf1; /* Base address of buffer */ member in struct:__anon352
/linux-master/drivers/mtd/ubi/
H A Dio.c1372 void *buf1; local
1378 buf1 = __vmalloc(len, GFP_NOFS);
1379 if (!buf1) {
1384 err = mtd_read(ubi->mtd, addr, len, &read, buf1);
1390 uint8_t c1 = ((uint8_t *)buf1)[i];
1407 buf1 + i, dump_len, 1);
1413 vfree(buf1);
1417 vfree(buf1);
/linux-master/samples/watch_queue/
H A Dwatch_test.c69 unsigned char buf1[128]; member in union:__anon270
/linux-master/drivers/input/keyboard/
H A Dcros_ec_keyb.c139 int col1, col2, buf1, buf2; local
157 buf1 = buf[col1] & valid_keys[col1];
160 if (hweight8(buf1 & buf2) > 1) {
162 col1, buf1, col2, buf2);
/linux-master/tools/perf/tests/
H A Dcode-reading.c232 unsigned char buf1[BUFSZ] = {0}; local
284 al.addr, buf1, len);
369 if (memcmp(buf1, buf2, len)) {
371 pr_debug("buf1 (dso):\n");
372 dump_buf(buf1, len);
/linux-master/drivers/s390/cio/
H A Ddevice_pgid.c629 static void stlck_build_cp(struct ccw_device *cdev, void *buf1, void *buf2) argument
635 cp[0].cda = virt_to_dma32(buf1);
657 * @buf1: data pointer used in channel program
663 void *buf1, void *buf2)
677 stlck_build_cp(cdev, buf1, buf2);
662 ccw_device_stlck_start(struct ccw_device *cdev, void *data, void *buf1, void *buf2) argument
/linux-master/drivers/usb/fotg210/
H A Dfotg210-hcd.h481 u32 buf1; member in struct:fotg210_iso_packet
526 __hc32 buf1; member in struct:fotg210_iso_stream
/linux-master/fs/ubifs/
H A Drecovery.c229 void *buf1 = NULL, *buf2 = NULL, *cor1 = NULL, *cor2 = NULL; local
236 err = get_master_node(c, UBIFS_MST_LNUM, &buf1, &mst1, &cor1);
245 offs1 = (void *)mst1 - buf1;
345 vfree(buf1);
355 ubifs_dump_node(c, mst1, c->leb_size - ((void *)mst1 - buf1));
362 vfree(buf1);
/linux-master/security/tomoyo/
H A Dfile.c907 struct tomoyo_path_info buf1; local
919 buf1.name = NULL;
922 if (!tomoyo_get_realpath(&buf1, path1) ||
932 tomoyo_add_slash(&buf1);
939 r.param.path2.filename1 = &buf1;
946 kfree(buf1.name);
/linux-master/kernel/rcu/
H A Drefscale.c893 char buf1[64]; local
906 sprintf(buf1, "%d: %llu\t", i, rt->last_duration_ns);
914 strcat(buf, buf1);
933 char buf1[64]; local
996 sprintf(buf1, "%d\t%llu.%03u\n", exp + 1, avg, rem);
997 strcat(buf, buf1);
/linux-master/drivers/misc/sgi-gru/
H A Dgrukservices.c1107 char buf1[BUFSIZE], buf2[BUFSIZE]; local
1111 memset(buf1, get_cycles() & 255, sizeof(buf1));
1112 gru_copy_gpa(uv_gpa(buf2), uv_gpa(buf1), BUFSIZE);
1113 if (memcmp(buf1, buf2, BUFSIZE)) {
/linux-master/mm/kfence/
H A Dkfence_test.c608 char *buf1, *buf2; local
615 buf1 = test_alloc(test, size, GFP_KERNEL, ALLOCATE_ANY);
617 buf1[i] = i + 1;
618 test_free(buf1);
623 if (buf1 == buf2)
/linux-master/tools/testing/vsock/
H A Dvsock_test.c691 unsigned char *buf1; local
701 buf1 = malloc(buf_size);
702 if (!buf1) {
703 perror("'malloc()' for 'buf1'");
713 memset(buf1, BUF_PATTERN_1, buf_size);
716 send_buf(fd, buf1, buf_size, 0, buf_size);
/linux-master/sound/core/
H A Dinit.c783 char buf1[sizeof(card->id)]; local
794 memcpy(buf1, buf, copy);
795 buf1[copy] = '\0';
797 if (!card_id_ok(NULL, buf1))
799 strcpy(card->id, buf1);
/linux-master/fs/bcachefs/
H A Dbset.c173 struct printbuf buf1 = PRINTBUF; local
177 bch2_bkey_to_text(&buf1, &ku);
180 buf1.buf, buf2.buf);
246 struct printbuf buf1 = PRINTBUF; local
258 bch2_bkey_to_text(&buf1, &k1);
264 buf1.buf, buf2.buf);
277 bch2_bkey_to_text(&buf1, &k1);
283 buf1.buf, buf2.buf);
H A Dbtree_io.c687 struct printbuf buf1 = PRINTBUF; local
799 (printbuf_reset(&buf1),
800 bch2_bpos_to_text(&buf1, bn->min_key), buf1.buf),
810 (printbuf_reset(&buf1),
811 bch2_bpos_to_text(&buf1, bn->max_key), buf1.buf));
817 btree_err_on(bch2_bkey_format_invalid(c, &bn->format, write, &buf1),
821 "invalid bkey format: %s\n %s", buf1.buf,
824 printbuf_reset(&buf1);
[all...]
/linux-master/drivers/net/ethernet/mediatek/
H A Dmtk_wed_wo.h202 __le32 buf1; member in struct:mtk_wed_wo_queue_desc
/linux-master/tools/perf/arch/x86/util/
H A Dintel-pt.c1006 * @buf1: first buffer
1017 static bool intel_pt_compare_buffers(void *buf1, size_t compare_size, argument
1023 return memcmp(buf1, buf2 + offs2, compare_size);
1026 if (memcmp(buf1, buf2 + offs2, part_size))
1031 return memcmp(buf1 + part_size, buf2, compare_size);
/linux-master/tools/testing/selftests/memfd/
H A Dmemfd_test.c50 char buf1[PATH_MAX]; local
54 size = snprintf(buf1, PATH_MAX, "/proc/self/fd/%d", fd);
63 nbytes = readlink(buf1, buf, bufsize-1);
65 printf("readlink(%s) failed %m\n", buf1);
/linux-master/drivers/usb/host/
H A Dehci-sched.c1026 u32 buf1; local
1038 buf1 = is_input ? 1 << 11 : 0;
1046 buf1 |= maxp;
1050 stream->buf1 = cpu_to_hc32(ehci, buf1);
1673 itd->hw_bufp[1] = stream->buf1;
2017 packet->buf1 = (buf + length) & ~0x0fff;
2018 if (packet->buf1 != (buf & ~(u64)0x0fff))
2027 packet->buf1 |= length;
2122 sitd->hw_buf[1] = cpu_to_hc32(ehci, uf->buf1);
[all...]
H A Dehci.h456 u32 buf1; member in struct:ehci_iso_packet
497 __hc32 buf1; member in struct:ehci_iso_stream
/linux-master/arch/um/drivers/
H A Dubd_kern.c586 struct uml_stat buf1, buf2; local
594 err = os_stat_file(from_cmdline, &buf1);
606 if ((buf1.ust_dev == buf2.ust_dev) && (buf1.ust_ino == buf2.ust_ino))
/linux-master/tools/testing/selftests/net/
H A Dgro.c632 static char buf1[MAX_HDR_LEN + PAYLOAD_LEN]; local
640 iph1 = (struct iphdr *)(buf1 + ETH_HLEN);
644 create_packet(buf1, 0, 0, PAYLOAD_LEN, 0);
712 write_packet(fd, buf1, total_hdr_len + PAYLOAD_LEN, daddr);
/linux-master/kernel/trace/
H A Dtrace_eprobe.c873 char buf1[MAX_EVENT_NAME_LEN]; local
902 strscpy(buf1, sys_event, MAX_EVENT_NAME_LEN);
903 event = buf1;
/linux-master/drivers/scsi/arcmsr/
H A Darcmsr_hba.c2272 uint8_t *buf1 = NULL; local
2279 buf1 = kmalloc(128, GFP_ATOMIC);
2280 buf2 = (uint32_t *)buf1;
2281 if (buf1 == NULL)
2291 buf2 = (uint32_t *)buf1;
2295 *pQbuffer = *buf1;
2299 buf1++;
2357 uint8_t *buf1 = NULL; local
2362 buf1 = kmalloc(128, GFP_ATOMIC);
2363 buf2 = (uint32_t *)buf1;
[all...]

Completed in 1444 milliseconds

123