/kernel/linux/linux-5.10/net/bpf/ |
D | test_run.c | 86 static int bpf_test_finish(const union bpf_attr *kattr, in bpf_test_finish() argument 90 void __user *data_out = u64_to_user_ptr(kattr->test.data_out); in bpf_test_finish() 97 if (kattr->test.data_size_out && in bpf_test_finish() 98 copy_size > kattr->test.data_size_out) { in bpf_test_finish() 99 copy_size = kattr->test.data_size_out; in bpf_test_finish() 178 static void *bpf_test_init(const union bpf_attr *kattr, u32 size, in bpf_test_init() argument 181 void __user *data_in = u64_to_user_ptr(kattr->test.data_in); in bpf_test_init() 182 u32 user_size = kattr->test.data_size_in; in bpf_test_init() 205 const union bpf_attr *kattr, in bpf_prog_test_run_tracing() argument 213 if (kattr->test.flags || kattr->test.cpu) in bpf_prog_test_run_tracing() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/greybus/ |
D | audio_manager_sysfs.c | 85 struct kobj_attribute *kattr) in manager_sysfs_init_attribute() argument 89 err = sysfs_create_file(kobj, &kattr->attr); in manager_sysfs_init_attribute() 92 kattr->attr.name, err); in manager_sysfs_init_attribute()
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
D | filecheck.c | 112 struct kobj_attribute *kattr = container_of(attr, in ocfs2_filecheck_show() local 116 if (kattr->show) in ocfs2_filecheck_show() 117 ret = kattr->show(kobj, kattr, buf); in ocfs2_filecheck_show() 127 struct kobj_attribute *kattr = container_of(attr, in ocfs2_filecheck_store() local 131 if (kattr->store) in ocfs2_filecheck_store() 132 ret = kattr->store(kobj, kattr, buf, count); in ocfs2_filecheck_store()
|
/kernel/linux/linux-5.10/lib/ |
D | kobject.c | 839 struct kobj_attribute *kattr; in kobj_attr_show() local 842 kattr = container_of(attr, struct kobj_attribute, attr); in kobj_attr_show() 843 if (kattr->show) in kobj_attr_show() 844 ret = kattr->show(kobj, kattr, buf); in kobj_attr_show() 851 struct kobj_attribute *kattr; in kobj_attr_store() local 854 kattr = container_of(attr, struct kobj_attribute, attr); in kobj_attr_store() 855 if (kattr->store) in kobj_attr_store() 856 ret = kattr->store(kobj, kattr, buf, count); in kobj_attr_store()
|
/kernel/linux/linux-5.10/fs/sysfs/ |
D | file.c | 685 struct attribute **kattr; in sysfs_change_owner() local 691 for (kattr = ktype->default_attrs; kattr && *kattr; kattr++) { in sysfs_change_owner() 692 error = sysfs_file_change_owner(kobj, (*kattr)->name, in sysfs_change_owner()
|
/kernel/linux/linux-5.10/include/linux/ |
D | bpf.h | 493 int (*test_run)(struct bpf_prog *prog, const union bpf_attr *kattr, 1527 int bpf_prog_test_run_xdp(struct bpf_prog *prog, const union bpf_attr *kattr, 1529 int bpf_prog_test_run_skb(struct bpf_prog *prog, const union bpf_attr *kattr, 1532 const union bpf_attr *kattr, 1535 const union bpf_attr *kattr, 1538 const union bpf_attr *kattr, 1727 const union bpf_attr *kattr, in bpf_prog_test_run_xdp() argument 1734 const union bpf_attr *kattr, in bpf_prog_test_run_skb() argument 1741 const union bpf_attr *kattr, in bpf_prog_test_run_tracing() argument 1748 const union bpf_attr *kattr, in bpf_prog_test_run_flow_dissector() argument
|
/kernel/linux/linux-5.10/drivers/hid/ |
D | hid-cp2112.c | 953 struct device_attribute *kattr, const char *buf, in pstr_store() argument 958 container_of(kattr, struct cp2112_pstring_attribute, attr); in pstr_store() 973 hid_err(hdev, "error writing %s string: %d\n", kattr->attr.name, in pstr_store() 985 struct device_attribute *kattr, char *buf) in pstr_show() argument 989 container_of(kattr, struct cp2112_pstring_attribute, attr); in pstr_show() 997 hid_err(hdev, "error reading %s string: %d\n", kattr->attr.name, in pstr_show() 1006 kattr->attr.name, report.length); in pstr_show()
|
D | wacom_sys.c | 1858 struct kobj_attribute *kattr, in wacom_show_remote_mode() argument 1872 struct kobj_attribute *kattr, char *buf) \ 1874 return wacom_show_remote_mode(kobj, kattr, buf, SET_ID); \
|
/kernel/linux/linux-5.10/fs/ntfs/ |
D | file.c | 108 u8 *kattr; in ntfs_attr_extend_initialized() local 159 kattr = (u8*)a + le16_to_cpu(a->data.resident.value_offset); in ntfs_attr_extend_initialized() 160 memset(kattr + attr_len, 0, new_init_size - attr_len); in ntfs_attr_extend_initialized() 1550 char *kattr, *kaddr; in ntfs_commit_pages_after_write() local 1608 kattr = (u8*)a + le16_to_cpu(a->data.resident.value_offset); in ntfs_commit_pages_after_write() 1611 memcpy(kattr + pos, kaddr + pos, bytes); in ntfs_commit_pages_after_write() 1623 memcpy(kaddr, kattr, pos); in ntfs_commit_pages_after_write() 1625 memcpy(kaddr + end, kattr + end, attr_len - end); in ntfs_commit_pages_after_write()
|
/kernel/linux/linux-5.10/kernel/sched/ |
D | core.c | 6024 struct sched_attr *kattr, in sched_attr_copy_to_user() argument 6027 unsigned int ksize = sizeof(*kattr); in sched_attr_copy_to_user() 6045 kattr->size = min(usize, ksize); in sched_attr_copy_to_user() 6047 if (copy_to_user(uattr, kattr, kattr->size)) in sched_attr_copy_to_user() 6063 struct sched_attr kattr = { }; in SYSCALL_DEFINE4() local 6081 kattr.sched_policy = p->policy; in SYSCALL_DEFINE4() 6083 kattr.sched_flags |= SCHED_FLAG_RESET_ON_FORK; in SYSCALL_DEFINE4() 6085 __getparam_dl(p, &kattr); in SYSCALL_DEFINE4() 6087 kattr.sched_priority = p->rt_priority; in SYSCALL_DEFINE4() 6089 kattr.sched_nice = task_nice(p); in SYSCALL_DEFINE4() [all …]
|
/kernel/linux/linux-5.10/kernel/trace/ |
D | bpf_trace.c | 1767 const union bpf_attr *kattr, in bpf_prog_test_run_tracing() argument
|