/linux-master/tools/testing/selftests/bpf/bpf_testmod/ |
H A D | bpf_testmod.c | 344 .attr = { .name = "bpf_testmod", .mode = 0666, },
|
/linux-master/kernel/bpf/ |
H A D | verifier.c | 15901 const union bpf_attr *attr, 15914 nfuncs = attr->func_info_cnt; 15921 urec_size = attr->func_info_rec_size; 15932 urecord = make_bpfptr(attr->func_info, uattr.is_kernel); 16003 const union bpf_attr *attr, 16016 nfuncs = attr->func_info_cnt; 16027 urec_size = attr->func_info_rec_size; 16032 urecord = make_bpfptr(attr->func_info, uattr.is_kernel); 16094 const union bpf_attr *attr, 16105 nr_linfo = attr 15900 check_btf_func_early(struct bpf_verifier_env *env, const union bpf_attr *attr, bpfptr_t uattr) argument 16002 check_btf_func(struct bpf_verifier_env *env, const union bpf_attr *attr, bpfptr_t uattr) argument 16093 check_btf_line(struct bpf_verifier_env *env, const union bpf_attr *attr, bpfptr_t uattr) argument 16221 check_core_relo(struct bpf_verifier_env *env, const union bpf_attr *attr, bpfptr_t uattr) argument 16290 check_btf_info_early(struct bpf_verifier_env *env, const union bpf_attr *attr, bpfptr_t uattr) argument 16318 check_btf_info(struct bpf_verifier_env *env, const union bpf_attr *attr, bpfptr_t uattr) argument 18799 opt_subreg_zext_lo32_rnd_hi32(struct bpf_verifier_env *env, const union bpf_attr *attr) argument 21192 bpf_check(struct bpf_prog **prog, union bpf_attr *attr, bpfptr_t uattr, __u32 uattr_size) argument [all...] |
/linux-master/include/linux/ |
H A D | filter.h | 553 #define BPF_CALL_x(x, attr, name, ...) \ 557 attr u64 name(__BPF_REG(x, __BPF_DECL_REGS, __BPF_N, __VA_ARGS__)); \ 558 attr u64 name(__BPF_REG(x, __BPF_DECL_REGS, __BPF_N, __VA_ARGS__)) \
|
H A D | cpu.h | 45 extern int cpu_add_dev_attr(struct device_attribute *attr); 46 extern void cpu_remove_dev_attr(struct device_attribute *attr); 52 struct device_attribute *attr, char *buf); 54 struct device_attribute *attr, char *buf); 56 struct device_attribute *attr, char *buf); 58 struct device_attribute *attr, char *buf); 60 struct device_attribute *attr, char *buf); 62 struct device_attribute *attr, char *buf); 64 struct device_attribute *attr, 67 struct device_attribute *attr, cha [all...] |
/linux-master/drivers/spi/ |
H A D | spi.c | 145 struct device_attribute *attr, \ 153 .attr = { .name = file, .mode = 0444 }, \ 157 struct device_attribute *attr, \ 164 .attr = { .name = file, .mode = 0444 }, \ 219 &dev_attr_modalias.attr, 220 &dev_attr_driver_override.attr, 229 &dev_attr_spi_device_messages.attr, 230 &dev_attr_spi_device_transfers.attr, 231 &dev_attr_spi_device_errors.attr, 232 &dev_attr_spi_device_timedout.attr, 2966 slave_show(struct device *dev, struct device_attribute *attr, char *buf) argument 2977 slave_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument [all...] |
/linux-master/drivers/s390/net/ |
H A D | qeth_core_main.c | 6499 &driver_attr_group.attr,
|
/linux-master/drivers/s390/crypto/ |
H A D | zcrypt_ep11misc.c | 270 if (checkcpacfexp && !(kb->attr & EP11_BLOB_PKEY_EXTRACTABLE)) { 337 if (checkcpacfexp && !(kb->attr & EP11_BLOB_PKEY_EXTRACTABLE)) { 398 if (checkcpacfexp && !(kb->attr & EP11_BLOB_PKEY_EXTRACTABLE)) {
|
H A D | zcrypt_ccamisc.c | 314 u16 attr; member in struct:kgreqparm::lv2::keyid 374 preqparm->lv2.keyid[i].attr = (i == 2 ? 0x30 : 0x10); 456 u16 attr; member in struct:lv2::keyid 513 plv2->keyid.attr = 0x30;
|
/linux-master/drivers/s390/char/ |
H A D | raw3270.c | 1124 static ssize_t model_show(struct device *dev, struct device_attribute *attr, argument 1132 static ssize_t rows_show(struct device *dev, struct device_attribute *attr, argument 1141 columns_show(struct device *dev, struct device_attribute *attr, argument 1150 &dev_attr_model.attr, 1151 &dev_attr_rows.attr, 1152 &dev_attr_columns.attr,
|
/linux-master/drivers/nvme/host/ |
H A D | pci.c | 2073 static ssize_t cmb_show(struct device *dev, struct device_attribute *attr, argument 2083 static ssize_t cmbloc_show(struct device *dev, struct device_attribute *attr, argument 2092 static ssize_t cmbsz_show(struct device *dev, struct device_attribute *attr, argument 2101 static ssize_t hmb_show(struct device *dev, struct device_attribute *attr, argument 2109 static ssize_t hmb_store(struct device *dev, struct device_attribute *attr, argument 2144 if (a == &dev_attr_cmb.attr || 2145 a == &dev_attr_cmbloc.attr || 2146 a == &dev_attr_cmbsz.attr) { 2150 if (a == &dev_attr_hmb.attr && !ctrl->hmpre) 2157 &dev_attr_cmb.attr, [all...] |
H A D | nvme.h | 246 struct fault_attr attr; member in struct:nvme_fault_inject
|
H A D | multipath.c | 793 struct device_attribute *attr, char *buf) 803 struct device_attribute *attr, const char *buf, size_t count) 821 static ssize_t ana_grpid_show(struct device *dev, struct device_attribute *attr, argument 828 static ssize_t ana_state_show(struct device *dev, struct device_attribute *attr, argument 792 nvme_subsys_iopolicy_show(struct device *dev, struct device_attribute *attr, char *buf) argument 802 nvme_subsys_iopolicy_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
|
/linux-master/drivers/gpu/drm/xe/compat-i915-headers/ |
H A D | i915_drv.h | 211 #define i915_gem_fence_wait_priority(fence, attr) do { (void) attr; } while (0)
|
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm.c | 4762 struct device_attribute *attr, 6480 struct device_attribute *attr, 6497 struct device_attribute *attr, 6526 &dev_attr_panel_power_savings.attr, 4761 s3_debug_store(struct device *device, struct device_attribute *attr, const char *buf, size_t count) argument 6479 panel_power_savings_show(struct device *device, struct device_attribute *attr, char *buf) argument 6496 panel_power_savings_store(struct device *device, struct device_attribute *attr, const char *buf, size_t count) argument
|
/linux-master/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_process.c | 258 * @attr: Handle of attribute that allows reporting of wave count. The attribute 265 static int kfd_get_cu_occupancy(struct attribute *attr, char *buffer) argument 274 pdd = container_of(attr, struct kfd_process_device, attr_cu_occupancy); 298 static ssize_t kfd_procfs_show(struct kobject *kobj, struct attribute *attr, argument 301 if (strcmp(attr->name, "pasid") == 0) { 302 struct kfd_process *p = container_of(attr, struct kfd_process, 306 } else if (strncmp(attr->name, "vram_", 5) == 0) { 307 struct kfd_process_device *pdd = container_of(attr, struct kfd_process_device, 310 } else if (strncmp(attr->name, "sdma_", 5) == 0) { 311 struct kfd_process_device *pdd = container_of(attr, struc 376 kfd_procfs_queue_show(struct kobject *kobj, struct attribute *attr, char *buffer) argument 394 kfd_procfs_stats_show(struct kobject *kobj, struct attribute *attr, char *buffer) argument 420 kfd_sysfs_counters_show(struct kobject *kobj, struct attribute *attr, char *buf) argument 517 kfd_sysfs_create_file(struct kobject *kobj, struct attribute *attr, char *name) argument [all...] |
/linux-master/tools/testing/selftests/kvm/aarch64/ |
H A D | vgic_init.c | 106 uint64_t attr; member in struct:vgic_region_attr 112 .attr = KVM_VGIC_V3_ADDR_TYPE_DIST, 118 .attr = KVM_VGIC_V3_ADDR_TYPE_REDIST, 124 .attr = KVM_VGIC_V2_ADDR_TYPE_DIST, 130 .attr = KVM_VGIC_V2_ADDR_TYPE_CPU, 156 kvm_has_device_attr(v->gic_fd, KVM_DEV_ARM_VGIC_GRP_ADDR, dist.attr); 158 kvm_has_device_attr(v->gic_fd, KVM_DEV_ARM_VGIC_GRP_ADDR, rdist.attr); 167 dist.attr, &addr); 172 rdist.attr, &addr); 178 dist.attr, [all...] |
/linux-master/kernel/ |
H A D | workqueue.c | 4535 /* hash value of the content of @attr */ 5013 /* obtain a pool matching @attr and create a pwq associating the pool and @wq */ 6873 static ssize_t per_cpu_show(struct device *dev, struct device_attribute *attr, argument 6883 struct device_attribute *attr, char *buf) 6891 struct device_attribute *attr, const char *buf, 6906 &dev_attr_per_cpu.attr, 6907 &dev_attr_max_active.attr, 6925 static ssize_t wq_nice_show(struct device *dev, struct device_attribute *attr, argument 6953 static ssize_t wq_nice_store(struct device *dev, struct device_attribute *attr, argument 6979 struct device_attribute *attr, cha 6882 max_active_show(struct device *dev, struct device_attribute *attr, char *buf) argument 6890 max_active_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 6978 wq_cpumask_show(struct device *dev, struct device_attribute *attr, char *buf) argument 6991 wq_cpumask_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 7015 wq_affn_scope_show(struct device *dev, struct device_attribute *attr, char *buf) argument 7034 wq_affn_scope_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 7057 wq_affinity_strict_show(struct device *dev, struct device_attribute *attr, char *buf) argument 7066 wq_affinity_strict_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 7139 __wq_cpumask_show(struct device *dev, struct device_attribute *attr, char *buf, cpumask_var_t mask) argument 7151 wq_unbound_cpumask_show(struct device *dev, struct device_attribute *attr, char *buf) argument 7157 wq_requested_cpumask_show(struct device *dev, struct device_attribute *attr, char *buf) argument 7163 wq_isolated_cpumask_show(struct device *dev, struct device_attribute *attr, char *buf) argument 7169 wq_unbound_cpumask_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 7205 struct device_attribute *attr; local 7275 struct device_attribute *attr; local [all...] |
H A D | cpu.c | 2752 struct device_attribute *attr, char *buf) 2760 static ssize_t target_store(struct device *dev, struct device_attribute *attr, argument 2802 struct device_attribute *attr, char *buf) 2810 static ssize_t fail_store(struct device *dev, struct device_attribute *attr, argument 2861 struct device_attribute *attr, char *buf) 2871 &dev_attr_state.attr, 2872 &dev_attr_target.attr, 2873 &dev_attr_fail.attr, 2884 struct device_attribute *attr, char *buf) 2905 &dev_attr_states.attr, 2751 state_show(struct device *dev, struct device_attribute *attr, char *buf) argument 2801 target_show(struct device *dev, struct device_attribute *attr, char *buf) argument 2860 fail_show(struct device *dev, struct device_attribute *attr, char *buf) argument 2883 states_show(struct device *dev, struct device_attribute *attr, char *buf) argument 2925 __store_smt_control(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 2977 __store_smt_control(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 2992 control_show(struct device *dev, struct device_attribute *attr, char *buf) argument 3011 control_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 3018 active_show(struct device *dev, struct device_attribute *attr, char *buf) argument [all...] |
/linux-master/fs/nfs/ |
H A D | inode.c | 611 struct iattr *attr) 620 if (attr->ia_valid & (ATTR_KILL_SUID | ATTR_KILL_SGID)) 621 attr->ia_valid &= ~ATTR_MODE; 623 if (attr->ia_valid & ATTR_SIZE) { 626 error = inode_newsize_ok(inode, attr->ia_size); 630 if (attr->ia_size == i_size_read(inode)) 631 attr->ia_valid &= ~ATTR_SIZE; 635 if (((attr->ia_valid & NFS_VALID_ATTRS) & ~(ATTR_FILE|ATTR_OPEN)) == 0) 650 error = NFS_PROTO(inode)->setattr(dentry, fattr, attr); 697 * @attr 610 nfs_setattr(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *attr) argument 703 nfs_setattr_update_inode(struct inode *inode, struct iattr *attr, struct nfs_fattr *fattr) argument [all...] |
/linux-master/drivers/scsi/ |
H A D | sd.c | 136 cache_type_store(struct device *dev, struct device_attribute *attr, argument 207 struct device_attribute *attr, char *buf) 221 struct device_attribute *attr, char *buf) 231 struct device_attribute *attr, 252 struct device_attribute *attr, char *buf) 262 struct device_attribute *attr, 282 struct device_attribute *attr, char *buf) 291 struct device_attribute *attr, 311 allow_restart_show(struct device *dev, struct device_attribute *attr, char *buf) argument 319 allow_restart_store(struct device *dev, struct device_attribute *attr, argument 206 manage_start_stop_show(struct device *dev, struct device_attribute *attr, char *buf) argument 220 manage_system_start_stop_show(struct device *dev, struct device_attribute *attr, char *buf) argument 230 manage_system_start_stop_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 251 manage_runtime_start_stop_show(struct device *dev, struct device_attribute *attr, char *buf) argument 261 manage_runtime_start_stop_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 281 manage_shutdown_show(struct device *dev, struct device_attribute *attr, char *buf) argument 290 manage_shutdown_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 342 cache_type_show(struct device *dev, struct device_attribute *attr, char *buf) argument 352 FUA_show(struct device *dev, struct device_attribute *attr, char *buf) argument 361 protection_type_show(struct device *dev, struct device_attribute *attr, char *buf) argument 370 protection_type_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 393 protection_mode_show(struct device *dev, struct device_attribute *attr, char *buf) argument 416 app_tag_own_show(struct device *dev, struct device_attribute *attr, char *buf) argument 425 thin_provisioning_show(struct device *dev, struct device_attribute *attr, char *buf) argument 445 provisioning_mode_show(struct device *dev, struct device_attribute *attr, char *buf) argument 454 provisioning_mode_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 491 zeroing_mode_show(struct device *dev, struct device_attribute *attr, char *buf) argument 500 zeroing_mode_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 520 max_medium_access_timeouts_show(struct device *dev, struct device_attribute *attr, char *buf) argument 529 max_medium_access_timeouts_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 546 max_write_same_blocks_show(struct device *dev, struct device_attribute *attr, char *buf) argument 555 max_write_same_blocks_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 588 zoned_cap_show(struct device *dev, struct device_attribute *attr, char *buf) argument 603 max_retries_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 625 max_retries_show(struct device *dev, struct device_attribute *attr, char *buf) argument [all...] |
/linux-master/arch/arm64/kvm/vgic/ |
H A D | vgic-kvm-device.c | 80 * @attr: pointer to the attribute being retrieved/updated 92 static int kvm_vgic_addr(struct kvm *kvm, struct kvm_device_attr *attr, bool write) argument 94 u64 __user *uaddr = (u64 __user *)attr->addr; 102 if (write || attr->attr == KVM_VGIC_V3_ADDR_TYPE_REDIST_REGION) 111 switch (attr->attr) { 210 struct kvm_device_attr *attr) 214 switch (attr->group) { 216 r = kvm_vgic_addr(dev->kvm, attr, tru 209 vgic_set_common_attr(struct kvm_device *dev, struct kvm_device_attr *attr) argument 285 vgic_get_common_attr(struct kvm_device *dev, struct kvm_device_attr *attr) argument 338 vgic_v2_parse_attr(struct kvm_device *dev, struct kvm_device_attr *attr, struct vgic_reg_attr *reg_attr) argument 358 vgic_v2_attr_regs_access(struct kvm_device *dev, struct kvm_device_attr *attr, bool is_write) argument 416 vgic_v2_set_attr(struct kvm_device *dev, struct kvm_device_attr *attr) argument 428 vgic_v2_get_attr(struct kvm_device *dev, struct kvm_device_attr *attr) argument 440 vgic_v2_has_attr(struct kvm_device *dev, struct kvm_device_attr *attr) argument 474 vgic_v3_parse_attr(struct kvm_device *dev, struct kvm_device_attr *attr, struct vgic_reg_attr *reg_attr) argument 508 vgic_v3_attr_regs_access(struct kvm_device *dev, struct kvm_device_attr *attr, bool is_write) argument 598 vgic_v3_set_attr(struct kvm_device *dev, struct kvm_device_attr *attr) argument 612 vgic_v3_get_attr(struct kvm_device *dev, struct kvm_device_attr *attr) argument 626 vgic_v3_has_attr(struct kvm_device *dev, struct kvm_device_attr *attr) argument [all...] |
/linux-master/scripts/ |
H A D | Makefile.build | 274 -Zcrate-attr=no_std \ 275 -Zcrate-attr='feature($(rust_allowed_features))' \
|
/linux-master/fs/smb/client/ |
H A D | cifspdu.h | 1219 __le16 attr; member in struct:smb_com_query_information_rsp 1228 __le16 attr; member in struct:smb_com_setattr_req
|
/linux-master/drivers/i2c/ |
H A D | i2c-core-base.c | 662 name_show(struct device *dev, struct device_attribute *attr, char *buf) argument 670 modalias_show(struct device *dev, struct device_attribute *attr, char *buf) argument 688 &dev_attr_name.attr, 690 &dev_attr_modalias.attr, 1224 new_device_store(struct device *dev, struct device_attribute *attr, argument 1292 delete_device_store(struct device *dev, struct device_attribute *attr, argument 1339 &dev_attr_name.attr, 1340 &dev_attr_new_device.attr, 1341 &dev_attr_delete_device.attr,
|
/linux-master/drivers/dma/idxd/ |
H A D | perfmon.c | 9 static ssize_t cpumask_show(struct device *dev, struct device_attribute *attr, 24 &dev_attr_cpumask.attr, 53 &format_attr_idxd_event_category.attr, 54 &format_attr_idxd_event.attr, 55 &format_attr_idxd_filter_wq.attr, 56 &format_attr_idxd_filter_tc.attr, 57 &format_attr_idxd_filter_pgsz.attr, 58 &format_attr_idxd_filter_sz.attr, 59 &format_attr_idxd_filter_eng.attr, 74 static ssize_t cpumask_show(struct device *dev, struct device_attribute *attr, argument [all...] |