Home
last modified time | relevance | path

Searched refs:set_buf (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/fs/
Dlibfs.c922 char set_buf[24]; member
1015 size = min(sizeof(attr->set_buf) - 1, len); in simple_attr_write_xsigned()
1016 if (copy_from_user(attr->set_buf, buf, size)) in simple_attr_write_xsigned()
1019 attr->set_buf[size] = '\0'; in simple_attr_write_xsigned()
1021 ret = kstrtoll(attr->set_buf, 0, &val); in simple_attr_write_xsigned()
1023 ret = kstrtoull(attr->set_buf, 0, &val); in simple_attr_write_xsigned()
/linux-6.1.9/arch/powerpc/platforms/cell/spufs/
Dfile.c38 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()