Searched refs:value_sz (Results 1 – 4 of 4) sorted by relevance
| /linux/fs/erofs/ |
| H A D | xattr.c | 192 unsigned int slice, processed, value_sz; in erofs_getxattr_foreach() local 197 value_sz = le16_to_cpu(entry.e_value_size); in erofs_getxattr_foreach() 241 it->buffer_ofs = value_sz; in erofs_getxattr_foreach() 245 if (it->buffer_size < value_sz) in erofs_getxattr_foreach() 248 return erofs_xattr_copy_to_buffer(it, value_sz); in erofs_getxattr_foreach()
|
| /linux/fs/xfs/scrub/ |
| H A D | attr.c | 41 ab->value_sz = 0; in xchk_xattr_buf_cleanup() 111 if (ab->value_sz >= value_size) in xchk_setup_xattr_buf() 117 ab->value_sz = 0; in xchk_setup_xattr_buf() 125 ab->value_sz = value_size; in xchk_setup_xattr_buf()
|
| /linux/tools/testing/selftests/bpf/map_tests/ |
| H A D | map_percpu_stats.c | 463 int value_sz = PCPU_MIN_UNIT_SIZE + 1; in map_percpu_stats_map_value_size() local 469 fd = bpf_map_create(map_types[i], NULL, sizeof(__u32), value_sz, 1, &opts); in map_percpu_stats_map_value_size()
|
| /linux/tools/lib/bpf/ |
| H A D | libbpf.c | 1820 static size_t array_map_mmap_sz(unsigned int value_sz, unsigned int max_entries) in array_map_mmap_sz() argument 1825 map_sz = (size_t)roundup(value_sz, 8) * max_entries; in array_map_mmap_sz() 10934 size_t value_sz, bool check_value_sz, __u64 flags) in validate_map_op() argument 10967 if (map->def.value_size != value_sz) { in validate_map_op() 10969 map->name, value_sz, map->def.value_size); in validate_map_op() 10975 if (value_sz != num_cpu * elem_sz) { in validate_map_op() 10977 map->name, value_sz, num_cpu, elem_sz, num_cpu * elem_sz); in validate_map_op() 10983 if (map->def.value_size != value_sz) { in validate_map_op() 10985 map->name, value_sz, map->def.value_size); in validate_map_op() 10995 void *value, size_t value_sz, __u64 flags) in bpf_map__lookup_elem() argument [all …]
|