Home
last modified time | relevance | path

Searched refs:attr_size (Results 1 - 25 of 36) sorted by relevance

12

/kernel/linux/linux-6.6/fs/9p/
H A Dxattr.c22 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()
42 else /* request to get the attr_size */ 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()
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Dgen_loader.c266 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()
940 int attr_size = offsetofend(union bpf_attr, core_relo_rec_size); bpf_gen__prog_load() local
1037 int attr_size = offsetofend(union bpf_attr, flags); bpf_gen__map_update_elem() local
1084 int attr_size = offsetofend(union bpf_attr, flags); bpf_gen__populate_outer_map() local
1110 int attr_size = offsetofend(union bpf_attr, map_fd); bpf_gen__map_freeze() local
[all...]
H A Dskel_internal.h69 long kern_sys_bpf(__u32 cmd, void *attr, __u32 attr_size);
/kernel/linux/linux-5.10/fs/9p/
H A 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()
45 if (!buffer_size) /* request to get the attr_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()
/kernel/linux/linux-6.6/net/sched/
H A Dact_api.c1429 int init_res[], size_t *attr_size, in tcf_action_init()
1493 *attr_size = tcf_action_full_attrs_size(sz); in tcf_action_init()
1786 size_t attr_size = tcf_action_fill_size(action); in tcf_reoffload_del_notify() local
1794 skb = alloc_skb(attr_size <= NLMSG_GOODSIZE ? NLMSG_GOODSIZE : attr_size, in tcf_reoffload_del_notify()
1875 u32 portid, size_t attr_size, struct netlink_ext_ack *extack) in tcf_del_notify()
1880 skb = alloc_skb(attr_size <= NLMSG_GOODSIZE ? NLMSG_GOODSIZE : attr_size, in tcf_del_notify()
1912 size_t attr_size = 0; in tca_action_gd() local
1934 attr_size in tca_action_gd()
1427 tcf_action_init(struct net *net, struct tcf_proto *tp, struct nlattr *nla, struct nlattr *est, struct tc_action *actions[], int init_res[], size_t *attr_size, u32 flags, u32 fl_flags, struct netlink_ext_ack *extack) tcf_action_init() argument
1874 tcf_del_notify(struct net *net, struct nlmsghdr *n, struct tc_action *actions[], u32 portid, size_t attr_size, struct netlink_ext_ack *extack) tcf_del_notify() argument
1954 tcf_add_notify(struct net *net, struct nlmsghdr *n, struct tc_action *actions[], u32 portid, size_t attr_size, struct netlink_ext_ack *extack) tcf_add_notify() argument
1979 size_t attr_size = 0; tcf_action_add() local
[all...]
/kernel/linux/linux-5.10/fs/ntfs/
H A Dattrib.c1559 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()
[all...]
/kernel/linux/linux-6.6/fs/ntfs/
H A Dattrib.c1559 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()
[all...]
/kernel/linux/linux-5.10/net/sched/
H A Dact_api.c1062 struct tc_action *actions[], int init_res[], size_t *attr_size, in tcf_action_init()
1106 *attr_size = tcf_action_full_attrs_size(sz); in tcf_action_init()
1394 u32 portid, size_t attr_size, struct netlink_ext_ack *extack) in tcf_del_notify()
1399 skb = alloc_skb(attr_size <= NLMSG_GOODSIZE ? NLMSG_GOODSIZE : attr_size, in tcf_del_notify()
1433 size_t attr_size = 0; in tca_action_gd() local
1455 attr_size += tcf_action_fill_size(act); in tca_action_gd()
1459 attr_size = tcf_action_full_attrs_size(attr_size); in tca_action_gd()
1464 ret = tcf_del_notify(net, n, actions, portid, attr_size, extac in tca_action_gd()
1060 tcf_action_init(struct net *net, struct tcf_proto *tp, struct nlattr *nla, struct nlattr *est, char *name, int ovr, int bind, struct tc_action *actions[], int init_res[], size_t *attr_size, bool rtnl_held, struct netlink_ext_ack *extack) tcf_action_init() argument
1393 tcf_del_notify(struct net *net, struct nlmsghdr *n, struct tc_action *actions[], u32 portid, size_t attr_size, struct netlink_ext_ack *extack) tcf_del_notify() argument
1475 tcf_add_notify(struct net *net, struct nlmsghdr *n, struct tc_action *actions[], u32 portid, size_t attr_size, struct netlink_ext_ack *extack) tcf_add_notify() argument
1504 size_t attr_size = 0; tcf_action_add() local
[all...]
/kernel/linux/linux-6.6/include/net/9p/
H A Dclient.h292 const char *attr_name, u64 *attr_size);
294 u64 attr_size, int flags);
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dcoretemp.c64 * @attr_size: Total number of pre-core attrs displayed in the sysfs.
77 int attr_size; member
394 for (i = 0; i < tdata->attr_size; i++) { in create_core_attrs()
454 tdata->attr_size = MAX_CORE_ATTRS; in init_temp_data()
509 tdata->attr_size++; in create_core_data()
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dcoretemp.c67 * @attr_size: Total number of pre-core attrs displayed in the sysfs.
78 int attr_size; member
433 for (i = 0; i < tdata->attr_size; i++) { in create_core_attrs()
493 tdata->attr_size = MAX_CORE_ATTRS; in init_temp_data()
547 tdata->attr_size++; in create_core_data()
/kernel/linux/linux-5.10/tools/perf/util/
H A Dheader.h65 u64 attr_size; member
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
H A 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/
H A Dvc4_validate.c903 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()
/kernel/linux/linux-5.10/fs/ext4/
H A Dsysfs.c55 unsigned short attr_size; member
168 .attr_size = _size, \
422 return snprintf(buf, PAGE_SIZE, "%.*s\n", a->attr_size, in ext4_attr_show()
/kernel/linux/linux-6.6/fs/ext4/
H A Dsysfs.c55 unsigned short attr_size; member
162 .attr_size = _size, \
426 return sysfs_emit(buf, "%.*s\n", a->attr_size, in ext4_attr_show()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dheader.h67 u64 attr_size; member
/kernel/linux/linux-6.6/fs/smb/server/
H A Dvfs.h112 void *attr_value, size_t attr_size, int flags,
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/
H A Dcfg80211.c942 u16 attr_size; in wilc_wfi_cfg_parse_ch_attr() local
945 attr_size = le16_to_cpu(e->attr_len); in wilc_wfi_cfg_parse_ch_attr()
947 if (index + sizeof(*e) + attr_size > len) in wilc_wfi_cfg_parse_ch_attr()
951 attr_size >= (sizeof(struct wilc_attr_ch_list) - sizeof(*e))) in wilc_wfi_cfg_parse_ch_attr()
954 attr_size == (sizeof(struct wilc_attr_oper_ch) - sizeof(*e))) in wilc_wfi_cfg_parse_ch_attr()
960 index += sizeof(*e) + attr_size; in wilc_wfi_cfg_parse_ch_attr()
/kernel/linux/linux-5.10/net/9p/
H A Dclient.c2007 const char *attr_name, u64 *attr_size) in p9_client_xattrwalk()
2031 err = p9pdu_readf(&req->rc, clnt->proto_version, "q", attr_size); in p9_client_xattrwalk()
2039 attr_fid->fid, *attr_size); in p9_client_xattrwalk()
2053 u64 attr_size, int flags) in p9_client_xattrcreate()
2061 fid->fid, name, (long long)attr_size, flags); in p9_client_xattrcreate()
2065 fid->fid, name, attr_size, flags); in p9_client_xattrcreate()
2006 p9_client_xattrwalk(struct p9_fid *file_fid, const char *attr_name, u64 *attr_size) p9_client_xattrwalk() argument
2052 p9_client_xattrcreate(struct p9_fid *fid, const char *name, u64 attr_size, int flags) p9_client_xattrcreate() argument
/kernel/linux/linux-6.6/drivers/net/wireless/microchip/wilc1000/
H A Dcfg80211.c962 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()
/kernel/linux/linux-6.6/net/9p/
H A Dclient.c1970 const char *attr_name, u64 *attr_size) in p9_client_xattrwalk()
1993 err = p9pdu_readf(&req->rc, clnt->proto_version, "q", attr_size); in p9_client_xattrwalk()
2001 attr_fid->fid, *attr_size); in p9_client_xattrwalk()
2015 u64 attr_size, int flags) in p9_client_xattrcreate()
2023 fid->fid, name, attr_size, flags); in p9_client_xattrcreate()
2026 fid->fid, name, attr_size, flags); in p9_client_xattrcreate()
1969 p9_client_xattrwalk(struct p9_fid *file_fid, const char *attr_name, u64 *attr_size) p9_client_xattrwalk() argument
2014 p9_client_xattrcreate(struct p9_fid *fid, const char *name, u64 attr_size, int flags) p9_client_xattrcreate() argument
/kernel/linux/linux-5.10/include/net/
H A Dact_api.h183 struct tc_action *actions[], int init_res[], size_t *attr_size,
/kernel/linux/linux-6.6/include/net/
H A Dact_api.h208 struct tc_action *actions[], int init_res[], size_t *attr_size,
/kernel/linux/linux-6.6/drivers/platform/x86/hp/hp-bioscfg/
H A Dbioscfg.h483 char *attr_display, int attr_size);

Completed in 33 milliseconds

12