Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/misc/
Dkgdbts.c124 static char get_buf[BUFMAX]; variable
703 strcpy(get_buf, "$"); in fill_get_buf()
704 strcat(get_buf, buf); in fill_get_buf()
709 strcat(get_buf, "#"); in fill_get_buf()
710 get_buf[count + 2] = hex_asc_hi(checksum); in fill_get_buf()
711 get_buf[count + 3] = hex_asc_lo(checksum); in fill_get_buf()
712 get_buf[count + 4] = '\0'; in fill_get_buf()
713 v2printk("get%i: %s\n", ts.idx, get_buf); in fill_get_buf()
767 if (get_buf[get_buf_cnt] == '\0') { in run_simple_test()
773 ret = get_buf[get_buf_cnt]; in run_simple_test()
/linux-4.1.27/fs/
Dlibfs.c754 char get_buf[24]; /* enough to store a u64 and "\n\0" */ member
810 size = strlen(attr->get_buf); in simple_attr_read()
817 size = scnprintf(attr->get_buf, sizeof(attr->get_buf), in simple_attr_read()
821 ret = simple_read_from_buffer(buf, len, ppos, attr->get_buf, size); in simple_attr_read()
/linux-4.1.27/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()