Home
last modified time | relevance | path

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

/Linux-v5.10/fs/9p/
Dxattr.c29 u64 attr_size; in v9fs_fid_xattr_get() local
37 attr_fid = p9_client_xattrwalk(fid, name, &attr_size); in v9fs_fid_xattr_get()
44 if (attr_size > buffer_size) { in v9fs_fid_xattr_get()
46 retval = attr_size; in v9fs_fid_xattr_get()
50 iov_iter_truncate(&to, attr_size); in v9fs_fid_xattr_get()
/Linux-v5.10/net/sched/
Dact_api.c1028 struct tc_action *actions[], size_t *attr_size, in tcf_action_init() argument
1059 *attr_size = tcf_action_full_attrs_size(sz); in tcf_action_init()
1341 u32 portid, size_t attr_size, struct netlink_ext_ack *extack) in tcf_del_notify() argument
1346 skb = alloc_skb(attr_size <= NLMSG_GOODSIZE ? NLMSG_GOODSIZE : attr_size, in tcf_del_notify()
1380 size_t attr_size = 0; in tca_action_gd() local
1402 attr_size += tcf_action_fill_size(act); in tca_action_gd()
1406 attr_size = tcf_action_full_attrs_size(attr_size); in tca_action_gd()
1411 ret = tcf_del_notify(net, n, actions, portid, attr_size, extack); in tca_action_gd()
1423 u32 portid, size_t attr_size, struct netlink_ext_ack *extack) in tcf_add_notify() argument
1428 skb = alloc_skb(attr_size <= NLMSG_GOODSIZE ? NLMSG_GOODSIZE : attr_size, in tcf_add_notify()
[all …]
Dcls_api.c3055 size_t attr_size = 0; in tcf_exts_validate() local
3073 exts->actions, &attr_size, in tcf_exts_validate()
/Linux-v5.10/fs/ntfs/
Dattrib.c1535 u32 attr_size; in ntfs_attr_make_non_resident() local
1642 attr_size = le32_to_cpu(a->data.resident.value_length); in ntfs_attr_make_non_resident()
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()
1752 arec_size = (mp_ofs + attr_size + 7) & ~7; 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()
[all …]
/Linux-v5.10/drivers/hwmon/
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-v5.10/drivers/gpu/drm/vc4/
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-v5.10/fs/ext4/
Dsysfs.c54 unsigned short attr_size; member
167 .attr_size = _size, \
415 return snprintf(buf, PAGE_SIZE, "%.*s\n", a->attr_size, in ext4_attr_show()
/Linux-v5.10/tools/perf/util/
Dheader.h65 u64 attr_size; member
Dheader.c3361 .attr_size = sizeof(f_attr), in perf_session__write_header()
3454 uint64_t ref_size, attr_size; in try_all_file_abis() local
3461 attr_size = bswap_64(hdr_sz); in try_all_file_abis()
3462 if (attr_size != ref_size) in try_all_file_abis()
3492 u64 attr_size; in try_all_pipe_abis() local
3497 attr_size = bswap_64(hdr_sz); in try_all_pipe_abis()
3498 if (attr_size != hdr_sz) in try_all_pipe_abis()
3566 header->attr_size, false, ph) < 0) { in perf_file_header__read()
3831 if (f_header.attr_size == 0) { in perf_session__read_header()
3838 nr_attrs = f_header.attrs.size / f_header.attr_size; in perf_session__read_header()
/Linux-v5.10/tools/perf/Documentation/
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 */
410 This is an array of perf_event_attrs, each attr_size bytes long, which defines
588 struct perf_event_attr attr; /* Size defined by header.attr_size */
/Linux-v5.10/net/9p/
Dclient.c2009 const char *attr_name, u64 *attr_size) in p9_client_xattrwalk() argument
2033 err = p9pdu_readf(&req->rc, clnt->proto_version, "q", attr_size); in p9_client_xattrwalk()
2041 attr_fid->fid, *attr_size); in p9_client_xattrwalk()
2055 u64 attr_size, int flags) in p9_client_xattrcreate() argument
2063 fid->fid, name, (long long)attr_size, flags); in p9_client_xattrcreate()
2067 fid->fid, name, attr_size, flags); in p9_client_xattrcreate()
/Linux-v5.10/include/net/
Dact_api.h187 struct tc_action *actions[], size_t *attr_size,
/Linux-v5.10/drivers/net/wireless/microchip/wilc1000/
Dcfg80211.c954 u16 attr_size; in wilc_wfi_cfg_parse_ch_attr() local
959 attr_size = le16_to_cpu(ch_list->attr_len); in wilc_wfi_cfg_parse_ch_attr()
960 for (i = 0; i < attr_size;) { in wilc_wfi_cfg_parse_ch_attr()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c4531 mlx5e_alloc_flow(struct mlx5e_priv *priv, int attr_size, in mlx5e_alloc_flow() argument
4620 int attr_size, err; in __mlx5e_add_fdb_flow() local
4623 attr_size = sizeof(struct mlx5_esw_flow_attr); in __mlx5e_add_fdb_flow()
4624 err = mlx5e_alloc_flow(priv, attr_size, f, flow_flags, in __mlx5e_add_fdb_flow()
4763 int attr_size, err; in mlx5e_add_nic_flow() local
4773 attr_size = sizeof(struct mlx5_nic_flow_attr); in mlx5e_add_nic_flow()
4774 err = mlx5e_alloc_flow(priv, attr_size, f, flow_flags, in mlx5e_add_nic_flow()