Searched refs:kobj (Results 51 - 75 of 998) sorted by path

1234567891011>>

/linux-master/arch/powerpc/platforms/pseries/
H A Dpseries_energy.c357 sysfs_remove_file(&cpu_dev->kobj,
359 sysfs_remove_file(&cpu_dev->kobj,
H A Dvas-sysfs.c22 struct kobject kobj; member in struct:vas_caps_entry
26 #define to_caps_entry(entry) container_of(entry, struct vas_caps_entry, kobj)
121 static ssize_t vas_type_show(struct kobject *kobj, struct attribute *attr, argument
128 centry = to_caps_entry(kobj);
138 static ssize_t vas_type_store(struct kobject *kobj, struct attribute *attr, argument
145 centry = to_caps_entry(kobj);
154 static void vas_type_release(struct kobject *kobj) argument
156 struct vas_caps_entry *centry = to_caps_entry(kobj);
178 struct kobject **kobj)
183 kobject_init(&centry->kobj,
177 vas_caps_kobj_name(struct vas_caps_entry *centry, struct kobject **kobj) argument
201 struct kobject *kobj = NULL; local
[all...]
/linux-master/arch/s390/kernel/
H A Dcert_store.c729 static ssize_t cs_status_show(struct kobject *kobj, argument
742 static ssize_t refresh_store(struct kobject *kobj, struct kobj_attribute *attr, argument
H A Dipl.c207 static ssize_t sys_##_prefix##_##_name##_show(struct kobject *kobj, \
215 static ssize_t sys_##_prefix##_##_name##_store(struct kobject *kobj, \
248 static ssize_t sys_##_prefix##_##_name##_store(struct kobject *kobj, \
265 static ssize_t sys_##_prefix##_##_name##_store(struct kobject *kobj, \
312 static ssize_t ipl_type_show(struct kobject *kobj, struct kobj_attribute *attr, argument
320 static ssize_t ipl_secure_show(struct kobject *kobj, argument
329 static ssize_t ipl_has_secure_show(struct kobject *kobj, argument
338 static ssize_t ipl_vm_parm_show(struct kobject *kobj, argument
351 static ssize_t sys_ipl_device_show(struct kobject *kobj, argument
376 static ssize_t ipl_parameter_read(struct file *filp, struct kobject *kobj, argument
387 ipl_scp_data_read(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) argument
397 ipl_nvme_scp_data_read(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) argument
407 ipl_eckd_scp_data_read(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) argument
543 ipl_ccw_loadparm_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument
743 reipl_nss_vmparm_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument
749 reipl_nss_vmparm_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t len) argument
757 reipl_ccw_vmparm_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument
763 reipl_ccw_vmparm_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t len) argument
779 reipl_fcp_scpdata_read(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) argument
789 reipl_fcp_scpdata_write(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) argument
902 reipl_fcp_clear_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument
908 reipl_fcp_clear_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t len) argument
937 reipl_nvme_scpdata_read(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) argument
947 reipl_nvme_scpdata_write(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) argument
1004 reipl_nvme_clear_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument
1010 reipl_nvme_clear_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t len) argument
1025 reipl_ccw_clear_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument
1031 reipl_ccw_clear_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t len) argument
1070 reipl_eckd_scpdata_read(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) argument
1080 reipl_eckd_scpdata_write(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) argument
1131 reipl_eckd_clear_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument
1137 reipl_eckd_clear_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t len) argument
1158 reipl_nss_name_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument
1167 reipl_nss_name_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t len) argument
1246 reipl_type_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument
1252 reipl_type_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t len) argument
1734 dump_type_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument
1740 dump_type_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t len) argument
2074 on_reboot_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument
2080 on_reboot_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t len) argument
2100 on_panic_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument
2106 on_panic_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t len) argument
2126 on_restart_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument
2132 on_restart_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t len) argument
2162 on_halt_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument
2168 on_halt_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t len) argument
2188 on_poff_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument
2194 on_poff_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t len) argument
[all...]
H A Dsmp.c1113 return sysfs_create_group(&s->kobj, &cpu_online_attr_group);
1120 sysfs_remove_group(&s->kobj, &cpu_online_attr_group);
1139 rc = sysfs_create_group(&s->kobj, &cpu_common_attr_group);
1148 sysfs_remove_group(&s->kobj, &cpu_common_attr_group);
H A Dtopology.c331 kobject_uevent(&dev->kobj, KOBJ_CHANGE);
490 rc = sysfs_create_group(&cpu->dev.kobj, &topology_cpu_attr_group);
493 rc = sysfs_create_group(&cpu->dev.kobj, &topology_extra_cpu_attr_group);
495 sysfs_remove_group(&cpu->dev.kobj, &topology_cpu_attr_group);
H A Duv.c478 static ssize_t uv_query_facilities(struct kobject *kobj, argument
491 static ssize_t uv_query_supp_se_hdr_ver(struct kobject *kobj, argument
500 static ssize_t uv_query_supp_se_hdr_pcf(struct kobject *kobj, argument
509 static ssize_t uv_query_dump_cpu_len(struct kobject *kobj, argument
518 static ssize_t uv_query_dump_storage_state_len(struct kobject *kobj, argument
527 static ssize_t uv_query_dump_finalize_len(struct kobject *kobj, argument
536 static ssize_t uv_query_feature_indications(struct kobject *kobj, argument
545 static ssize_t uv_query_max_guest_cpus(struct kobject *kobj, argument
554 static ssize_t uv_query_max_guest_vms(struct kobject *kobj, argument
563 static ssize_t uv_query_max_guest_addr(struct kobject *kobj, argument
572 uv_query_supp_att_req_hdr_ver(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
581 uv_query_supp_att_pflags(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
590 uv_query_supp_add_secret_req_ver(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
599 uv_query_supp_add_secret_pcf(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
608 uv_query_supp_secret_types(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
617 uv_query_max_secrets(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
650 uv_is_prot_virt_guest(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
661 uv_is_prot_virt_host(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
[all...]
/linux-master/arch/s390/pci/
H A Dpci_sysfs.c103 kn = sysfs_break_active_protection(&dev->kobj, &attr->attr);
136 static ssize_t util_string_read(struct file *filp, struct kobject *kobj, argument
140 struct device *dev = kobj_to_dev(kobj);
149 static ssize_t report_error_write(struct file *filp, struct kobject *kobj, argument
154 struct device *dev = kobj_to_dev(kobj);
189 static umode_t zpci_index_is_visible(struct kobject *kobj, argument
/linux-master/arch/sh/drivers/dma/
H A Ddma-sysfs.c152 return sysfs_create_link(&info->pdev->dev.kobj, &dev->kobj, name);
167 sysfs_remove_link(&info->pdev->dev.kobj, name);
/linux-master/arch/sh/drivers/
H A Dpush-switch.c40 kobject_uevent(&pdev->dev.kobj, KOBJ_CHANGE);
/linux-master/arch/sh/kernel/cpu/sh4/
H A Dsq.c267 static ssize_t sq_sysfs_show(struct kobject *kobj, struct attribute *attr, argument
278 static ssize_t sq_sysfs_store(struct kobject *kobj, struct attribute *attr, argument
342 struct kobject *kobj; local
349 kobj = sq_kobject[cpu];
350 error = kobject_init_and_add(kobj, &ktype_percpu_entry, &dev->kobj,
353 kobject_uevent(kobj, KOBJ_ADD);
360 struct kobject *kobj = sq_kobject[cpu]; local
362 kobject_put(kobj);
/linux-master/arch/sparc/kernel/
H A Dpci.c615 err = sysfs_create_file(&dev->dev.kobj, &dev_attr_obppath.attr);
H A Dsysfs.c159 return sysfs_create_group(&s->kobj, &mmu_stat_group);
167 sysfs_remove_group(&s->kobj, &mmu_stat_group);
H A Dvio.c405 err = sysfs_create_file(&vdev->dev.kobj,
/linux-master/arch/um/drivers/
H A Dubd_kern.c822 static umode_t ubd_attrs_are_visible(struct kobject *kobj, argument
/linux-master/arch/x86/events/amd/
H A Dcore.c1352 amd_branches_is_visible(struct kobject *kobj, struct attribute *attr, int i) argument
1374 amd_brs_is_visible(struct kobject *kobj, struct attribute *attr, int i) argument
H A Dibs.c576 zen4_ibs_extensions_is_visible(struct kobject *kobj, struct attribute *attr, int i) argument
626 cnt_ctl_is_visible(struct kobject *kobj, struct attribute *attr, int i) argument
H A Duncore.c244 amd_f17h_uncore_is_visible(struct kobject *kobj, struct attribute *attr, int i) argument
251 amd_f19h_uncore_is_visible(struct kobject *kobj, struct attribute *attr, int i) argument
/linux-master/arch/x86/events/
H A Dcore.c1940 is_visible(struct kobject *kobj, struct attribute *attr, int idx) argument
H A Dprobe.c8 not_visible(struct kobject *kobj, struct attribute *attr, int i) argument
/linux-master/arch/x86/events/intel/
H A Dcore.c5637 lbr_is_visible(struct kobject *kobj, struct attribute *attr, int i) argument
5673 default_is_visible(struct kobject *kobj, struct attribute *attr, int i) argument
5682 tsx_is_visible(struct kobject *kobj, struct attribute *attr, int i) argument
5688 pebs_is_visible(struct kobject *kobj, struct attribute *attr, int i) argument
5694 mem_is_visible(struct kobject *kobj, struct attribute *attr, int i) argument
5699 return pebs_is_visible(kobj, attr, i);
5703 exra_is_visible(struct kobject *kobj, struct attribute *attr, int i) argument
5863 static bool is_attr_for_this_pmu(struct kobject *kobj, struct attribute *attr) argument
5865 struct device *dev = kobj_to_dev(kobj);
5874 static umode_t hybrid_events_is_visible(struct kobject *kobj, argument
5887 hybrid_tsx_is_visible(struct kobject *kobj, struct attribute *attr, int i) argument
5898 hybrid_format_is_visible(struct kobject *kobj, struct attribute *attr, int i) argument
[all...]
H A Duncore_snbep.c3734 pmu_iio_mapping_visible(struct kobject *kobj, struct attribute *attr, argument
3737 struct intel_uncore_pmu *pmu = dev_to_uncore_pmu(kobj_to_dev(kobj));
3744 skx_iio_mapping_visible(struct kobject *kobj, struct attribute *attr, int die) argument
3747 return pmu_iio_mapping_visible(kobj, attr, die, 0);
4273 skx_upi_mapping_visible(struct kobject *kobj, struct attribute *attr, int die) argument
4275 struct intel_uncore_pmu *pmu = dev_to_uncore_pmu(kobj_to_dev(kobj));
4703 snr_iio_mapping_visible(struct kobject *kobj, struct attribute *attr, int die) argument
4706 return pmu_iio_mapping_visible(kobj, attr, die, 1);
5354 icx_iio_mapping_visible(struct kobject *kobj, struct attribute *attr, int die) argument
5357 return pmu_iio_mapping_visible(kobj, att
[all...]
/linux-master/arch/x86/include/asm/
H A Damd_nb.h45 struct kobject kobj; /* sysfs object */ member in struct:threshold_block
53 struct kobject *kobj; member in struct:threshold_bank
/linux-master/arch/x86/kernel/cpu/
H A Dcacheinfo.c522 cache_private_attrs_is_visible(struct kobject *kobj, argument
525 struct device *dev = kobj_to_dev(kobj);
H A Dintel_epb.c190 sysfs_merge_group(&cpu_dev->kobj, &intel_epb_attr_group);
200 sysfs_unmerge_group(&cpu_dev->kobj, &intel_epb_attr_group);

Completed in 439 milliseconds

1234567891011>>