Home
last modified time | relevance | path

Searched defs:kobj (Results 26 – 50 of 219) sorted by relevance

123456789

/linux-3.3/drivers/base/
Dcore.c88 static ssize_t dev_attr_show(struct kobject *kobj, struct attribute *attr, in dev_attr_show()
104 static ssize_t dev_attr_store(struct kobject *kobj, struct attribute *attr, in dev_attr_store()
180 static void device_release(struct kobject *kobj) in device_release()
198 static const void *device_namespace(struct kobject *kobj) in device_namespace()
216 static int dev_uevent_filter(struct kset *kset, struct kobject *kobj) in dev_uevent_filter()
230 static const char *dev_uevent_name(struct kset *kset, struct kobject *kobj) in dev_uevent_name()
241 static int dev_uevent(struct kset *kset, struct kobject *kobj, in dev_uevent()
668 struct kobject kobj; member
674 static void class_dir_release(struct kobject *kobj) in class_dir_release()
681 struct kobj_ns_type_operations *class_dir_child_ns_type(struct kobject *kobj) in class_dir_child_ns_type()
[all …]
Dclass.c26 static ssize_t class_attr_show(struct kobject *kobj, struct attribute *attr, in class_attr_show()
38 static ssize_t class_attr_store(struct kobject *kobj, struct attribute *attr, in class_attr_store()
50 static const void *class_attr_namespace(struct kobject *kobj, in class_attr_namespace()
62 static void class_release(struct kobject *kobj) in class_release()
78 static const struct kobj_ns_type_operations *class_child_ns_type(struct kobject *kobj) in class_child_ns_type()
509 struct kobject *kobj; member
/linux-3.3/drivers/scsi/
Discsi_boot_sysfs.c40 static ssize_t iscsi_boot_show_attribute(struct kobject *kobj, in iscsi_boot_show_attribute()
62 static void iscsi_boot_kobj_release(struct kobject *kobj) in iscsi_boot_kobj_release()
115 static umode_t iscsi_boot_tgt_attr_is_visible(struct kobject *kobj, in iscsi_boot_tgt_attr_is_visible()
196 static umode_t iscsi_boot_eth_attr_is_visible(struct kobject *kobj, in iscsi_boot_eth_attr_is_visible()
268 static umode_t iscsi_boot_ini_attr_is_visible(struct kobject *kobj, in iscsi_boot_ini_attr_is_visible()
/linux-3.3/drivers/cpuidle/
Dsysfs.c169 static ssize_t cpuidle_show(struct kobject * kobj, struct attribute * attr ,char * buf) in cpuidle_show()
183 static ssize_t cpuidle_store(struct kobject * kobj, struct attribute * attr, in cpuidle_store()
203 static void cpuidle_sysfs_release(struct kobject *kobj) in cpuidle_sysfs_release()
276 static ssize_t cpuidle_state_show(struct kobject * kobj, in cpuidle_state_show()
294 static void cpuidle_state_sysfs_release(struct kobject *kobj) in cpuidle_state_sysfs_release()
322 struct cpuidle_state_kobj *kobj; in cpuidle_add_state_sysfs() local
/linux-3.3/arch/powerpc/platforms/pseries/
Dpower.c31 static ssize_t auto_poweron_show(struct kobject *kobj, in auto_poweron_show()
37 static ssize_t auto_poweron_store(struct kobject *kobj, in auto_poweron_store()
/linux-3.3/samples/kobject/
Dkset-example.c32 struct kobject kobj; member
54 static ssize_t foo_attr_show(struct kobject *kobj, in foo_attr_show()
74 static ssize_t foo_attr_store(struct kobject *kobj, in foo_attr_store()
103 static void foo_release(struct kobject *kobj) in foo_release()
/linux-3.3/drivers/pci/
Dslot.c18 static ssize_t pci_slot_attr_show(struct kobject *kobj, in pci_slot_attr_show()
26 static ssize_t pci_slot_attr_store(struct kobject *kobj, in pci_slot_attr_store()
101 static void pci_slot_release(struct kobject *kobj) in pci_slot_release()
379 struct kobject *kobj = NULL; in pci_hp_create_module_link() local
/linux-3.3/drivers/edac/
Dedac_pci_sysfs.c77 static void edac_pci_instance_release(struct kobject *kobj) in edac_pci_instance_release()
100 static ssize_t edac_pci_instance_show(struct kobject *kobj, in edac_pci_instance_show()
112 static ssize_t edac_pci_instance_store(struct kobject *kobj, in edac_pci_instance_store()
242 static ssize_t edac_pci_dev_show(struct kobject *kobj, struct attribute *attr, in edac_pci_dev_show()
253 static ssize_t edac_pci_dev_store(struct kobject *kobj, in edac_pci_dev_store()
318 static void edac_pci_release_main_kobj(struct kobject *kobj) in edac_pci_release_main_kobj()
Dmce_amd_inj.c78 static ssize_t edac_inject_bank_store(struct kobject *kobj, in edac_inject_bank_store()
104 static ssize_t edac_inject_bank_show(struct kobject *kobj, in edac_inject_bank_show()
/linux-3.3/fs/sysfs/
Ddir.c636 static int create_dir(struct kobject *kobj, struct sysfs_dirent *parent_sd, in create_dir()
667 int sysfs_create_subdir(struct kobject *kobj, const char *name, in sysfs_create_subdir()
682 static enum kobj_ns_type sysfs_read_ns_type(struct kobject *kobj) in sysfs_read_ns_type()
703 int sysfs_create_dir(struct kobject * kobj) in sysfs_create_dir()
828 void sysfs_remove_dir(struct kobject * kobj) in sysfs_remove_dir()
883 int sysfs_rename_dir(struct kobject *kobj, const char *new_name) in sysfs_rename_dir()
894 int sysfs_move_dir(struct kobject *kobj, struct kobject *new_parent_kobj) in sysfs_move_dir()
Dbin.c53 struct kobject *kobj = attr_sd->s_parent->s_dir.kobj; in fill_read() local
123 struct kobject *kobj = attr_sd->s_parent->s_dir.kobj; in flush_write() local
342 struct kobject *kobj = attr_sd->s_parent->s_dir.kobj; in mmap() local
484 int sysfs_create_bin_file(struct kobject *kobj, in sysfs_create_bin_file()
499 void sysfs_remove_bin_file(struct kobject *kobj, in sysfs_remove_bin_file()
/linux-3.3/drivers/scsi/qla2xxx/
Dqla_attr.c19 qla2x00_sysfs_read_fw_dump(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_read_fw_dump()
47 qla2x00_sysfs_write_fw_dump(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_write_fw_dump()
124 qla2x00_sysfs_read_nvram(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_read_nvram()
143 qla2x00_sysfs_write_nvram(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_write_nvram()
211 qla2x00_sysfs_read_optrom(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_read_optrom()
227 qla2x00_sysfs_write_optrom(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_write_optrom()
258 qla2x00_sysfs_write_optrom_ctl(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_write_optrom_ctl()
421 qla2x00_sysfs_read_vpd(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_read_vpd()
442 qla2x00_sysfs_write_vpd(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_write_vpd()
495 qla2x00_sysfs_read_sfp(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_read_sfp()
[all …]
/linux-3.3/arch/arm/kernel/
Detm.c433 static ssize_t trace_running_show(struct kobject *kobj, in trace_running_show()
440 static ssize_t trace_running_store(struct kobject *kobj, in trace_running_store()
460 static ssize_t trace_info_show(struct kobject *kobj, in trace_info_show()
501 static ssize_t trace_mode_show(struct kobject *kobj, in trace_mode_show()
510 static ssize_t trace_mode_store(struct kobject *kobj, in trace_mode_store()
/linux-3.3/arch/sh/kernel/cpu/sh4/
Dsq.c269 static ssize_t sq_sysfs_show(struct kobject *kobj, struct attribute *attr, in sq_sysfs_show()
280 static ssize_t sq_sysfs_store(struct kobject *kobj, struct attribute *attr, in sq_sysfs_store()
343 struct kobject *kobj; in sq_dev_add() local
361 struct kobject *kobj = sq_kobject[cpu]; in sq_dev_remove() local
/linux-3.3/drivers/firmware/
Ddmi-sysfs.c34 struct kobject kobj; member
81 static void dmi_entry_free(struct kobject *kobj) in dmi_entry_free()
86 static struct dmi_sysfs_entry *to_entry(struct kobject *kobj) in to_entry()
96 static ssize_t dmi_sysfs_attr_show(struct kobject *kobj, in dmi_sysfs_attr_show()
213 static ssize_t dmi_entry_attr_show(struct kobject *kobj, in dmi_entry_attr_show()
428 static ssize_t dmi_sel_raw_read(struct file *filp, struct kobject *kobj, in dmi_sel_raw_read()
534 struct kobject *kobj, in dmi_entry_raw_read()
553 static void dmi_sysfs_entry_release(struct kobject *kobj) in dmi_sysfs_entry_release()
Ddell_rbu.c525 static ssize_t read_rbu_data(struct file *filp, struct kobject *kobj, in read_rbu_data()
579 static ssize_t read_rbu_image_type(struct file *filp, struct kobject *kobj, in read_rbu_image_type()
589 static ssize_t write_rbu_image_type(struct file *filp, struct kobject *kobj, in write_rbu_image_type()
650 static ssize_t read_rbu_packet_size(struct file *filp, struct kobject *kobj, in read_rbu_packet_size()
663 static ssize_t write_rbu_packet_size(struct file *filp, struct kobject *kobj, in write_rbu_packet_size()
Defivars.c116 struct kobject kobj; member
367 static ssize_t efivar_attr_show(struct kobject *kobj, struct attribute *attr, in efivar_attr_show()
383 static ssize_t efivar_attr_store(struct kobject *kobj, struct attribute *attr, in efivar_attr_store()
404 static void efivar_release(struct kobject *kobj) in efivar_release()
615 static ssize_t efivar_create(struct file *filp, struct kobject *kobj, in efivar_create()
678 static ssize_t efivar_delete(struct file *filp, struct kobject *kobj, in efivar_delete()
742 static ssize_t systab_show(struct kobject *kobj, in systab_show()
/linux-3.3/drivers/infiniband/hw/qib/
Dqib_sysfs.c234 static ssize_t qib_portattr_show(struct kobject *kobj, in qib_portattr_show()
245 static ssize_t qib_portattr_store(struct kobject *kobj, in qib_portattr_store()
256 static void qib_port_release(struct kobject *kobj) in qib_port_release()
322 static ssize_t sl2vl_attr_show(struct kobject *kobj, struct attribute *attr, in sl2vl_attr_show()
394 static ssize_t diagc_attr_show(struct kobject *kobj, struct attribute *attr, in diagc_attr_show()
406 static ssize_t diagc_attr_store(struct kobject *kobj, struct attribute *attr, in diagc_attr_store()
642 struct kobject *kobj) in qib_create_port_files()
/linux-3.3/drivers/hid/
Dhid-roccat-pyra.c153 struct kobject *kobj, struct bin_attribute *attr, char *buf, in pyra_sysfs_read_profilex_settings()
175 struct kobject *kobj, struct bin_attribute *attr, char *buf, in pyra_sysfs_read_profilex_buttons()
197 struct kobject *kobj, struct bin_attribute *attr, char *buf, in pyra_sysfs_write_profile_settings()
234 struct kobject *kobj, struct bin_attribute *attr, char *buf, in pyra_sysfs_write_profile_buttons()
271 struct kobject *kobj, struct bin_attribute *attr, char *buf, in pyra_sysfs_read_settings()
292 struct kobject *kobj, struct bin_attribute *attr, char *buf, in pyra_sysfs_write_settings()
/linux-3.3/fs/ocfs2/
Dstackglue.c474 static ssize_t ocfs2_max_locking_protocol_show(struct kobject *kobj, in ocfs2_max_locking_protocol_show()
494 static ssize_t ocfs2_loaded_cluster_plugins_show(struct kobject *kobj, in ocfs2_loaded_cluster_plugins_show()
526 static ssize_t ocfs2_active_cluster_plugin_show(struct kobject *kobj, in ocfs2_active_cluster_plugin_show()
548 static ssize_t ocfs2_cluster_stack_show(struct kobject *kobj, in ocfs2_cluster_stack_show()
560 static ssize_t ocfs2_cluster_stack_store(struct kobject *kobj, in ocfs2_cluster_stack_store()
/linux-3.3/drivers/gpu/drm/ttm/
Dttm_memory.c41 struct kobject kobj; member
72 static void ttm_mem_zone_kobj_release(struct kobject *kobj) in ttm_mem_zone_kobj_release()
83 static ssize_t ttm_mem_zone_show(struct kobject *kobj, in ttm_mem_zone_show()
110 static ssize_t ttm_mem_zone_store(struct kobject *kobj, in ttm_mem_zone_store()
168 static void ttm_mem_global_kobj_release(struct kobject *kobj) in ttm_mem_global_kobj_release()
/linux-3.3/arch/mips/alchemy/devboards/
Dpm.c122 static ssize_t db1x_pmattr_show(struct kobject *kobj, in db1x_pmattr_show()
152 static ssize_t db1x_pmattr_store(struct kobject *kobj, in db1x_pmattr_store()
/linux-3.3/drivers/s390/char/
Dsclp_ocf.c89 static ssize_t cpc_name_show(struct kobject *kobj, in cpc_name_show()
103 static ssize_t hmc_network_show(struct kobject *kobj, in hmc_network_show()
/linux-3.3/arch/powerpc/sysdev/
Dmv64x60_pci.c28 static ssize_t mv64x60_hs_reg_read(struct file *filp, struct kobject *kobj, in mv64x60_hs_reg_read()
49 static ssize_t mv64x60_hs_reg_write(struct file *filp, struct kobject *kobj, in mv64x60_hs_reg_write()
/linux-3.3/mm/
Dksm.c1829 static ssize_t sleep_millisecs_show(struct kobject *kobj, in sleep_millisecs_show()
1835 static ssize_t sleep_millisecs_store(struct kobject *kobj, in sleep_millisecs_store()
1852 static ssize_t pages_to_scan_show(struct kobject *kobj, in pages_to_scan_show()
1858 static ssize_t pages_to_scan_store(struct kobject *kobj, in pages_to_scan_store()
1875 static ssize_t run_show(struct kobject *kobj, struct kobj_attribute *attr, in run_show()
1881 static ssize_t run_store(struct kobject *kobj, struct kobj_attribute *attr, in run_store()
1925 static ssize_t pages_shared_show(struct kobject *kobj, in pages_shared_show()
1932 static ssize_t pages_sharing_show(struct kobject *kobj, in pages_sharing_show()
1939 static ssize_t pages_unshared_show(struct kobject *kobj, in pages_unshared_show()
1946 static ssize_t pages_volatile_show(struct kobject *kobj, in pages_volatile_show()
[all …]

123456789