Home
last modified time | relevance | path

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

/Linux-v5.4/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.4/net/sched/
Dact_api.c957 struct tc_action *actions[], size_t *attr_size, in tcf_action_init() argument
984 *attr_size = tcf_action_full_attrs_size(sz); in tcf_action_init()
1245 u32 portid, size_t attr_size, struct netlink_ext_ack *extack) in tcf_del_notify() argument
1250 skb = alloc_skb(attr_size <= NLMSG_GOODSIZE ? NLMSG_GOODSIZE : attr_size, in tcf_del_notify()
1284 size_t attr_size = 0; in tca_action_gd() local
1306 attr_size += tcf_action_fill_size(act); in tca_action_gd()
1310 attr_size = tcf_action_full_attrs_size(attr_size); in tca_action_gd()
1315 ret = tcf_del_notify(net, n, actions, portid, attr_size, extack); in tca_action_gd()
1327 u32 portid, size_t attr_size, struct netlink_ext_ack *extack) in tcf_add_notify() argument
1332 skb = alloc_skb(attr_size <= NLMSG_GOODSIZE ? NLMSG_GOODSIZE : attr_size, in tcf_add_notify()
[all …]
Dcls_api.c3018 size_t attr_size = 0; in tcf_exts_validate() local
3036 exts->actions, &attr_size, in tcf_exts_validate()
/Linux-v5.4/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.4/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.4/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.4/tools/perf/util/
Dheader.h67 u64 attr_size; member
Dheader.c3111 .attr_size = sizeof(f_attr), in perf_session__write_header()
3204 uint64_t ref_size, attr_size; in try_all_file_abis() local
3211 attr_size = bswap_64(hdr_sz); in try_all_file_abis()
3212 if (attr_size != ref_size) in try_all_file_abis()
3242 u64 attr_size; in try_all_pipe_abis() local
3247 attr_size = bswap_64(hdr_sz); in try_all_pipe_abis()
3248 if (attr_size != hdr_sz) in try_all_pipe_abis()
3316 header->attr_size, false, ph) < 0) { in perf_file_header__read()
3573 if (f_header.attr_size == 0) { in perf_session__read_header()
3580 nr_attrs = f_header.attrs.size / f_header.attr_size; in perf_session__read_header()
/Linux-v5.4/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 */
381 This is an array of perf_event_attrs, each attr_size bytes long, which defines
559 struct perf_event_attr attr; /* Size defined by header.attr_size */
/Linux-v5.4/net/9p/
Dclient.c1997 const char *attr_name, u64 *attr_size) in p9_client_xattrwalk() argument
2021 err = p9pdu_readf(&req->rc, clnt->proto_version, "q", attr_size); in p9_client_xattrwalk()
2029 attr_fid->fid, *attr_size); in p9_client_xattrwalk()
2043 u64 attr_size, int flags) in p9_client_xattrcreate() argument
2051 fid->fid, name, (long long)attr_size, flags); in p9_client_xattrcreate()
2055 fid->fid, name, attr_size, flags); in p9_client_xattrcreate()
/Linux-v5.4/include/net/
Dact_api.h178 struct tc_action *actions[], size_t *attr_size,
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c3515 mlx5e_alloc_flow(struct mlx5e_priv *priv, int attr_size, in mlx5e_alloc_flow() argument
3524 flow = kzalloc(sizeof(*flow) + attr_size, GFP_KERNEL); in mlx5e_alloc_flow()
3588 int attr_size, err; in __mlx5e_add_fdb_flow() local
3591 attr_size = sizeof(struct mlx5_esw_flow_attr); in __mlx5e_add_fdb_flow()
3592 err = mlx5e_alloc_flow(priv, attr_size, f, flow_flags, in __mlx5e_add_fdb_flow()
3723 int attr_size, err; in mlx5e_add_nic_flow() local
3730 attr_size = sizeof(struct mlx5_nic_flow_attr); in mlx5e_add_nic_flow()
3731 err = mlx5e_alloc_flow(priv, attr_size, f, flow_flags, in mlx5e_add_nic_flow()