/linux-6.1.9/fs/9p/ |
D | xattr.c | 21 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-6.1.9/tools/lib/bpf/ |
D | gen_loader.c | 266 static void emit_sys_bpf(struct bpf_gen *gen, int cmd, int attr, int attr_size) in emit_sys_bpf() argument 271 emit(gen, BPF_MOV64_IMM(BPF_REG_3, attr_size)); in emit_sys_bpf() 420 int attr_size = offsetofend(union bpf_attr, btf_log_level); in bpf_gen__load_btf() local 424 memset(&attr, 0, attr_size); in bpf_gen__load_btf() 429 btf_load_attr = add_data(gen, &attr, attr_size); in bpf_gen__load_btf() 441 emit_sys_bpf(gen, BPF_BTF_LOAD, btf_load_attr, attr_size); in bpf_gen__load_btf() 454 int attr_size = offsetofend(union bpf_attr, map_extra); in bpf_gen__map_create() local 459 memset(&attr, 0, attr_size); in bpf_gen__map_create() 476 map_create_attr = add_data(gen, &attr, attr_size); in bpf_gen__map_create() 499 emit_sys_bpf(gen, BPF_MAP_CREATE, map_create_attr, attr_size); in bpf_gen__map_create() [all …]
|
D | skel_internal.h | 69 long kern_sys_bpf(__u32 cmd, void *attr, __u32 attr_size);
|
/linux-6.1.9/net/sched/ |
D | act_api.c | 1433 int init_res[], size_t *attr_size, in tcf_action_init() argument 1497 *attr_size = tcf_action_full_attrs_size(sz); in tcf_action_init() 1788 size_t attr_size = tcf_action_fill_size(action); in tcf_reoffload_del_notify() local 1796 skb = alloc_skb(attr_size <= NLMSG_GOODSIZE ? NLMSG_GOODSIZE : attr_size, in tcf_reoffload_del_notify() 1877 u32 portid, size_t attr_size, struct netlink_ext_ack *extack) in tcf_del_notify() argument 1882 skb = alloc_skb(attr_size <= NLMSG_GOODSIZE ? NLMSG_GOODSIZE : attr_size, in tcf_del_notify() 1914 size_t attr_size = 0; in tca_action_gd() local 1936 attr_size += tcf_action_fill_size(act); in tca_action_gd() 1940 attr_size = tcf_action_full_attrs_size(attr_size); in tca_action_gd() 1945 ret = tcf_del_notify(net, n, actions, portid, attr_size, extack); in tca_action_gd() [all …]
|
D | cls_api.c | 3055 size_t attr_size = 0; in tcf_exts_validate_ex() local 3083 &attr_size, flags, fl_flags, in tcf_exts_validate_ex()
|
/linux-6.1.9/fs/ntfs/ |
D | attrib.c | 1559 u32 attr_size; in ntfs_attr_make_non_resident() local 1666 attr_size = le32_to_cpu(a->data.resident.value_length); in ntfs_attr_make_non_resident() 1667 BUG_ON(attr_size != data_size); in ntfs_attr_make_non_resident() 1672 attr_size); in ntfs_attr_make_non_resident() 1673 memset(kaddr + attr_size, 0, PAGE_SIZE - attr_size); in ntfs_attr_make_non_resident() 1704 cpu_to_sle64(attr_size); in ntfs_attr_make_non_resident() 1776 arec_size = (mp_ofs + attr_size + 7) & ~7; in ntfs_attr_make_non_resident() 1789 if ((mp_ofs + attr_size) > arec_size) { in ntfs_attr_make_non_resident() 1790 err2 = attr_size; in ntfs_attr_make_non_resident() 1791 attr_size = arec_size - mp_ofs; in ntfs_attr_make_non_resident() [all …]
|
/linux-6.1.9/include/net/9p/ |
D | client.h | 292 const char *attr_name, u64 *attr_size); 294 u64 attr_size, int flags);
|
/linux-6.1.9/drivers/hwmon/ |
D | coretemp.c | 77 int attr_size; member 394 for (i = 0; i < tdata->attr_size; i++) { in create_core_attrs() 447 tdata->attr_size = MAX_CORE_ATTRS; in init_temp_data() 507 tdata->attr_size++; in create_core_data()
|
/linux-6.1.9/drivers/gpu/drm/vc4/ |
D | vc4_validate.c | 903 uint32_t attr_size = *(uint8_t *)(pkt_u + o + 4) + 1; in validate_gl_shader_rec() local 914 vbo->base.size - offset < attr_size) { in validate_gl_shader_rec() 916 offset, attr_size, vbo->base.size); in validate_gl_shader_rec() 921 max_index = ((vbo->base.size - offset - attr_size) / in validate_gl_shader_rec()
|
/linux-6.1.9/fs/ext4/ |
D | sysfs.c | 55 unsigned short attr_size; member 162 .attr_size = _size, \ 426 return sysfs_emit(buf, "%.*s\n", a->attr_size, in ext4_attr_show()
|
/linux-6.1.9/tools/perf/Documentation/ |
D | perf.data-file-format.txt | 22 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 */ 445 This is an array of perf_event_attrs, each attr_size bytes long, which defines 633 struct perf_event_attr attr; /* Size defined by header.attr_size */
|
/linux-6.1.9/tools/perf/util/ |
D | header.h | 67 u64 attr_size; member
|
D | header.c | 3674 .attr_size = sizeof(f_attr), in perf_session__do_write_header() 3796 uint64_t ref_size, attr_size; in try_all_file_abis() local 3803 attr_size = bswap_64(hdr_sz); in try_all_file_abis() 3804 if (attr_size != ref_size) in try_all_file_abis() 3834 u64 attr_size; in try_all_pipe_abis() local 3839 attr_size = bswap_64(hdr_sz); in try_all_pipe_abis() 3840 if (attr_size != hdr_sz) in try_all_pipe_abis() 3908 header->attr_size, false, ph) < 0) { in perf_file_header__read() 4176 if (f_header.attr_size == 0) { in perf_session__read_header() 4183 nr_attrs = f_header.attrs.size / f_header.attr_size; in perf_session__read_header()
|
/linux-6.1.9/fs/ksmbd/ |
D | vfs.h | 114 void *attr_value, size_t attr_size, int flags);
|
D | vfs.c | 963 void *attr_value, size_t attr_size, int flags) in ksmbd_vfs_setxattr() argument 971 attr_size, in ksmbd_vfs_setxattr()
|
/linux-6.1.9/drivers/net/wireless/microchip/wilc1000/ |
D | cfg80211.c | 962 u16 attr_size; in wilc_wfi_cfg_parse_ch_attr() local 965 attr_size = le16_to_cpu(e->attr_len); in wilc_wfi_cfg_parse_ch_attr() 967 if (index + sizeof(*e) + attr_size > len) in wilc_wfi_cfg_parse_ch_attr() 971 attr_size >= (sizeof(struct wilc_attr_ch_list) - sizeof(*e))) in wilc_wfi_cfg_parse_ch_attr() 974 attr_size == (sizeof(struct wilc_attr_oper_ch) - sizeof(*e))) in wilc_wfi_cfg_parse_ch_attr() 980 index += sizeof(*e) + attr_size; in wilc_wfi_cfg_parse_ch_attr()
|
/linux-6.1.9/net/9p/ |
D | client.c | 1973 const char *attr_name, u64 *attr_size) in p9_client_xattrwalk() argument 1997 err = p9pdu_readf(&req->rc, clnt->proto_version, "q", attr_size); in p9_client_xattrwalk() 2005 attr_fid->fid, *attr_size); in p9_client_xattrwalk() 2019 u64 attr_size, int flags) in p9_client_xattrcreate() argument 2027 fid->fid, name, attr_size, flags); in p9_client_xattrcreate() 2031 fid->fid, name, attr_size, flags); in p9_client_xattrcreate()
|
/linux-6.1.9/include/net/ |
D | act_api.h | 207 struct tc_action *actions[], int init_res[], size_t *attr_size,
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tc.c | 4197 mlx5e_alloc_flow(struct mlx5e_priv *priv, int attr_size, in mlx5e_alloc_flow() argument 4289 int attr_size, err; in __mlx5e_add_fdb_flow() local 4292 attr_size = sizeof(struct mlx5_esw_flow_attr); in __mlx5e_add_fdb_flow() 4293 err = mlx5e_alloc_flow(priv, attr_size, f, flow_flags, in __mlx5e_add_fdb_flow() 4443 int attr_size, err; in mlx5e_add_nic_flow() local 4453 attr_size = sizeof(struct mlx5_nic_flow_attr); in mlx5e_add_nic_flow() 4454 err = mlx5e_alloc_flow(priv, attr_size, f, flow_flags, in mlx5e_add_nic_flow()
|
/linux-6.1.9/fs/ntfs3/ |
D | ntfs.h | 398 static inline u64 attr_size(const struct ATTRIB *attr) in attr_size() function
|
D | xattr.c | 106 if (attr_size(attr_ea) > sbi->ea_max_size) in ntfs_read_ea()
|
D | frecord.c | 2556 ondisk_size = attr_size(attr) - vbo_data; in ni_read_frame()
|
/linux-6.1.9/kernel/bpf/ |
D | syscall.c | 5082 BPF_CALL_3(bpf_sys_bpf, int, cmd, union bpf_attr *, attr, u32, attr_size) in BPF_CALL_3() argument 5098 return __sys_bpf(cmd, KERNEL_BPFPTR(attr), attr_size); in BPF_CALL_3()
|
/linux-6.1.9/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_main.c | 7067 int attr_size = MVPP2_RX_FIFO_PORT_ATTR_SIZE(data_size); in mvpp22_rx_fifo_set_hw() local 7070 mvpp2_write(priv, MVPP2_RX_ATTR_FIFO_SIZE_REG(port), attr_size); in mvpp22_rx_fifo_set_hw()
|