| /linux/fs/9p/ |
| H A D | xattr.c | 22 u64 attr_size; in v9fs_fid_xattr_get() local 30 attr_fid = p9_client_xattrwalk(fid, name, &attr_size); in v9fs_fid_xattr_get() 37 if (attr_size > buffer_size) { in v9fs_fid_xattr_get() 40 else if (attr_size > SSIZE_MAX) in v9fs_fid_xattr_get() 43 retval = attr_size; in v9fs_fid_xattr_get() 45 iov_iter_truncate(&to, attr_size); in v9fs_fid_xattr_get()
|
| /linux/net/sched/ |
| H A D | act_api.c | 1468 int init_res[], size_t *attr_size, in tcf_action_init() argument 1563 *attr_size = tcf_action_full_attrs_size(sz); in tcf_action_init() 1858 size_t attr_size = tcf_action_fill_size(action); in tcf_reoffload_del_notify_msg() local 1864 skb = alloc_skb(max(attr_size, NLMSG_GOODSIZE), GFP_KERNEL); in tcf_reoffload_del_notify_msg() 1961 u32 portid, size_t attr_size, in tcf_del_notify_msg() argument 1966 skb = alloc_skb(max(attr_size, NLMSG_GOODSIZE), GFP_KERNEL); in tcf_del_notify_msg() 1982 size_t attr_size, struct netlink_ext_ack *extack) in tcf_del_notify() argument 1990 skb = tcf_del_notify_msg(net, n, actions, portid, attr_size, in tcf_del_notify() 2015 size_t attr_size = 0; in tca_action_gd() local 2037 attr_size += tcf_action_fill_size(act); in tca_action_gd() [all …]
|
| H A D | cls_api.c | 3392 size_t attr_size = 0; in tcf_exts_validate_ex() local 3419 &attr_size, flags, fl_flags, in tcf_exts_validate_ex()
|
| /linux/drivers/platform/x86/intel/pmt/ |
| H A D | discovery.c | 56 u32 attr_size:8; member 424 size = sizeof(*header) + FEAT_ATTR_SIZE(header->attr_size) + in pmt_feature_get_feature_table() 434 memcpy_fromio(tbl_offset, feat_offset, FEAT_ATTR_SIZE(header->attr_size)); in pmt_feature_get_feature_table() 441 feat_offset += FEAT_ATTR_SIZE(header->attr_size); in pmt_feature_get_feature_table()
|
| /linux/drivers/hwmon/ |
| H A D | coretemp.c | 82 int attr_size; member 436 for (i = 0; i < tdata->attr_size; i++) { in create_core_attrs() 522 tdata->attr_size = MAX_CORE_ATTRS; in init_temp_data() 588 tdata->attr_size++; in create_core_data()
|
| /linux/include/net/9p/ |
| H A D | client.h | 390 const char *attr_name, u64 *attr_size); 392 u64 attr_size, int flags);
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | tc_opts.c | 2463 const size_t attr_size = offsetofend(union bpf_attr, query); in test_tc_opts_query_target() local 2556 memset(&attr, 0, attr_size); in test_tc_opts_query_target() 2560 err = syscall(__NR_bpf, BPF_PROG_QUERY, &attr, attr_size); in test_tc_opts_query_target() 2578 err = syscall(__NR_bpf, BPF_PROG_QUERY, &attr, attr_size); in test_tc_opts_query_target() 2599 memset(&attr, 0, attr_size); in test_tc_opts_query_target() 2607 err = syscall(__NR_bpf, BPF_PROG_QUERY, &attr, attr_size); in test_tc_opts_query_target() 2628 memset(&attr, 0, attr_size); in test_tc_opts_query_target() 2636 err = syscall(__NR_bpf, BPF_PROG_QUERY, &attr, attr_size); in test_tc_opts_query_target() 2657 memset(&attr, 0, attr_size); in test_tc_opts_query_target() 2664 err = syscall(__NR_bpf, BPF_PROG_QUERY, &attr, attr_size); in test_tc_opts_query_target() [all...] |
| /linux/drivers/platform/x86/hp/hp-bioscfg/ |
| H A D | bioscfg.c | 508 char *attr_display, int attr_size) in hp_friendly_user_name_update() argument 511 snprintf(attr_display, attr_size, "%s - %s", SCHEDULE_POWER_ON, attr_name); in hp_friendly_user_name_update() 513 strscpy(attr_display, attr_name, attr_size); in hp_friendly_user_name_update()
|
| H A D | bioscfg.h | 485 char *attr_display, int attr_size);
|
| /linux/tools/perf/Documentation/ |
| H A 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 */ 472 This is an array of perf_event_attrs, each attr_size bytes long, which defines 674 struct perf_event_attr attr; /* Size defined by header.attr_size */
|
| /linux/fs/ext4/ |
| H A D | sysfs.c | 59 unsigned short attr_size; member 196 .attr_size = _size, \ 447 return sysfs_emit(buf, "%.*s\n", a->attr_size, (char *) ptr); in ext4_generic_attr_show()
|
| /linux/tools/perf/util/ |
| H A D | header.h | 84 u64 attr_size; member
|
| H A D | header.c | 3987 u64 attr_offset = sizeof(f_header), attr_size = 0; in perf_session__do_write_header() local 4046 attr_size += sizeof(struct perf_file_attr); in perf_session__do_write_header() 4053 header->data_offset = attr_offset + attr_size; in perf_session__do_write_header() 4067 .attr_size = sizeof(struct perf_file_attr), in perf_session__do_write_header() 4070 .size = attr_size, in perf_session__do_write_header() 4195 uint64_t ref_size, attr_size; in try_all_file_abis() local 4202 attr_size = bswap_64(hdr_sz); in try_all_file_abis() 4203 if (attr_size != ref_size) in try_all_file_abis() 4233 u64 attr_size; in try_all_pipe_abis() local 4238 attr_size = bswap_64(hdr_sz); in try_all_pipe_abis() [all …]
|
| /linux/drivers/net/wireless/microchip/wilc1000/ |
| H A D | cfg80211.c | 950 u16 attr_size; in wilc_wfi_cfg_parse_ch_attr() local 953 attr_size = le16_to_cpu(e->attr_len); in wilc_wfi_cfg_parse_ch_attr() 955 if (index + sizeof(*e) + attr_size > len) in wilc_wfi_cfg_parse_ch_attr() 959 attr_size >= (sizeof(struct wilc_attr_ch_list) - sizeof(*e))) in wilc_wfi_cfg_parse_ch_attr() 962 attr_size == (sizeof(struct wilc_attr_oper_ch) - sizeof(*e))) in wilc_wfi_cfg_parse_ch_attr() 968 index += sizeof(*e) + attr_size; in wilc_wfi_cfg_parse_ch_attr()
|
| /linux/net/9p/ |
| H A D | client.c | 1914 const char *attr_name, u64 *attr_size) in p9_client_xattrwalk() argument 1937 err = p9pdu_readf(&req->rc, clnt->proto_version, "q", attr_size); in p9_client_xattrwalk() 1945 attr_fid->fid, *attr_size); in p9_client_xattrwalk() 1959 u64 attr_size, int flags) in p9_client_xattrcreate() argument 1967 fid->fid, name, attr_size, flags); in p9_client_xattrcreate() 1970 fid->fid, name, attr_size, flags); in p9_client_xattrcreate()
|
| /linux/fs/xfs/scrub/ |
| H A D | inode_repair.c | 1207 size_t attr_size; in xrep_dinode_check_afork() local 1224 attr_size = be16_to_cpu(afork_ptr->totsize); in xrep_dinode_check_afork() 1225 if (attr_size > afork_size) in xrep_dinode_check_afork() 1229 return xfs_attr_shortform_verify(afork_ptr, attr_size) != NULL; in xrep_dinode_check_afork()
|
| /linux/include/net/ |
| H A D | act_api.h | 216 struct tc_action *actions[], int init_res[], size_t *attr_size,
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_tc.c | 4440 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() 4687 int attr_size, err; in mlx5e_add_nic_flow() local 4697 attr_size = sizeof(struct mlx5_nic_flow_attr); in mlx5e_add_nic_flow() 4698 err = mlx5e_alloc_flow(priv, attr_size, f, flow_flags, in mlx5e_add_nic_flow()
|
| /linux/fs/smb/server/ |
| H A D | vfs.c | 867 void *attr_value, size_t attr_size, int flags, in ksmbd_vfs_setxattr() argument 882 attr_size, in ksmbd_vfs_setxattr()
|
| /linux/kernel/bpf/ |
| H A D | syscall.c | 6356 BPF_CALL_3(bpf_sys_bpf, int, cmd, union bpf_attr *, attr, u32, attr_size) in BPF_CALL_3() argument 6372 return __sys_bpf(cmd, KERNEL_BPFPTR(attr), attr_size); in BPF_CALL_3()
|
| /linux/fs/ntfs3/ |
| H A D | frecord.c | 2338 ondisk_size = attr_size(attr) - vbo_data; in ni_read_frame()
|
| /linux/drivers/net/ethernet/marvell/mvpp2/ |
| H A D | mvpp2_main.c | 7258 int attr_size = MVPP2_RX_FIFO_PORT_ATTR_SIZE(data_size); in mvpp22_rx_fifo_set_hw() local 7261 mvpp2_write(priv, MVPP2_RX_ATTR_FIFO_SIZE_REG(port), attr_size); in mvpp22_rx_fifo_set_hw()
|