Home
last modified time | relevance | path

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

/linux/fs/
H A Dlibfs.c1281 char set_buf[24]; member
1374 size = min(sizeof(attr->set_buf) - 1, len); in simple_attr_write_xsigned()
1375 if (copy_from_user(attr->set_buf, buf, size)) in simple_attr_write_xsigned()
1378 attr->set_buf[size] = '\0'; in simple_attr_write_xsigned()
1380 ret = kstrtoll(attr->set_buf, 0, &val); in simple_attr_write_xsigned()
1382 ret = kstrtoull(attr->set_buf, 0, &val); in simple_attr_write_xsigned()
/linux/arch/powerpc/platforms/cell/spufs/
H A 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()