Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/misc/
Dkgdbts.c126 static char get_buf[BUFMAX]; variable
709 strcpy(get_buf, "$"); in fill_get_buf()
710 strcat(get_buf, buf); in fill_get_buf()
715 strcat(get_buf, "#"); in fill_get_buf()
716 get_buf[count + 2] = hex_asc_hi(checksum); in fill_get_buf()
717 get_buf[count + 3] = hex_asc_lo(checksum); in fill_get_buf()
718 get_buf[count + 4] = '\0'; in fill_get_buf()
719 v2printk("get%i: %s\n", ts.idx, get_buf); in fill_get_buf()
773 if (get_buf[get_buf_cnt] == '\0') { in run_simple_test()
779 ret = get_buf[get_buf_cnt]; in run_simple_test()
/Linux-v4.19/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.c148 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-v4.19/fs/
Dlibfs.c786 char get_buf[24]; /* enough to store a u64 and "\n\0" */ member
842 size = strlen(attr->get_buf); in simple_attr_read()
849 size = scnprintf(attr->get_buf, sizeof(attr->get_buf), in simple_attr_read()
853 ret = simple_read_from_buffer(buf, len, ppos, attr->get_buf, size); in simple_attr_read()
/Linux-v4.19/arch/powerpc/platforms/cell/spufs/
Dfile.c49 char get_buf[24]; /* enough to store a u64 and "\n\0" */ member
98 size = strlen(attr->get_buf); in spufs_attr_read()
105 size = scnprintf(attr->get_buf, sizeof(attr->get_buf), in spufs_attr_read()
109 ret = simple_read_from_buffer(buf, len, ppos, attr->get_buf, size); in spufs_attr_read()