Home
last modified time | relevance | path

Searched refs:attr_size (Results 1 – 23 of 23) sorted by relevance

/linux/fs/9p/
A Dxattr.c21 u64 attr_size; in v9fs_fid_xattr_get() local
29 attr_fid = p9_client_xattrwalk(fid, name, &attr_size); in v9fs_fid_xattr_get()
36 if (attr_size > buffer_size) { in v9fs_fid_xattr_get()
38 retval = attr_size; in v9fs_fid_xattr_get()
42 iov_iter_truncate(&to, attr_size); in v9fs_fid_xattr_get()
/linux/tools/lib/bpf/
A Dgen_loader.c271 emit(gen, BPF_MOV64_IMM(BPF_REG_3, attr_size)); in emit_sys_bpf()
423 memset(&attr, 0, attr_size); in bpf_gen__load_btf()
428 btf_load_attr = add_data(gen, &attr, attr_size); in bpf_gen__load_btf()
455 memset(&attr, 0, attr_size); in bpf_gen__map_create()
490 map_create_attr = add_data(gen, &attr, attr_size); in bpf_gen__map_create()
922 memset(&attr, 0, attr_size); in bpf_gen__prog_load()
951 prog_load_attr = add_data(gen, &attr, attr_size); in bpf_gen__prog_load()
1013 memset(&attr, 0, attr_size); in bpf_gen__map_update_elem()
1032 map_update_attr = add_data(gen, &attr, attr_size); in bpf_gen__map_update_elem()
1049 memset(&attr, 0, attr_size); in bpf_gen__map_freeze()
[all …]
/linux/net/sched/
A Dact_api.c1068 int init_res[], size_t *attr_size, u32 flags, in tcf_action_init() argument
1113 *attr_size = tcf_action_full_attrs_size(sz); in tcf_action_init()
1405 skb = alloc_skb(attr_size <= NLMSG_GOODSIZE ? NLMSG_GOODSIZE : attr_size, in tcf_del_notify()
1437 size_t attr_size = 0; in tca_action_gd() local
1459 attr_size += tcf_action_fill_size(act); in tca_action_gd()
1463 attr_size = tcf_action_full_attrs_size(attr_size); in tca_action_gd()
1468 ret = tcf_del_notify(net, n, actions, portid, attr_size, extack); in tca_action_gd()
1484 skb = alloc_skb(attr_size <= NLMSG_GOODSIZE ? NLMSG_GOODSIZE : attr_size, in tcf_add_notify()
1504 size_t attr_size = 0; in tcf_action_add() local
1511 &attr_size, flags, extack); in tcf_action_add()
[all …]
A Dcls_api.c3039 size_t attr_size = 0; in tcf_exts_validate() local
3067 &attr_size, flags, extack); in tcf_exts_validate()
/linux/fs/ntfs/
A Dattrib.c1535 u32 attr_size; in ntfs_attr_make_non_resident() local
1643 BUG_ON(attr_size != data_size); in ntfs_attr_make_non_resident()
1648 attr_size); in ntfs_attr_make_non_resident()
1649 memset(kaddr + attr_size, 0, PAGE_SIZE - attr_size); in ntfs_attr_make_non_resident()
1680 cpu_to_sle64(attr_size); in ntfs_attr_make_non_resident()
1765 if ((mp_ofs + attr_size) > arec_size) { in ntfs_attr_make_non_resident()
1766 err2 = attr_size; in ntfs_attr_make_non_resident()
1767 attr_size = arec_size - mp_ofs; in ntfs_attr_make_non_resident()
1777 err2, attr_size, err2 - attr_size, in ntfs_attr_make_non_resident()
1781 ni->initialized_size = attr_size; in ntfs_attr_make_non_resident()
[all …]
/linux/include/net/9p/
A Dclient.h251 const char *attr_name, u64 *attr_size);
253 u64 attr_size, int flags);
/linux/drivers/hwmon/
A Dcoretemp.c80 int attr_size; member
392 for (i = 0; i < tdata->attr_size; i++) { in create_core_attrs()
445 tdata->attr_size = MAX_CORE_ATTRS; in init_temp_data()
493 tdata->attr_size++; in create_core_data()
/linux/drivers/gpu/drm/vc4/
A Dvc4_validate.c891 uint32_t attr_size = *(uint8_t *)(pkt_u + o + 4) + 1; in validate_gl_shader_rec() local
902 vbo->base.size - offset < attr_size) { in validate_gl_shader_rec()
904 offset, attr_size, vbo->base.size); in validate_gl_shader_rec()
909 max_index = ((vbo->base.size - offset - attr_size) / in validate_gl_shader_rec()
/linux/fs/ext4/
A Dsysfs.c55 unsigned short attr_size; member
162 .attr_size = _size, \
424 return snprintf(buf, PAGE_SIZE, "%.*s\n", a->attr_size, in ext4_attr_show()
/linux/tools/perf/Documentation/
A Dperf.data-file-format.txt22 uint64_t attr_size; /* size of an attribute in attrs */
143 uint32_t attr_size; /* size of each perf_event_attr */
145 struct perf_event_attr attr; /* size of attr_size */
443 This is an array of perf_event_attrs, each attr_size bytes long, which defines
621 struct perf_event_attr attr; /* Size defined by header.attr_size */
/linux/tools/perf/util/
A Dheader.h67 u64 attr_size; member
A Dheader.c3574 .attr_size = sizeof(f_attr), in perf_session__write_header()
3667 uint64_t ref_size, attr_size; in try_all_file_abis() local
3674 attr_size = bswap_64(hdr_sz); in try_all_file_abis()
3675 if (attr_size != ref_size) in try_all_file_abis()
3705 u64 attr_size; in try_all_pipe_abis() local
3710 attr_size = bswap_64(hdr_sz); in try_all_pipe_abis()
3711 if (attr_size != hdr_sz) in try_all_pipe_abis()
3779 header->attr_size, false, ph) < 0) { in perf_file_header__read()
4047 if (f_header.attr_size == 0) { in perf_session__read_header()
4054 nr_attrs = f_header.attrs.size / f_header.attr_size; in perf_session__read_header()
/linux/fs/ksmbd/
A Dvfs.h111 const void *attr_value, size_t attr_size, int flags);
A Dvfs.c969 const void *attr_value, size_t attr_size, int flags) in ksmbd_vfs_setxattr() argument
977 attr_size, in ksmbd_vfs_setxattr()
/linux/net/9p/
A Dclient.c2005 const char *attr_name, u64 *attr_size) in p9_client_xattrwalk() argument
2029 err = p9pdu_readf(&req->rc, clnt->proto_version, "q", attr_size); in p9_client_xattrwalk()
2037 attr_fid->fid, *attr_size); in p9_client_xattrwalk()
2051 u64 attr_size, int flags) in p9_client_xattrcreate() argument
2059 fid->fid, name, attr_size, flags); in p9_client_xattrcreate()
2063 fid->fid, name, attr_size, flags); in p9_client_xattrcreate()
/linux/include/net/
A Dact_api.h191 struct tc_action *actions[], int init_res[], size_t *attr_size,
/linux/drivers/net/wireless/microchip/wilc1000/
A Dcfg80211.c957 u16 attr_size; in wilc_wfi_cfg_parse_ch_attr() local
962 attr_size = le16_to_cpu(ch_list->attr_len); in wilc_wfi_cfg_parse_ch_attr()
963 for (i = 0; i < attr_size;) { in wilc_wfi_cfg_parse_ch_attr()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Den_tc.c4442 mlx5e_alloc_flow(struct mlx5e_priv *priv, int attr_size, in mlx5e_alloc_flow() argument
4532 int attr_size, err; in __mlx5e_add_fdb_flow() local
4535 attr_size = sizeof(struct mlx5_esw_flow_attr); in __mlx5e_add_fdb_flow()
4536 err = mlx5e_alloc_flow(priv, attr_size, f, flow_flags, in __mlx5e_add_fdb_flow()
4674 int attr_size, err; in mlx5e_add_nic_flow() local
4684 attr_size = sizeof(struct mlx5_nic_flow_attr); in mlx5e_add_nic_flow()
4685 err = mlx5e_alloc_flow(priv, attr_size, f, flow_flags, in mlx5e_add_nic_flow()
/linux/fs/ntfs3/
A Dntfs.h398 static inline u64 attr_size(const struct ATTRIB *attr) in attr_size() function
A Dxattr.c106 if (attr_size(attr_ea) > sbi->ea_max_size) in ntfs_read_ea()
A Dfrecord.c2491 ondisk_size = attr_size(attr) - vbo_data; in ni_read_frame()
/linux/kernel/bpf/
A Dsyscall.c4752 BPF_CALL_3(bpf_sys_bpf, int, cmd, void *, attr, u32, attr_size) in BPF_CALL_3() argument
4767 return __sys_bpf(cmd, KERNEL_BPFPTR(attr), attr_size); in BPF_CALL_3()
/linux/drivers/net/ethernet/marvell/mvpp2/
A Dmvpp2_main.c7074 int attr_size = MVPP2_RX_FIFO_PORT_ATTR_SIZE(data_size); in mvpp22_rx_fifo_set_hw() local
7077 mvpp2_write(priv, MVPP2_RX_ATTR_FIFO_SIZE_REG(port), attr_size); in mvpp22_rx_fifo_set_hw()

Completed in 92 milliseconds