Searched refs:set_buf (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/fs/ |
D | libfs.c | 882 char set_buf[24]; member 975 size = min(sizeof(attr->set_buf) - 1, len); in simple_attr_write() 976 if (copy_from_user(attr->set_buf, buf, size)) in simple_attr_write() 979 attr->set_buf[size] = '\0'; in simple_attr_write() 980 ret = kstrtoull(attr->set_buf, 0, &val); in simple_attr_write()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/ |
D | file.c | 38 char set_buf[24]; member 120 size = min(sizeof(attr->set_buf) - 1, len); in spufs_attr_write() 121 if (copy_from_user(attr->set_buf, buf, size)) in spufs_attr_write() 125 attr->set_buf[size] = '\0'; in spufs_attr_write() 126 val = simple_strtol(attr->set_buf, NULL, 0); in spufs_attr_write()
|