Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/net/sched/
Dact_api.c919 struct tc_action *actions[], size_t *attr_size, in tcf_action_init() argument
945 *attr_size = tcf_action_full_attrs_size(sz); in tcf_action_init()
1200 u32 portid, size_t attr_size, struct netlink_ext_ack *extack) in tcf_del_notify() argument
1205 skb = alloc_skb(attr_size <= NLMSG_GOODSIZE ? NLMSG_GOODSIZE : attr_size, in tcf_del_notify()
1239 size_t attr_size = 0; in tca_action_gd() local
1261 attr_size += tcf_action_fill_size(act); in tca_action_gd()
1265 attr_size = tcf_action_full_attrs_size(attr_size); in tca_action_gd()
1270 ret = tcf_del_notify(net, n, actions, portid, attr_size, extack); in tca_action_gd()
1282 u32 portid, size_t attr_size, struct netlink_ext_ack *extack) in tcf_add_notify() argument
1287 skb = alloc_skb(attr_size <= NLMSG_GOODSIZE ? NLMSG_GOODSIZE : attr_size, in tcf_add_notify()
[all …]
Dcls_api.c2053 size_t attr_size = 0; in tcf_exts_validate() local
2070 exts->actions, &attr_size, true, in tcf_exts_validate()
/Linux-v4.19/fs/ntfs/
Dattrib.c1549 u32 attr_size; in ntfs_attr_make_non_resident() local
1656 attr_size = le32_to_cpu(a->data.resident.value_length); in ntfs_attr_make_non_resident()
1657 BUG_ON(attr_size != data_size); in ntfs_attr_make_non_resident()
1662 attr_size); in ntfs_attr_make_non_resident()
1663 memset(kaddr + attr_size, 0, PAGE_SIZE - attr_size); in ntfs_attr_make_non_resident()
1694 cpu_to_sle64(attr_size); in ntfs_attr_make_non_resident()
1766 arec_size = (mp_ofs + attr_size + 7) & ~7; in ntfs_attr_make_non_resident()
1779 if ((mp_ofs + attr_size) > arec_size) { in ntfs_attr_make_non_resident()
1780 err2 = attr_size; in ntfs_attr_make_non_resident()
1781 attr_size = arec_size - mp_ofs; in ntfs_attr_make_non_resident()
[all …]
/Linux-v4.19/drivers/hwmon/
Dcoretemp.c93 int attr_size; member
405 for (i = 0; i < tdata->attr_size; i++) { in create_core_attrs()
458 tdata->attr_size = MAX_CORE_ATTRS; in init_temp_data()
506 tdata->attr_size++; in create_core_data()
/Linux-v4.19/tools/perf/Documentation/
Dperf.data-file-format.txt22 uint64_t attr_size; /* size of an attribute in attrs */
144 uint32_t attr_size; /* size of each perf_event_attr */
146 struct perf_event_attr attr; /* size of attr_size */
281 This is an array of perf_event_attrs, each attr_size bytes long, which defines
448 struct perf_event_attr attr; /* Size defined by header.attr_size */
/Linux-v4.19/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-v4.19/tools/perf/util/
Dheader.h58 u64 attr_size; member
Dheader.c2824 .attr_size = sizeof(f_attr), in perf_session__write_header()
2917 uint64_t ref_size, attr_size; in try_all_file_abis() local
2924 attr_size = bswap_64(hdr_sz); in try_all_file_abis()
2925 if (attr_size != ref_size) in try_all_file_abis()
2955 u64 attr_size; in try_all_pipe_abis() local
2960 attr_size = bswap_64(hdr_sz); in try_all_pipe_abis()
2961 if (attr_size != hdr_sz) in try_all_pipe_abis()
3029 header->attr_size, false, ph) < 0) { in perf_file_header__read()
3286 nr_attrs = f_header.attrs.size / f_header.attr_size; in perf_session__read_header()
/Linux-v4.19/net/9p/
Dclient.c1994 const char *attr_name, u64 *attr_size) in p9_client_xattrwalk() argument
2018 err = p9pdu_readf(req->rc, clnt->proto_version, "q", attr_size); in p9_client_xattrwalk()
2026 attr_fid->fid, *attr_size); in p9_client_xattrwalk()
2040 u64 attr_size, int flags) in p9_client_xattrcreate() argument
2048 fid->fid, name, (long long)attr_size, flags); in p9_client_xattrcreate()
2052 fid->fid, name, attr_size, flags); in p9_client_xattrcreate()
/Linux-v4.19/include/net/
Dact_api.h170 struct tc_action *actions[], size_t *attr_size,
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c2821 int attr_size, err = 0; in mlx5e_configure_flower() local
2834 attr_size = sizeof(struct mlx5_esw_flow_attr); in mlx5e_configure_flower()
2837 attr_size = sizeof(struct mlx5_nic_flow_attr); in mlx5e_configure_flower()
2840 flow = kzalloc(sizeof(*flow) + attr_size, GFP_KERNEL); in mlx5e_configure_flower()