Home
last modified time | relevance | path

Searched refs:get_buf (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/drivers/misc/
Dkgdbts.c114 static char get_buf[BUFMAX]; variable
697 strcpy(get_buf, "$"); in fill_get_buf()
698 strcat(get_buf, buf); in fill_get_buf()
703 strcat(get_buf, "#"); in fill_get_buf()
704 get_buf[count + 2] = hex_asc_hi(checksum); in fill_get_buf()
705 get_buf[count + 3] = hex_asc_lo(checksum); in fill_get_buf()
706 get_buf[count + 4] = '\0'; in fill_get_buf()
707 v2printk("get%i: %s\n", ts.idx, get_buf); in fill_get_buf()
761 if (get_buf[get_buf_cnt] == '\0') { in run_simple_test()
767 ret = get_buf[get_buf_cnt]; in run_simple_test()
/Linux-v5.4/tools/virtio/ringtest/
Dnoring.c23 void *get_buf(unsigned *lenp, void **bufp) in get_buf() function
Dmain.h69 void *get_buf(unsigned *, void **);
Dptr_ring.c147 void *get_buf(unsigned *lenp, void **bufp) in get_buf() function
Dring.c143 void *get_buf(unsigned *lenp, void **bufp) in get_buf() function
Dmain.c139 if (get_buf(&len, &buf)) { in run_guest()
Dvirtio_ring_0_9.c152 void *get_buf(unsigned *lenp, void **bufp) in get_buf() function
/Linux-v5.4/fs/
Dlibfs.c809 char get_buf[24]; /* enough to store a u64 and "\n\0" */ member
865 size = strlen(attr->get_buf); in simple_attr_read()
872 size = scnprintf(attr->get_buf, sizeof(attr->get_buf), in simple_attr_read()
876 ret = simple_read_from_buffer(buf, len, ppos, attr->get_buf, size); in simple_attr_read()
/Linux-v5.4/arch/powerpc/platforms/cell/spufs/
Dfile.c36 char get_buf[24]; /* enough to store a u64 and "\n\0" */ member
85 size = strlen(attr->get_buf); in spufs_attr_read()
92 size = scnprintf(attr->get_buf, sizeof(attr->get_buf), in spufs_attr_read()
96 ret = simple_read_from_buffer(buf, len, ppos, attr->get_buf, size); in spufs_attr_read()