/linux-4.1.27/include/linux/ |
D | sysfs.h | 24 struct kobject; 77 umode_t (*is_visible)(struct kobject *, 149 ssize_t (*read)(struct file *, struct kobject *, struct bin_attribute *, 151 ssize_t (*write)(struct file *, struct kobject *, struct bin_attribute *, 153 int (*mmap)(struct file *, struct kobject *, struct bin_attribute *attr, 200 ssize_t (*show)(struct kobject *, struct attribute *, char *); 201 ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t); 206 int __must_check sysfs_create_dir_ns(struct kobject *kobj, const void *ns); 207 void sysfs_remove_dir(struct kobject *kobj); 208 int __must_check sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name, [all …]
|
D | kobject.h | 63 struct kobject { struct 66 struct kobject *parent; argument 82 int kobject_set_name(struct kobject *kobj, const char *name, ...); argument 83 extern int kobject_set_name_vargs(struct kobject *kobj, const char *fmt, 86 static inline const char *kobject_name(const struct kobject *kobj) in kobject_name() 91 extern void kobject_init(struct kobject *kobj, struct kobj_type *ktype); 93 int kobject_add(struct kobject *kobj, struct kobject *parent, 96 int kobject_init_and_add(struct kobject *kobj, 97 struct kobj_type *ktype, struct kobject *parent, 100 extern void kobject_del(struct kobject *kobj); [all …]
|
D | kobject_ns.h | 21 struct kobject; 51 const struct kobj_ns_type_operations *kobj_child_ns_ops(struct kobject *parent); 52 const struct kobj_ns_type_operations *kobj_ns_ops(struct kobject *kobj);
|
D | livepatch.h | 61 struct kobject kobj; 102 struct kobject *kobj; 122 struct kobject kobj;
|
D | kobj_map.h | 10 typedef struct kobject *kobj_probe_t(dev_t, int *, void *); 16 struct kobject *kobj_lookup(struct kobj_map *, dev_t, int *);
|
D | uio_driver.h | 74 struct kobject *map_dir; 75 struct kobject *portio_dir;
|
D | cpufreq.h | 91 struct kobject kobj; 144 extern struct kobject *cpufreq_global_kobject; 160 struct kobject *get_governor_parent_kobj(struct cpufreq_policy *policy); 205 ssize_t (*show)(struct kobject *kobj, 207 ssize_t (*store)(struct kobject *a, struct attribute *b,
|
D | genhd.h | 25 extern struct kobject *block_depr; 114 struct kobject *holder_dir; 153 struct kobject kobj; 194 struct kobject *slave_dir; 620 extern struct kobject *get_disk(struct gendisk *disk); 624 struct kobject *(*probe)(dev_t, int *, void *),
|
D | efi.h | 1069 struct kobject *kobject; member 1094 struct kobject kobj; 1127 struct kobject *kobject); 1129 struct kobject *efivars_kobject(void); 1181 int efi_runtime_map_init(struct kobject *); 1187 static inline int efi_runtime_map_init(struct kobject *kobj) in efi_runtime_map_init()
|
D | cdev.h | 13 struct kobject kobj;
|
D | module.h | 40 struct kobject kobj; 42 struct kobject *drivers_dir; 233 struct kobject *holders_dir;
|
D | slub_def.h | 85 struct kobject kobj; /* For sysfs */
|
D | iscsi_boot_sysfs.h | 69 struct kobject kobj;
|
D | padata.h | 159 struct kobject kobj;
|
D | pktcdvd.h | 157 struct kobject kobj;
|
D | device.h | 359 struct kobject *dev_kobj; 383 extern struct kobject *sysfs_dev_block_kobj; 384 extern struct kobject *sysfs_dev_char_kobj; 728 struct kobject kobj; 794 static inline struct device *kobj_to_dev(struct kobject *kobj) in kobj_to_dev()
|
/linux-4.1.27/fs/xfs/ |
D | xfs_sysfs.h | 27 to_kobj(struct kobject *kobject) in to_kobj() argument 29 return container_of(kobject, struct xfs_kobj, kobject); in to_kobj() 33 xfs_sysfs_release(struct kobject *kobject) in xfs_sysfs_release() argument 35 struct xfs_kobj *kobj = to_kobj(kobject); in xfs_sysfs_release() 47 return kobject_init_and_add(&kobj->kobject, ktype, in xfs_sysfs_init() 48 &parent_kobj->kobject, "%s", name); in xfs_sysfs_init() 55 kobject_del(&kobj->kobject); in xfs_sysfs_del() 56 kobject_put(&kobj->kobject); in xfs_sysfs_del()
|
D | xfs_sysfs.c | 94 struct kobject *kobject, in xfs_dbg_show() argument 105 struct kobject *kobject, in xfs_dbg_store() argument 199 to_xlog(struct kobject *kobject) in to_xlog() argument 201 struct xfs_kobj *kobj = to_kobj(kobject); in to_xlog() 207 struct kobject *kobject, in xfs_log_show() argument 211 struct xlog *log = to_xlog(kobject); in xfs_log_show() 219 struct kobject *kobject, in xfs_log_store() argument 224 struct xlog *log = to_xlog(kobject); in xfs_log_store()
|
D | xfs_linux.h | 184 struct kobject kobject; member
|
/linux-4.1.27/Documentation/ |
D | kobject.txt | 11 Part of the difficulty in understanding the driver model - and the kobject 19 - A kobject is an object of type struct kobject. Kobjects have a name 20 and a reference count. A kobject also has a parent pointer (allowing 28 No structure should EVER have more than one kobject embedded within it. 32 - A ktype is the type of object that embeds a kobject. Every structure 33 that embeds a kobject needs a corresponding ktype. The ktype controls 34 what happens to the kobject when it is created and destroyed. 40 this kobject automatically. 43 of those directories corresponds to a kobject in the same kset. 51 It is rare for kernel code to create a standalone kobject, with one major [all …]
|
/linux-4.1.27/lib/ |
D | kobject.c | 30 const void *kobject_namespace(struct kobject *kobj) in kobject_namespace() 49 static int populate_dir(struct kobject *kobj) in populate_dir() 66 static int create_dir(struct kobject *kobj) in create_dir() 103 static int get_kobj_path_length(struct kobject *kobj) in get_kobj_path_length() 106 struct kobject *parent = kobj; in get_kobj_path_length() 121 static void fill_kobj_path(struct kobject *kobj, char *path, int length) in fill_kobj_path() 123 struct kobject *parent; in fill_kobj_path() 146 char *kobject_get_path(struct kobject *kobj, gfp_t gfp_mask) in kobject_get_path() 164 static void kobj_kset_join(struct kobject *kobj) in kobj_kset_join() 176 static void kobj_kset_leave(struct kobject *kobj) in kobj_kset_leave() [all …]
|
D | kobject_uevent.c | 92 struct kobject *kobj = data, *ksobj; in kobj_bcast_filter() 114 static int kobj_usermode_filter(struct kobject *kobj) in kobj_usermode_filter() 164 int kobject_uevent_env(struct kobject *kobj, enum kobject_action action, in kobject_uevent_env() 171 struct kobject *top_kobj; in kobject_uevent_env() 372 int kobject_uevent(struct kobject *kobj, enum kobject_action action) in kobject_uevent()
|
/linux-4.1.27/fs/sysfs/ |
D | symlink.c | 22 struct kobject *target_kobj, in sysfs_do_create_link_sd() 61 int sysfs_create_link_sd(struct kernfs_node *kn, struct kobject *target, in sysfs_create_link_sd() 67 static int sysfs_do_create_link(struct kobject *kobj, struct kobject *target, in sysfs_do_create_link() 89 int sysfs_create_link(struct kobject *kobj, struct kobject *target, in sysfs_create_link() 105 int sysfs_create_link_nowarn(struct kobject *kobj, struct kobject *target, in sysfs_create_link_nowarn() 120 void sysfs_delete_link(struct kobject *kobj, struct kobject *targ, in sysfs_delete_link() 142 void sysfs_remove_link(struct kobject *kobj, const char *name) in sysfs_remove_link() 165 int sysfs_rename_link_ns(struct kobject *kobj, struct kobject *targ, in sysfs_rename_link_ns()
|
D | file.c | 30 struct kobject *kobj = kn->parent->priv; in sysfs_file_ops() 45 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_seq_show() 86 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_bin_read() 110 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_read() 126 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_write() 139 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_bin_write() 160 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_bin_mmap() 165 void sysfs_notify(struct kobject *kobj, const char *dir, const char *attr) in sysfs_notify() 248 struct kobject *kobj = parent->priv; in sysfs_add_file_mode_ns() 319 int sysfs_create_file_ns(struct kobject *kobj, const struct attribute *attr, in sysfs_create_file_ns() [all …]
|
D | group.c | 35 static int create_files(struct kernfs_node *parent, struct kobject *kobj, in create_files() 94 static int internal_create_group(struct kobject *kobj, int update, in internal_create_group() 140 int sysfs_create_group(struct kobject *kobj, in sysfs_create_group() 160 int sysfs_create_groups(struct kobject *kobj, in sysfs_create_groups() 198 int sysfs_update_group(struct kobject *kobj, in sysfs_update_group() 213 void sysfs_remove_group(struct kobject *kobj, in sysfs_remove_group() 248 void sysfs_remove_groups(struct kobject *kobj, in sysfs_remove_groups() 269 int sysfs_merge_group(struct kobject *kobj, in sysfs_merge_group() 298 void sysfs_unmerge_group(struct kobject *kobj, in sysfs_unmerge_group() 320 int sysfs_add_link_to_group(struct kobject *kobj, const char *group_name, in sysfs_add_link_to_group() [all …]
|
D | dir.c | 41 int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) in sysfs_create_dir_ns() 75 void sysfs_remove_dir(struct kobject *kobj) in sysfs_remove_dir() 101 int sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name, in sysfs_rename_dir_ns() 113 int sysfs_move_dir_ns(struct kobject *kobj, struct kobject *new_parent_kobj, in sysfs_move_dir_ns() 130 int sysfs_create_mount_point(struct kobject *parent_kobj, const char *name) in sysfs_create_mount_point() 151 void sysfs_remove_mount_point(struct kobject *parent_kobj, const char *name) in sysfs_remove_mount_point()
|
D | sysfs.h | 40 int sysfs_create_link_sd(struct kernfs_node *kn, struct kobject *target,
|
/linux-4.1.27/kernel/ |
D | ksysfs.c | 33 static ssize_t uevent_seqnum_show(struct kobject *kobj, in uevent_seqnum_show() 42 static ssize_t uevent_helper_show(struct kobject *kobj, in uevent_helper_show() 47 static ssize_t uevent_helper_store(struct kobject *kobj, in uevent_helper_store() 63 static ssize_t profiling_show(struct kobject *kobj, in profiling_show() 68 static ssize_t profiling_store(struct kobject *kobj, in profiling_store() 94 static ssize_t kexec_loaded_show(struct kobject *kobj, in kexec_loaded_show() 101 static ssize_t kexec_crash_loaded_show(struct kobject *kobj, in kexec_crash_loaded_show() 108 static ssize_t kexec_crash_size_show(struct kobject *kobj, in kexec_crash_size_show() 113 static ssize_t kexec_crash_size_store(struct kobject *kobj, in kexec_crash_size_store() 128 static ssize_t vmcoreinfo_show(struct kobject *kobj, in vmcoreinfo_show() [all …]
|
D | params.c | 741 struct kobject *kobj; in locate_module_kobject() 864 static ssize_t module_attr_show(struct kobject *kobj, in module_attr_show() 883 static ssize_t module_attr_store(struct kobject *kobj, in module_attr_store() 907 static int uevent_filter(struct kset *kset, struct kobject *kobj) in uevent_filter() 923 static void module_kobj_release(struct kobject *kobj) in module_kobj_release()
|
/linux-4.1.27/kernel/power/ |
D | main.c | 51 static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_show() 57 static ssize_t pm_async_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_store() 86 static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_show() 107 static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_store() 247 static ssize_t pm_print_times_show(struct kobject *kobj, in pm_print_times_show() 253 static ssize_t pm_print_times_store(struct kobject *kobj, in pm_print_times_store() 279 struct kobject *power_kobj; 291 static ssize_t state_show(struct kobject *kobj, struct kobj_attribute *attr, in state_show() 338 static ssize_t state_store(struct kobject *kobj, struct kobj_attribute *attr, in state_store() 397 static ssize_t wakeup_count_show(struct kobject *kobj, in wakeup_count_show() [all …]
|
D | hibernate.c | 906 static ssize_t disk_show(struct kobject *kobj, struct kobj_attribute *attr, in disk_show() 940 static ssize_t disk_store(struct kobject *kobj, struct kobj_attribute *attr, in disk_store() 990 static ssize_t resume_show(struct kobject *kobj, struct kobj_attribute *attr, in resume_show() 997 static ssize_t resume_store(struct kobject *kobj, struct kobj_attribute *attr, in resume_store() 1026 static ssize_t image_size_show(struct kobject *kobj, struct kobj_attribute *attr, in image_size_show() 1032 static ssize_t image_size_store(struct kobject *kobj, struct kobj_attribute *attr, in image_size_store() 1047 static ssize_t reserved_size_show(struct kobject *kobj, in reserved_size_show() 1053 static ssize_t reserved_size_store(struct kobject *kobj, in reserved_size_store()
|
/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_topology.h | 89 struct kobject *kobj; 112 struct kobject *kobj; 130 struct kobject *kobj; 145 struct kobject *kobj_node; 146 struct kobject *kobj_mem; 147 struct kobject *kobj_cache; 148 struct kobject *kobj_iolink; 160 struct kobject *kobj_topology; 161 struct kobject *kobj_nodes;
|
D | kfd_topology.c | 498 static ssize_t sysprops_show(struct kobject *kobj, struct attribute *attr, in sysprops_show() 530 static ssize_t iolink_show(struct kobject *kobj, struct attribute *attr, in iolink_show() 565 static ssize_t mem_show(struct kobject *kobj, struct attribute *attr, in mem_show() 592 static ssize_t kfd_cache_show(struct kobject *kobj, struct attribute *attr, in kfd_cache_show() 631 static ssize_t node_show(struct kobject *kobj, struct attribute *attr, in node_show() 753 static void kfd_remove_sysfs_file(struct kobject *kobj, struct attribute *attr) in kfd_remove_sysfs_file() 873 mem->kobj = kzalloc(sizeof(struct kobject), GFP_KERNEL); in kfd_build_sysfs_node_entry() 892 cache->kobj = kzalloc(sizeof(struct kobject), GFP_KERNEL); in kfd_build_sysfs_node_entry() 911 iolink->kobj = kzalloc(sizeof(struct kobject), GFP_KERNEL); in kfd_build_sysfs_node_entry()
|
/linux-4.1.27/Documentation/zh_CN/filesystems/ |
D | sysfs.txt | 27 sysfs - 用于导出内核对象(kobject)的文件系统 42 sysfs 始终与 kobject 的底层结构紧密相关。请阅读 43 Documentation/kobject.txt 文档以获得更多关于 kobject 接口的 59 任何 kobject 在系统中注册,就会有一个目录在 sysfs 中被创建。这个 60 目录是作为该 kobject 的父对象所在目录的子目录创建的,以准确地传递 65 目录的 kobject 的指针。以前,这个 kobject 指针被 sysfs 直接用于 66 kobject 文件打开和关闭的引用计数。而现在的 sysfs 实现中,kobject 73 kobject 的属性可在文件系统中以普通文件的形式导出。Sysfs 为属性定义 94 int sysfs_create_file(struct kobject * kobj, const struct attribute * attr); 95 void sysfs_remove_file(struct kobject * kobj, const struct attribute * attr); [all …]
|
/linux-4.1.27/arch/x86/kernel/ |
D | ksysfs.c | 23 static ssize_t version_show(struct kobject *kobj, in version_show() 31 static ssize_t boot_params_data_read(struct file *fp, struct kobject *kobj, in boot_params_data_read() 63 static int kobj_to_setup_data_nr(struct kobject *kobj, int *nr) in kobj_to_setup_data_nr() 116 static ssize_t type_show(struct kobject *kobj, in type_show() 140 struct kobject *kobj, in setup_data_data_read() 210 static int __init create_setup_data_node(struct kobject *parent, in create_setup_data_node() 211 struct kobject **kobjp, int nr) in create_setup_data_node() 215 struct kobject *kobj; in create_setup_data_node() 239 static void __init cleanup_setup_data_node(struct kobject *kobj) in cleanup_setup_data_node() 266 static int __init create_setup_data_nodes(struct kobject *parent) in create_setup_data_nodes() [all …]
|
/linux-4.1.27/net/batman-adv/ |
D | sysfs.c | 29 static struct net_device *batadv_kobj_to_netdev(struct kobject *obj) in batadv_kobj_to_netdev() 36 static struct batadv_priv *batadv_kobj_to_batpriv(struct kobject *obj) in batadv_kobj_to_batpriv() 49 static struct batadv_priv *batadv_vlan_kobj_to_batpriv(struct kobject *obj) in batadv_vlan_kobj_to_batpriv() 70 batadv_kobj_to_vlan(struct batadv_priv *bat_priv, struct kobject *obj) in batadv_kobj_to_vlan() 123 ssize_t batadv_store_##_name(struct kobject *kobj, \ 135 ssize_t batadv_show_##_name(struct kobject *kobj, \ 155 ssize_t batadv_store_##_name(struct kobject *kobj, \ 168 ssize_t batadv_show_##_name(struct kobject *kobj, \ 186 ssize_t batadv_store_vlan_##_name(struct kobject *kobj, \ 202 ssize_t batadv_show_vlan_##_name(struct kobject *kobj, \ [all …]
|
D | sysfs.h | 32 ssize_t (*show)(struct kobject *kobj, struct attribute *attr, 34 ssize_t (*store)(struct kobject *kobj, struct attribute *attr, 40 int batadv_sysfs_add_hardif(struct kobject **hardif_obj, 42 void batadv_sysfs_del_hardif(struct kobject **hardif_obj);
|
D | types.h | 96 struct kobject *hardif_obj; 703 struct kobject *kobj; 795 struct kobject *mesh_obj;
|
/linux-4.1.27/samples/kobject/ |
D | kobject-example.c | 30 static ssize_t foo_show(struct kobject *kobj, struct kobj_attribute *attr, in foo_show() 36 static ssize_t foo_store(struct kobject *kobj, struct kobj_attribute *attr, in foo_store() 56 static ssize_t b_show(struct kobject *kobj, struct kobj_attribute *attr, in b_show() 68 static ssize_t b_store(struct kobject *kobj, struct kobj_attribute *attr, in b_store() 111 static struct kobject *example_kobj;
|
D | kset-example.c | 32 struct kobject kobj; 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()
|
D | Makefile | 1 obj-$(CONFIG_SAMPLE_KOBJECT) += kobject-example.o kset-example.o
|
/linux-4.1.27/fs/btrfs/ |
D | sysfs.c | 35 static inline struct btrfs_fs_info *to_fs_info(struct kobject *kobj); 92 static ssize_t btrfs_feature_attr_show(struct kobject *kobj, in btrfs_feature_attr_show() 108 static ssize_t btrfs_feature_attr_store(struct kobject *kobj, in btrfs_feature_attr_store() 173 static umode_t btrfs_feature_visible(struct kobject *kobj, in btrfs_feature_visible() 235 static ssize_t global_rsv_size_show(struct kobject *kobj, in global_rsv_size_show() 244 static ssize_t global_rsv_reserved_show(struct kobject *kobj, in global_rsv_reserved_show() 256 static ssize_t raid_bytes_show(struct kobject *kobj, 261 static ssize_t raid_bytes_show(struct kobject *kobj, in raid_bytes_show() 287 static void release_raid_kobj(struct kobject *kobj) in release_raid_kobj() 299 static ssize_t btrfs_space_info_show_##field(struct kobject *kobj, \ [all …]
|
/linux-4.1.27/drivers/pci/hotplug/ |
D | rpadlpar_sysfs.c | 32 static ssize_t add_slot_store(struct kobject *kobj, struct kobj_attribute *attr, in add_slot_store() 56 static ssize_t add_slot_show(struct kobject *kobj, in add_slot_show() 62 static ssize_t remove_slot_store(struct kobject *kobj, in remove_slot_store() 87 static ssize_t remove_slot_show(struct kobject *kobj, in remove_slot_show() 109 static struct kobject *dlpar_kobj;
|
D | acpiphp_ibm.c | 100 static ssize_t ibm_read_apci_table(struct file *filp, struct kobject *kobj, 356 static ssize_t ibm_read_apci_table(struct file *filp, struct kobject *kobj, in ibm_read_apci_table() 422 struct kobject *sysdir = &pci_slots_kset->kobj; in ibm_acpiphp_init() 469 struct kobject *sysdir = &pci_slots_kset->kobj; in ibm_acpiphp_exit()
|
/linux-4.1.27/fs/nilfs2/ |
D | sysfs.h | 42 struct kobject sg_superblock_kobj; 46 struct kobject sg_segctor_kobj; 50 struct kobject sg_mounted_snapshots_kobj; 54 struct kobject sg_checkpoints_kobj; 58 struct kobject sg_segments_kobj; 65 ssize_t (*show)(struct kobject *, struct attribute *, \ 67 ssize_t (*store)(struct kobject *, struct attribute *, \
|
D | sysfs.c | 45 static ssize_t nilfs_##name##_attr_show(struct kobject *kobj, \ 56 static ssize_t nilfs_##name##_attr_store(struct kobject *kobj, \ 74 static void nilfs_##name##_attr_release(struct kobject *kobj) \ 92 struct kobject *parent; \ 93 struct kobject *kobj; \ 157 static ssize_t nilfs_snapshot_attr_show(struct kobject *kobj, in nilfs_snapshot_attr_show() 168 static ssize_t nilfs_snapshot_attr_store(struct kobject *kobj, in nilfs_snapshot_attr_store() 180 static void nilfs_snapshot_attr_release(struct kobject *kobj) in nilfs_snapshot_attr_release() 201 struct kobject *parent; in nilfs_sysfs_create_snapshot_group() 952 static ssize_t nilfs_dev_attr_show(struct kobject *kobj, in nilfs_dev_attr_show() [all …]
|
D | the_nilfs.h | 201 struct kobject ns_dev_kobj; 263 struct kobject snapshot_kobj;
|
/linux-4.1.27/drivers/edac/ |
D | edac_device_sysfs.c | 117 static ssize_t edac_dev_ctl_info_show(struct kobject *kobj, in edac_dev_ctl_info_show() 129 static ssize_t edac_dev_ctl_info_store(struct kobject *kobj, in edac_dev_ctl_info_store() 201 static void edac_device_ctrl_master_release(struct kobject *kobj) in edac_device_ctrl_master_release() 250 memset(&edac_dev->kobj, 0, sizeof(struct kobject)); in edac_device_register_sysfs_main_kobj() 333 static void edac_device_ctrl_instance_release(struct kobject *kobj) in edac_device_ctrl_instance_release() 354 static ssize_t edac_dev_instance_show(struct kobject *kobj, in edac_dev_instance_show() 366 static ssize_t edac_dev_instance_store(struct kobject *kobj, in edac_dev_instance_store() 422 static ssize_t block_ue_count_show(struct kobject *kobj, in block_ue_count_show() 430 static ssize_t block_ce_count_show(struct kobject *kobj, in block_ce_count_show() 439 static void edac_device_ctrl_block_release(struct kobject *kobj) in edac_device_ctrl_block_release() [all …]
|
D | edac_pci_sysfs.c | 29 static struct kobject *edac_pci_top_main_kobj; 74 static void edac_pci_instance_release(struct kobject *kobj) in edac_pci_instance_release() 97 static ssize_t edac_pci_instance_show(struct kobject *kobj, in edac_pci_instance_show() 109 static ssize_t edac_pci_instance_store(struct kobject *kobj, in edac_pci_instance_store() 158 struct kobject *main_kobj; in edac_pci_create_instance_kobj() 238 static ssize_t edac_pci_dev_show(struct kobject *kobj, struct attribute *attr, in edac_pci_dev_show() 249 static ssize_t edac_pci_dev_store(struct kobject *kobj, in edac_pci_dev_store() 314 static void edac_pci_release_main_kobj(struct kobject *kobj) in edac_pci_release_main_kobj() 370 edac_pci_top_main_kobj = kzalloc(sizeof(struct kobject), GFP_KERNEL); in edac_pci_main_kobj_setup() 442 struct kobject *edac_kobj = &pci->kobj; in edac_pci_create_sysfs()
|
D | edac_core.h | 170 ssize_t (*show)(struct kobject *, struct attribute *, char *); 171 ssize_t (*store)(struct kobject *, struct attribute *, 191 struct kobject kobj; 205 struct kobject kobj; 288 struct kobject kobj; 380 struct kobject kobj;
|
/linux-4.1.27/sound/hda/ |
D | hdac_sysfs.c | 13 struct kobject *root; 14 struct kobject *afg; 15 struct kobject **nodes; 87 static int get_codec_nid(struct kobject *kobj, struct hdac_device **codecp) in get_codec_nid() 100 static ssize_t widget_attr_show(struct kobject *kobj, struct attribute *attr, in widget_attr_show() 116 static ssize_t widget_attr_store(struct kobject *kobj, struct attribute *attr, in widget_attr_store() 137 static void widget_release(struct kobject *kobj) in widget_release() 302 static void free_widget_node(struct kobject *kobj, in free_widget_node() 314 struct kobject **p; in widget_tree_free() 330 static int add_widget_node(struct kobject *parent, hda_nid_t nid, in add_widget_node() [all …]
|
/linux-4.1.27/drivers/parisc/ |
D | pdc_stable.c | 106 struct kobject kobj; 448 pdcspath_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) in pdcspath_attr_show() 468 pdcspath_attr_store(struct kobject *kobj, struct attribute *attr, in pdcspath_attr_store() 528 static ssize_t pdcs_size_read(struct kobject *kobj, in pdcs_size_read() 548 static ssize_t pdcs_auto_read(struct kobject *kobj, in pdcs_auto_read() 573 static ssize_t pdcs_autoboot_read(struct kobject *kobj, in pdcs_autoboot_read() 583 static ssize_t pdcs_autosearch_read(struct kobject *kobj, in pdcs_autosearch_read() 595 static ssize_t pdcs_timer_read(struct kobject *kobj, in pdcs_timer_read() 620 static ssize_t pdcs_osid_read(struct kobject *kobj, in pdcs_osid_read() 640 static ssize_t pdcs_osdep1_read(struct kobject *kobj, in pdcs_osdep1_read() [all …]
|
/linux-4.1.27/fs/exofs/ |
D | sys.c | 33 static ssize_t odev_attr_show(struct kobject *kobj, struct attribute *attr, in odev_attr_show() 42 static ssize_t odev_attr_store(struct kobject *kobj, struct attribute *attr, in odev_attr_store() 120 struct kobject *k_name, *k_tmp; in exofs_sysfs_dbg_print() 136 struct kobject *k_name, *k_tmp; in exofs_sysfs_sb_del() 137 struct kobject *s_kobj = &sbi->s_kobj; in exofs_sysfs_sb_del() 155 struct kobject *s_kobj; in exofs_sysfs_sb_add() 174 struct kobject *d_kobj; in exofs_sysfs_odev_add()
|
D | exofs.h | 61 struct kobject ed_kobj; 79 struct kobject s_kobj; /* holds per-sbi kobject */
|
/linux-4.1.27/drivers/firmware/efi/ |
D | runtime-map.c | 23 struct kobject kobj; /* kobject for each entry */ 56 static inline struct efi_runtime_map_entry *to_map_entry(struct kobject *kobj) in to_map_entry() 61 static ssize_t map_attr_show(struct kobject *kobj, struct attribute *attr, in map_attr_show() 92 static void map_release(struct kobject *kobj) in map_release() 109 add_sysfs_runtime_map_entry(struct kobject *kobj, int nr) in add_sysfs_runtime_map_entry() 171 int __init efi_runtime_map_init(struct kobject *efi_kobj) in efi_runtime_map_init()
|
D | efi.c | 72 static struct kobject *efi_kobj; 78 static ssize_t systab_show(struct kobject *kobj, in systab_show() 112 static ssize_t name##_show(struct kobject *kobj, \ 122 static ssize_t fw_platform_size_show(struct kobject *kobj, in fw_platform_size_show() 143 static umode_t efi_attr_is_visible(struct kobject *kobj, in efi_attr_is_visible()
|
D | efivars.c | 350 static ssize_t efivar_attr_show(struct kobject *kobj, struct attribute *attr, in efivar_attr_show() 366 static ssize_t efivar_attr_store(struct kobject *kobj, struct attribute *attr, in efivar_attr_store() 387 static void efivar_release(struct kobject *kobj) in efivar_release() 414 static ssize_t efivar_create(struct file *filp, struct kobject *kobj, in efivar_create() 484 static ssize_t efivar_delete(struct file *filp, struct kobject *kobj, in efivar_delete() 714 struct kobject *parent_kobj = efivars_kobject(); in efivars_sysfs_init()
|
D | vars.c | 1108 struct kobject *efivars_kobject(void) in efivars_kobject() 1113 return __efivars->kobject; in efivars_kobject() 1137 struct kobject *kobject) in efivars_register() argument 1141 efivars->kobject = kobject; in efivars_register()
|
/linux-4.1.27/drivers/s390/char/ |
D | sclp_cpi_sys.c | 221 static ssize_t system_name_show(struct kobject *kobj, in system_name_show() 232 static ssize_t system_name_store(struct kobject *kobj, in system_name_store() 253 static ssize_t sysplex_name_show(struct kobject *kobj, in sysplex_name_show() 264 static ssize_t sysplex_name_store(struct kobject *kobj, in sysplex_name_store() 285 static ssize_t system_type_show(struct kobject *kobj, in system_type_show() 296 static ssize_t system_type_store(struct kobject *kobj, in system_type_store() 317 static ssize_t system_level_show(struct kobject *kobj, in system_level_show() 328 static ssize_t system_level_store(struct kobject *kobj, in system_level_store() 354 static ssize_t set_store(struct kobject *kobj, in set_store()
|
D | sclp_ocf.c | 88 static ssize_t cpc_name_show(struct kobject *kobj, in cpc_name_show() 102 static ssize_t hmc_network_show(struct kobject *kobj, in hmc_network_show()
|
/linux-4.1.27/drivers/w1/slaves/ |
D | w1_ds2408.c | 75 static ssize_t state_read(struct file *filp, struct kobject *kobj, in state_read() 87 static ssize_t output_read(struct file *filp, struct kobject *kobj, in output_read() 100 static ssize_t activity_read(struct file *filp, struct kobject *kobj, in activity_read() 113 static ssize_t cond_search_mask_read(struct file *filp, struct kobject *kobj, in cond_search_mask_read() 127 struct kobject *kobj, in cond_search_polarity_read() 137 static ssize_t status_control_read(struct file *filp, struct kobject *kobj, in status_control_read() 147 static ssize_t output_write(struct file *filp, struct kobject *kobj, in output_write() 218 static ssize_t activity_write(struct file *filp, struct kobject *kobj, in activity_write() 248 static ssize_t status_control_write(struct file *filp, struct kobject *kobj, in status_control_write()
|
D | w1_ds28e04.c | 121 static ssize_t eeprom_read(struct file *filp, struct kobject *kobj, in eeprom_read() 229 static ssize_t eeprom_write(struct file *filp, struct kobject *kobj, in eeprom_write() 285 static ssize_t pio_read(struct file *filp, struct kobject *kobj, in pio_read() 304 static ssize_t pio_write(struct file *filp, struct kobject *kobj, in pio_write()
|
D | w1_ds2413.c | 33 static ssize_t state_read(struct file *filp, struct kobject *kobj, in state_read() 70 static ssize_t output_write(struct file *filp, struct kobject *kobj, in output_write()
|
D | w1_ds2406.c | 32 struct file *filp, struct kobject *kobj, in w1_f12_read_state() 69 struct file *filp, struct kobject *kobj, in w1_f12_write_output()
|
D | w1_ds2431.c | 99 static ssize_t eeprom_read(struct file *filp, struct kobject *kobj, in eeprom_read() 205 static ssize_t eeprom_write(struct file *filp, struct kobject *kobj, in eeprom_write()
|
D | w1_ds2433.c | 96 static ssize_t eeprom_read(struct file *filp, struct kobject *kobj, in eeprom_read() 210 static ssize_t eeprom_write(struct file *filp, struct kobject *kobj, in eeprom_write()
|
/linux-4.1.27/arch/x86/platform/uv/ |
D | uv_sysfs.c | 26 struct kobject *sgi_uv_kobj; 28 static ssize_t partition_id_show(struct kobject *kobj, in partition_id_show() 34 static ssize_t coherence_id_show(struct kobject *kobj, in coherence_id_show()
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | cacheinfo.c | 31 struct kobject *kobj; /* bare (not embedded) kobject for cache 41 struct kobject kobj; 133 static struct cache_index_dir *kobj_to_cache_index_dir(struct kobject *k) in kobj_to_cache_index_dir() 482 struct kobject *kobj = NULL; in cacheinfo_create_cache_dir() 509 static void cache_index_release(struct kobject *kobj) in cache_index_release() 521 static ssize_t cache_index_show(struct kobject *k, struct attribute *attr, char *buf) in cache_index_show() 530 static struct cache *index_kobj_to_cache(struct kobject *k) in index_kobj_to_cache() 539 static ssize_t size_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in size_show() 556 static ssize_t line_size_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in line_size_show() 572 static ssize_t nr_sets_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in nr_sets_show() [all …]
|
/linux-4.1.27/arch/s390/kernel/ |
D | ipl.c | 186 static ssize_t sys_##_prefix##_##_name##_show(struct kobject *kobj, \ 200 static ssize_t sys_##_prefix##_##_name##_store(struct kobject *kobj, \ 217 static ssize_t sys_##_prefix##_##_name##_store(struct kobject *kobj, \ 264 static ssize_t ipl_type_show(struct kobject *kobj, struct kobj_attribute *attr, in ipl_type_show() 317 static ssize_t ipl_vm_parm_show(struct kobject *kobj, in ipl_vm_parm_show() 384 static ssize_t sys_ipl_device_show(struct kobject *kobj, in sys_ipl_device_show() 403 static ssize_t ipl_parameter_read(struct file *filp, struct kobject *kobj, in ipl_parameter_read() 414 static ssize_t ipl_scp_data_read(struct file *filp, struct kobject *kobj, in ipl_scp_data_read() 443 static ssize_t ipl_ccw_loadparm_show(struct kobject *kobj, in ipl_ccw_loadparm_show() 633 static ssize_t reipl_nss_vmparm_show(struct kobject *kobj, in reipl_nss_vmparm_show() [all …]
|
/linux-4.1.27/arch/powerpc/platforms/pseries/ |
D | power.c | 32 static ssize_t auto_poweron_show(struct kobject *kobj, in auto_poweron_show() 38 static ssize_t auto_poweron_store(struct kobject *kobj, in auto_poweron_store() 57 struct kobject *power_kobj;
|
/linux-4.1.27/drivers/cpuidle/ |
D | sysfs.c | 178 struct kobject kobj; 181 static inline struct cpuidle_device *to_cpuidle_device(struct kobject *kobj) in to_cpuidle_device() 189 static ssize_t cpuidle_show(struct kobject *kobj, struct attribute *attr, in cpuidle_show() 204 static ssize_t cpuidle_store(struct kobject *kobj, struct attribute *attr, in cpuidle_store() 224 static void cpuidle_sysfs_release(struct kobject *kobj) in cpuidle_sysfs_release() 330 struct kobject kobj; 338 static ssize_t cpuidle_state_show(struct kobject *kobj, struct attribute *attr, in cpuidle_state_show() 352 static ssize_t cpuidle_state_store(struct kobject *kobj, struct attribute *attr, in cpuidle_state_store() 371 static void cpuidle_state_sysfs_release(struct kobject *kobj) in cpuidle_state_sysfs_release() 454 struct kobject kobj; [all …]
|
/linux-4.1.27/drivers/hid/ |
D | hid-roccat-common.h | 43 ssize_t roccat_common2_sysfs_read(struct file *fp, struct kobject *kobj, 46 ssize_t roccat_common2_sysfs_write(struct file *fp, struct kobject *kobj, 52 struct kobject *kobj, struct bin_attribute *attr, char *buf, \ 61 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
|
D | hid-roccat-lua.c | 29 static ssize_t lua_sysfs_read(struct file *fp, struct kobject *kobj, in lua_sysfs_read() 51 static ssize_t lua_sysfs_write(struct file *fp, struct kobject *kobj, in lua_sysfs_write() 72 struct kobject *kobj, struct bin_attribute *attr, \ 81 struct kobject *kobj, struct bin_attribute *attr, \
|
D | hid-roccat-pyra.c | 89 static ssize_t pyra_sysfs_read(struct file *fp, struct kobject *kobj, in pyra_sysfs_read() 115 static ssize_t pyra_sysfs_write(struct file *fp, struct kobject *kobj, in pyra_sysfs_write() 140 struct kobject *kobj, struct bin_attribute *attr, char *buf, \ 149 struct kobject *kobj, struct bin_attribute *attr, char *buf, \ 191 struct kobject *kobj, struct bin_attribute *attr, char *buf, in pyra_sysfs_read_profilex_settings() 210 struct kobject *kobj, struct bin_attribute *attr, char *buf, in pyra_sysfs_read_profilex_buttons() 248 struct kobject *kobj, struct bin_attribute *attr, char *buf, in pyra_sysfs_write_settings()
|
D | hid-roccat-koneplus.c | 86 static ssize_t koneplus_sysfs_read(struct file *fp, struct kobject *kobj, in koneplus_sysfs_read() 112 static ssize_t koneplus_sysfs_write(struct file *fp, struct kobject *kobj, in koneplus_sysfs_write() 138 struct kobject *kobj, struct bin_attribute *attr, char *buf, \ 147 struct kobject *kobj, struct bin_attribute *attr, char *buf, \ 193 struct kobject *kobj, struct bin_attribute *attr, char *buf, in koneplus_sysfs_read_profilex_settings() 212 struct kobject *kobj, struct bin_attribute *attr, char *buf, in koneplus_sysfs_read_profilex_buttons()
|
D | hid-roccat-kovaplus.c | 127 static ssize_t kovaplus_sysfs_read(struct file *fp, struct kobject *kobj, in kovaplus_sysfs_read() 153 static ssize_t kovaplus_sysfs_write(struct file *fp, struct kobject *kobj, in kovaplus_sysfs_write() 179 struct kobject *kobj, struct bin_attribute *attr, char *buf, \ 188 struct kobject *kobj, struct bin_attribute *attr, char *buf, \ 221 struct kobject *kobj, struct bin_attribute *attr, char *buf, in kovaplus_sysfs_read_profilex_settings() 240 struct kobject *kobj, struct bin_attribute *attr, char *buf, in kovaplus_sysfs_read_profilex_buttons()
|
D | hid-roccat-common.c | 133 ssize_t roccat_common2_sysfs_read(struct file *fp, struct kobject *kobj, in roccat_common2_sysfs_read() 157 ssize_t roccat_common2_sysfs_write(struct file *fp, struct kobject *kobj, in roccat_common2_sysfs_write()
|
D | hid-roccat-isku.c | 120 static ssize_t isku_sysfs_read(struct file *fp, struct kobject *kobj, in isku_sysfs_read() 143 static ssize_t isku_sysfs_write(struct file *fp, struct kobject *kobj, in isku_sysfs_write() 165 static ssize_t isku_sysfs_write_ ## thingy(struct file *fp, struct kobject *kobj, \ 174 static ssize_t isku_sysfs_read_ ## thingy(struct file *fp, struct kobject *kobj, \
|
D | hid-roccat-arvo.c | 191 struct kobject *kobj, void const *buf, in arvo_sysfs_write() 211 struct kobject *kobj, void *buf, loff_t off, in arvo_sysfs_read() 234 struct kobject *kobj, struct bin_attribute *attr, char *buf, in arvo_sysfs_write_button() 244 struct kobject *kobj, struct bin_attribute *attr, char *buf, in arvo_sysfs_read_info()
|
D | hid-roccat-kone.c | 269 static ssize_t kone_sysfs_read_settings(struct file *fp, struct kobject *kobj, in kone_sysfs_read_settings() 294 static ssize_t kone_sysfs_write_settings(struct file *fp, struct kobject *kobj, in kone_sysfs_write_settings() 333 struct kobject *kobj, struct bin_attribute *attr, in kone_sysfs_read_profilex() 354 struct kobject *kobj, struct bin_attribute *attr, in kone_sysfs_write_profilex()
|
/linux-4.1.27/drivers/base/ |
D | core.c | 49 static struct kobject *dev_kobj; 50 struct kobject *sysfs_dev_char_kobj; 51 struct kobject *sysfs_dev_block_kobj; 113 static ssize_t dev_attr_show(struct kobject *kobj, struct attribute *attr, in dev_attr_show() 129 static ssize_t dev_attr_store(struct kobject *kobj, struct attribute *attr, in dev_attr_store() 226 static void device_release(struct kobject *kobj) in device_release() 255 static const void *device_namespace(struct kobject *kobj) in device_namespace() 273 static int dev_uevent_filter(struct kset *kset, struct kobject *kobj) in dev_uevent_filter() 287 static const char *dev_uevent_name(struct kset *kset, struct kobject *kobj) in dev_uevent_name() 298 static int dev_uevent(struct kset *kset, struct kobject *kobj, in dev_uevent() [all …]
|
D | base.h | 47 struct kobject kobj; 102 struct kobject *virtual_device_parent(struct device *dev); 130 extern char *make_class_name(const char *name, struct kobject *kobj);
|
D | map.c | 95 struct kobject *kobj_lookup(struct kobj_map *domain, dev_t dev, int *index) in kobj_lookup() 97 struct kobject *kobj; in kobj_lookup() 104 struct kobject *(*probe)(dev_t, int *, void *); in kobj_lookup()
|
D | class.c | 26 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 void class_release(struct kobject *kobj) in class_release() 66 static const struct kobj_ns_type_operations *class_child_ns_type(struct kobject *kobj) in class_child_ns_type() 500 struct kobject *kobj;
|
D | bus.c | 54 static ssize_t drv_attr_show(struct kobject *kobj, struct attribute *attr, in drv_attr_show() 66 static ssize_t drv_attr_store(struct kobject *kobj, struct attribute *attr, in drv_attr_store() 83 static void driver_release(struct kobject *kobj) in driver_release() 99 static ssize_t bus_attr_show(struct kobject *kobj, struct attribute *attr, in bus_attr_show() 111 static ssize_t bus_attr_store(struct kobject *kobj, struct attribute *attr, in bus_attr_store() 149 static void bus_release(struct kobject *kobj) in bus_release() 164 static int bus_uevent_filter(struct kset *kset, struct kobject *kobj) in bus_uevent_filter() 821 struct kobject *k = kset_find_obj(bus_kset, name); 1174 struct kobject *parent_of_root) in subsys_register() 1253 struct kobject *virtual_dir; in subsys_virtual_register()
|
D | hypervisor.c | 16 struct kobject *hypervisor_kobj;
|
D | firmware.c | 18 struct kobject *firmware_kobj;
|
D | devcoredump.c | 88 static ssize_t devcd_data_read(struct file *filp, struct kobject *kobj, in devcd_data_read() 98 static ssize_t devcd_data_write(struct file *filp, struct kobject *kobj, in devcd_data_write()
|
D | module.c | 45 struct kobject *mkobj; in module_add_driver()
|
/linux-4.1.27/include/drm/ttm/ |
D | ttm_module.h | 35 struct kobject; 38 extern struct kobject *ttm_get_kobj(void);
|
D | ttm_memory.h | 78 struct kobject kobj;
|
/linux-4.1.27/drivers/md/ |
D | dm.h | 164 struct kobject kobj; 168 static inline struct completion *dm_get_completion_from_kobject(struct kobject *kobj) in dm_get_completion_from_kobject() 175 struct kobject *dm_kobject(struct mapped_device *md); 176 struct mapped_device *dm_get_from_kobject(struct kobject *kobj); 181 void dm_kobject_release(struct kobject *kobj);
|
D | dm-uevent.h | 33 extern void dm_send_uevents(struct list_head *events, struct kobject *kobj); 48 struct kobject *kobj) in dm_send_uevents()
|
D | dm-sysfs.c | 21 static ssize_t dm_attr_show(struct kobject *kobj, struct attribute *attr, in dm_attr_show() 46 static ssize_t dm_attr_store(struct kobject *kobj, struct attribute *attr, in dm_attr_store() 141 struct kobject *kobj = dm_kobject(md); in dm_sysfs_exit()
|
D | dm-builtin.c | 43 void dm_kobject_release(struct kobject *kobj) in dm_kobject_release()
|
/linux-4.1.27/fs/ |
D | char_dev.c | 322 static struct kobject *cdev_get(struct cdev *p) in cdev_get() 325 struct kobject *kobj; in cdev_get() 357 struct kobject *kobj; in chrdev_open() 430 static struct kobject *exact_match(dev_t dev, int *part, void *data) in exact_match() 488 static void cdev_default_release(struct kobject *kobj) in cdev_default_release() 491 struct kobject *parent = kobj->parent; in cdev_default_release() 497 static void cdev_dynamic_release(struct kobject *kobj) in cdev_dynamic_release() 500 struct kobject *parent = kobj->parent; in cdev_dynamic_release() 546 static struct kobject *base_probe(dev_t dev, int *part, void *data) in base_probe()
|
/linux-4.1.27/drivers/staging/speakup/ |
D | kobjects.c | 28 static ssize_t chars_chartab_show(struct kobject *kobj, in chars_chartab_show() 108 static ssize_t chars_chartab_store(struct kobject *kobj, in chars_chartab_store() 224 static ssize_t keymap_show(struct kobject *kobj, struct kobj_attribute *attr, in keymap_show() 259 static ssize_t keymap_store(struct kobject *kobj, struct kobj_attribute *attr, in keymap_store() 326 static ssize_t silent_store(struct kobject *kobj, struct kobj_attribute *attr, in silent_store() 365 static ssize_t synth_show(struct kobject *kobj, struct kobj_attribute *attr, in synth_show() 380 static ssize_t synth_store(struct kobject *kobj, struct kobj_attribute *attr, in synth_store() 406 static ssize_t synth_direct_store(struct kobject *kobj, in synth_direct_store() 433 static ssize_t version_show(struct kobject *kobj, struct kobj_attribute *attr, in version_show() 449 static ssize_t punc_show(struct kobject *kobj, struct kobj_attribute *attr, in punc_show() [all …]
|
D | spk_priv.h | 59 ssize_t spk_var_show(struct kobject *kobj, struct kobj_attribute *attr, 61 ssize_t spk_var_store(struct kobject *kobj, struct kobj_attribute *attr,
|
D | speakup.h | 90 extern struct kobject *speakup_kobj;
|
/linux-4.1.27/Documentation/filesystems/ |
D | sysfs.txt | 18 sysfs is tied inherently to the kobject infrastructure. Please read 19 Documentation/kobject.txt for more information concerning the kobject 35 For every kobject that is registered with the system, a directory is 37 of the kobject's parent, expressing internal object hierarchies to 42 Sysfs internally stores a pointer to the kobject that implements a 44 the past this kobject pointer has been used by sysfs to do reference 45 counting directly on the kobject whenever the file is opened or closed. 46 With the current sysfs implementation the kobject reference count is 77 int sysfs_create_file(struct kobject * kobj, const struct attribute * attr); 78 void sysfs_remove_file(struct kobject * kobj, const struct attribute * attr); [all …]
|
/linux-4.1.27/drivers/md/bcache/ |
D | bcache.h | 262 struct kobject kobj; 401 struct kobject kobj; 492 struct kobject kobj; 493 struct kobject internal; 914 void bch_cached_dev_release(struct kobject *); 915 void bch_flash_dev_release(struct kobject *); 916 void bch_cache_set_release(struct kobject *); 917 void bch_cache_release(struct kobject *); 942 int bch_debug_init(struct kobject *);
|
D | stats.h | 15 struct kobject kobj; 49 struct kobject *parent);
|
D | sysfs.h | 15 static ssize_t fn ## _show(struct kobject *kobj, struct attribute *attr,\ 19 static ssize_t fn ## _store(struct kobject *kobj, struct attribute *attr,\
|
D | stats.c | 78 static void bch_stats_release(struct kobject *k) in bch_stats_release() 96 struct kobject *parent) in bch_cache_accounting_add_kobjs()
|
/linux-4.1.27/drivers/firmware/ |
D | dmi-sysfs.c | 34 struct kobject kobj; 38 struct kobject *child; 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() 569 static struct kobject *dmi_kobj;
|
D | memmap.c | 44 struct kobject kobj; /* kobject for each entry */ 50 static ssize_t memmap_attr_show(struct kobject *kobj, 101 to_memmap_entry(struct kobject *kobj) in to_memmap_entry() 106 static void __meminit release_firmware_map_entry(struct kobject *kobj) in release_firmware_map_entry() 397 static ssize_t memmap_attr_show(struct kobject *kobj, in memmap_attr_show()
|
D | dell_rbu.c | 525 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()
|
/linux-4.1.27/arch/powerpc/platforms/powernv/ |
D | opal-flash.c | 154 static ssize_t validate_show(struct kobject *kobj, in validate_show() 194 static ssize_t validate_store(struct kobject *kobj, in validate_store() 239 static ssize_t manage_show(struct kobject *kobj, in manage_show() 256 static ssize_t manage_store(struct kobject *kobj, in manage_store() 350 static ssize_t update_show(struct kobject *kobj, in update_show() 362 static ssize_t update_store(struct kobject *kobj, in update_store() 464 static ssize_t image_data_write(struct file *filp, struct kobject *kobj, in image_data_write()
|
D | opal-elog.c | 24 struct kobject kobj; 93 static ssize_t elog_attr_show(struct kobject *kobj, in elog_attr_show() 109 static ssize_t elog_attr_store(struct kobject *kobj, in elog_attr_store() 130 static void elog_release(struct kobject *kobj) in elog_release() 155 static ssize_t raw_attr_read(struct file *filep, struct kobject *kobj, in raw_attr_read()
|
D | opal-dump.c | 24 struct kobject kobj; 157 static ssize_t dump_attr_show(struct kobject *kobj, in dump_attr_show() 173 static ssize_t dump_attr_store(struct kobject *kobj, in dump_attr_store() 194 static void dump_release(struct kobject *kobj) in dump_release() 282 static ssize_t dump_attr_read(struct file *filep, struct kobject *kobj, in dump_attr_read()
|
D | opal-sysparam.c | 32 static struct kobject *sysparam_kobj; 110 static ssize_t sys_param_show(struct kobject *kobj, in sys_param_show() 131 static ssize_t sys_param_store(struct kobject *kobj, in sys_param_store()
|
D | opal-msglog.c | 34 static ssize_t opal_msglog_read(struct file *file, struct kobject *kobj, in opal_msglog_read()
|
/linux-4.1.27/arch/sh/kernel/cpu/sh4/ |
D | sq.c | 259 static struct kobject *sq_kobject[NR_CPUS]; 269 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() 346 sq_kobject[cpu] = kzalloc(sizeof(struct kobject), GFP_KERNEL); in sq_dev_add() 361 struct kobject *kobj = sq_kobject[cpu]; in sq_dev_remove()
|
/linux-4.1.27/drivers/gpu/drm/ttm/ |
D | ttm_module.c | 58 struct kobject *ttm_get_kobj(void) in ttm_get_kobj() 60 struct kobject *kobj = &ttm_drm_class_device.kobj; in ttm_get_kobj()
|
D | ttm_memory.c | 43 struct kobject kobj; 74 static void ttm_mem_zone_kobj_release(struct kobject *kobj) in ttm_mem_zone_kobj_release() 84 static ssize_t ttm_mem_zone_show(struct kobject *kobj, in ttm_mem_zone_show() 111 static ssize_t ttm_mem_zone_store(struct kobject *kobj, in ttm_mem_zone_store() 169 static void ttm_mem_global_kobj_release(struct kobject *kobj) in ttm_mem_global_kobj_release()
|
D | ttm_page_alloc.c | 111 struct kobject kobj; 146 static void ttm_pool_kobj_release(struct kobject *kobj) in ttm_pool_kobj_release() 153 static ssize_t ttm_pool_store(struct kobject *kobj, in ttm_pool_store() 187 static ssize_t ttm_pool_show(struct kobject *kobj, in ttm_pool_show()
|
/linux-4.1.27/drivers/pci/ |
D | pci-sysfs.c | 626 static ssize_t pci_read_config(struct file *filp, struct kobject *kobj, in pci_read_config() 703 static ssize_t pci_write_config(struct file *filp, struct kobject *kobj, in pci_write_config() 765 static ssize_t read_vpd_attr(struct file *filp, struct kobject *kobj, in read_vpd_attr() 780 static ssize_t write_vpd_attr(struct file *filp, struct kobject *kobj, in write_vpd_attr() 808 static ssize_t pci_read_legacy_io(struct file *filp, struct kobject *kobj, in pci_read_legacy_io() 834 static ssize_t pci_write_legacy_io(struct file *filp, struct kobject *kobj, in pci_write_legacy_io() 859 static int pci_mmap_legacy_mem(struct file *filp, struct kobject *kobj, in pci_mmap_legacy_mem() 880 static int pci_mmap_legacy_io(struct file *filp, struct kobject *kobj, in pci_mmap_legacy_io() 997 static int pci_mmap_resource(struct kobject *kobj, struct bin_attribute *attr, in pci_mmap_resource() 1036 static int pci_mmap_resource_uc(struct file *filp, struct kobject *kobj, in pci_mmap_resource_uc() [all …]
|
D | slot.c | 18 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() 157 struct kobject *dup_slot; in make_slot_name() 353 struct kobject *kobj = NULL; in pci_hp_create_module_link()
|
D | pci-label.c | 74 static umode_t smbios_instance_string_exist(struct kobject *kobj, in smbios_instance_string_exist() 219 static umode_t acpi_index_string_exist(struct kobject *kobj, in acpi_index_string_exist()
|
/linux-4.1.27/arch/ia64/kernel/ |
D | topology.c | 129 struct kobject kobj; 135 struct kobject kobj; 276 static ssize_t ia64_cache_show(struct kobject * kobj, struct attribute * attr, char * buf) in ia64_cache_show() 304 memset(&all_cpu_cache_info[cpu].kobj, 0, sizeof(struct kobject)); in cpu_cache_sysfs_exit() 346 memset(&all_cpu_cache_info[cpu].kobj, 0, sizeof(struct kobject)); in cpu_cache_sysfs_init() 414 sizeof(struct kobject)); in cache_remove_dev()
|
/linux-4.1.27/drivers/acpi/ |
D | sysfs.c | 250 static struct kobject *tables_kobj; 251 static struct kobject *dynamic_tables_kobj; 252 static struct kobject *hotplug_kobj; 261 static ssize_t acpi_table_show(struct file *filp, struct kobject *kobj, in acpi_table_show() 515 static ssize_t counter_show(struct kobject *kobj, in counter_show() 559 static ssize_t counter_set(struct kobject *kobj, in counter_set() 726 static ssize_t hotplug_enabled_show(struct kobject *kobj, in hotplug_enabled_show() 734 static ssize_t hotplug_enabled_store(struct kobject *kobj, in hotplug_enabled_store() 782 static ssize_t force_remove_show(struct kobject *kobj, in force_remove_show() 788 static ssize_t force_remove_store(struct kobject *kobj, in force_remove_store()
|
D | bgrt.c | 17 static struct kobject *bgrt_kobj; 54 static ssize_t image_read(struct file *file, struct kobject *kobj, in image_read()
|
/linux-4.1.27/mm/ |
D | huge_memory.c | 243 static ssize_t double_flag_show(struct kobject *kobj, in double_flag_show() 256 static ssize_t double_flag_store(struct kobject *kobj, in double_flag_store() 280 static ssize_t enabled_show(struct kobject *kobj, in enabled_show() 287 static ssize_t enabled_store(struct kobject *kobj, in enabled_store() 313 static ssize_t single_flag_show(struct kobject *kobj, in single_flag_show() 321 static ssize_t single_flag_store(struct kobject *kobj, in single_flag_store() 348 static ssize_t defrag_show(struct kobject *kobj, in defrag_show() 355 static ssize_t defrag_store(struct kobject *kobj, in defrag_store() 366 static ssize_t use_zero_page_show(struct kobject *kobj, in use_zero_page_show() 372 static ssize_t use_zero_page_store(struct kobject *kobj, in use_zero_page_store() [all …]
|
D | ksm.c | 2084 static ssize_t sleep_millisecs_show(struct kobject *kobj, in sleep_millisecs_show() 2090 static ssize_t sleep_millisecs_store(struct kobject *kobj, in sleep_millisecs_store() 2107 static ssize_t pages_to_scan_show(struct kobject *kobj, in pages_to_scan_show() 2113 static ssize_t pages_to_scan_store(struct kobject *kobj, in pages_to_scan_store() 2130 static ssize_t run_show(struct kobject *kobj, struct kobj_attribute *attr, in run_show() 2136 static ssize_t run_store(struct kobject *kobj, struct kobj_attribute *attr, in run_store() 2179 static ssize_t merge_across_nodes_show(struct kobject *kobj, in merge_across_nodes_show() 2185 static ssize_t merge_across_nodes_store(struct kobject *kobj, in merge_across_nodes_store() 2236 static ssize_t pages_shared_show(struct kobject *kobj, in pages_shared_show() 2243 static ssize_t pages_sharing_show(struct kobject *kobj, in pages_sharing_show() [all …]
|
D | hugetlb.c | 1812 static struct kobject *hugepages_kobj; 1813 static struct kobject *hstate_kobjs[HUGE_MAX_HSTATE]; 1815 static struct hstate *kobj_to_node_hstate(struct kobject *kobj, int *nidp); 1817 static struct hstate *kobj_to_hstate(struct kobject *kobj, int *nidp) in kobj_to_hstate() 1831 static ssize_t nr_hugepages_show_common(struct kobject *kobj, in nr_hugepages_show_common() 1890 struct kobject *kobj, const char *buf, in nr_hugepages_store_common() 1906 static ssize_t nr_hugepages_show(struct kobject *kobj, in nr_hugepages_show() 1912 static ssize_t nr_hugepages_store(struct kobject *kobj, in nr_hugepages_store() 1925 static ssize_t nr_hugepages_mempolicy_show(struct kobject *kobj, in nr_hugepages_mempolicy_show() 1931 static ssize_t nr_hugepages_mempolicy_store(struct kobject *kobj, in nr_hugepages_mempolicy_store() [all …]
|
/linux-4.1.27/drivers/infiniband/hw/mlx4/ |
D | mlx4_ib.h | 474 struct kobject *device_parent[MLX4_MFUNC_MAX]; 479 struct kobject *kobj; 498 struct kobject *cur_port; 499 struct kobject *admin_alias_parent; 500 struct kobject *gids_parent; 501 struct kobject *pkeys_parent; 502 struct kobject *mcgs_parent; 527 struct kobject *iov_parent; 528 struct kobject *ports_parent; 529 struct kobject *dev_ports_parent[MLX4_MFUNC_MAX];
|
D | sysfs.c | 163 char *_name, struct kobject *_kobj, in create_sysfs_entry() 368 struct kobject kobj; 379 static void mlx4_port_release(struct kobject *kobj) in mlx4_port_release() 401 static ssize_t port_attr_show(struct kobject *kobj, in port_attr_show() 413 static ssize_t port_attr_store(struct kobject *kobj, in port_attr_store() 712 struct kobject *p, *t; in register_one_pkey_tree() 787 struct kobject *p, *t; in unregister_pkey_tree()
|
/linux-4.1.27/net/netfilter/ |
D | xt_IDLETIMER.c | 46 ssize_t (*show)(struct kobject *kobj, 55 struct kobject *kobj; 64 static struct kobject *idletimer_tg_kobj; 81 static ssize_t idletimer_tg_show(struct kobject *kobj, struct attribute *attr, in idletimer_tg_show()
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
D | qib_sysfs.c | 211 static ssize_t read_cc_table_bin(struct file *filp, struct kobject *kobj, in read_cc_table_bin() 241 static void qib_port_release(struct kobject *kobj) in qib_port_release() 261 static ssize_t read_cc_setting_bin(struct file *filp, struct kobject *kobj, in read_cc_setting_bin() 296 static ssize_t qib_portattr_show(struct kobject *kobj, in qib_portattr_show() 307 static ssize_t qib_portattr_store(struct kobject *kobj, in qib_portattr_store() 380 static ssize_t sl2vl_attr_show(struct kobject *kobj, struct attribute *attr, in sl2vl_attr_show() 452 static ssize_t diagc_attr_show(struct kobject *kobj, struct attribute *attr, in diagc_attr_show() 464 static ssize_t diagc_attr_store(struct kobject *kobj, struct attribute *attr, in diagc_attr_store() 679 struct kobject *kobj) in qib_create_port_files()
|
D | qib.h | 541 struct kobject pport_kobj; 542 struct kobject pport_cc_kobj; 543 struct kobject sl2vl_kobj; 544 struct kobject diagc_kobj; 1423 struct kobject *kobj);
|
/linux-4.1.27/drivers/of/ |
D | of_private.h | 39 static inline struct device_node *kobj_to_device_node(struct kobject *kobj) in kobj_to_device_node() 47 extern void of_node_release(struct kobject *kobj);
|
/linux-4.1.27/arch/x86/include/asm/ |
D | amd_nb.h | 37 struct kobject kobj; 42 struct kobject *kobj;
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_sysfs.c | 271 static ssize_t qlcnic_sysfs_read_crb(struct file *filp, struct kobject *kobj, in qlcnic_sysfs_read_crb() 288 static ssize_t qlcnic_sysfs_write_crb(struct file *filp, struct kobject *kobj, in qlcnic_sysfs_write_crb() 317 static ssize_t qlcnic_sysfs_read_mem(struct file *filp, struct kobject *kobj, in qlcnic_sysfs_read_mem() 339 static ssize_t qlcnic_sysfs_write_mem(struct file *filp, struct kobject *kobj, in qlcnic_sysfs_write_mem() 403 struct kobject *kobj, in qlcnic_sysfs_write_pm_config() 453 struct kobject *kobj, in qlcnic_sysfs_read_pm_config() 546 struct kobject *kobj, in qlcnic_sysfs_write_esw_config() 630 struct kobject *kobj, in qlcnic_sysfs_read_esw_config() 682 struct kobject *kobj, in qlcnic_sysfs_write_npar_config() 729 struct kobject *kobj, in qlcnic_sysfs_read_npar_config() [all …]
|
/linux-4.1.27/fs/ocfs2/ |
D | stackglue.c | 482 static ssize_t ocfs2_max_locking_protocol_show(struct kobject *kobj, in ocfs2_max_locking_protocol_show() 502 static ssize_t ocfs2_loaded_cluster_plugins_show(struct kobject *kobj, in ocfs2_loaded_cluster_plugins_show() 534 static ssize_t ocfs2_active_cluster_plugin_show(struct kobject *kobj, in ocfs2_active_cluster_plugin_show() 556 static ssize_t ocfs2_cluster_stack_show(struct kobject *kobj, in ocfs2_cluster_stack_show() 568 static ssize_t ocfs2_cluster_stack_store(struct kobject *kobj, in ocfs2_cluster_stack_store() 608 static ssize_t ocfs2_dlm_recover_show(struct kobject *kobj, in ocfs2_dlm_recover_show()
|
/linux-4.1.27/drivers/cpufreq/ |
D | cpufreq_governor.h | 77 (struct kobject *kobj, struct attribute *attr, char *buf) \ 93 (struct kobject *kobj, struct attribute *attr, const char *buf, size_t count) \ 254 (struct kobject *kobj, struct attribute *attr, char *buf) \
|
D | intel_pstate.c | 341 (struct kobject *kobj, struct attribute *attr, char *buf) \ 346 static ssize_t show_turbo_pct(struct kobject *kobj, in show_turbo_pct() 362 static ssize_t show_num_pstates(struct kobject *kobj, in show_num_pstates() 373 static ssize_t show_no_turbo(struct kobject *kobj, in show_no_turbo() 387 static ssize_t store_no_turbo(struct kobject *a, struct attribute *b, in store_no_turbo() 411 static ssize_t store_max_perf_pct(struct kobject *a, struct attribute *b, in store_max_perf_pct() 430 static ssize_t store_min_perf_pct(struct kobject *a, struct attribute *b, in store_min_perf_pct() 473 struct kobject *intel_pstate_kobject; in intel_pstate_sysfs_expose_params()
|
D | cpufreq.c | 115 struct kobject *get_governor_parent_kobj(struct cpufreq_policy *policy) in get_governor_parent_kobj() 409 static ssize_t show_boost(struct kobject *kobj, in show_boost() 415 static ssize_t store_boost(struct kobject *kobj, struct attribute *attr, in store_boost() 762 static ssize_t show(struct kobject *kobj, struct attribute *attr, char *buf) in show() 784 static ssize_t store(struct kobject *kobj, struct attribute *attr, in store() 815 static void cpufreq_sysfs_release(struct kobject *kobj) in cpufreq_sysfs_release() 833 struct kobject *cpufreq_global_kobject; 1050 struct kobject *kobj; in cpufreq_policy_put_kobj()
|
/linux-4.1.27/block/ |
D | blk-mq-sysfs.c | 16 static void blk_mq_sysfs_release(struct kobject *kobj) in blk_mq_sysfs_release() 32 static ssize_t blk_mq_sysfs_show(struct kobject *kobj, struct attribute *attr, in blk_mq_sysfs_show() 55 static ssize_t blk_mq_sysfs_store(struct kobject *kobj, struct attribute *attr, in blk_mq_sysfs_store() 78 static ssize_t blk_mq_hw_sysfs_show(struct kobject *kobj, in blk_mq_hw_sysfs_show() 101 static ssize_t blk_mq_hw_sysfs_store(struct kobject *kobj, in blk_mq_hw_sysfs_store()
|
D | blk-integrity.c | 245 static ssize_t integrity_attr_show(struct kobject *kobj, struct attribute *attr, in integrity_attr_show() 256 static ssize_t integrity_attr_store(struct kobject *kobj, in integrity_attr_store() 382 static void blk_integrity_release(struct kobject *kobj) in blk_integrity_release()
|
D | blk-mq.h | 25 struct kobject kobj;
|
D | genhd.c | 26 struct kobject *block_depr; 476 struct kobject *(*probe)(dev_t, int *, void *), in blk_register_region() 491 static struct kobject *exact_match(dev_t devt, int *partno, void *data) in exact_match() 685 struct kobject *kobj; in get_gendisk() 891 static struct kobject *base_probe(dev_t devt, int *partno, void *data) in base_probe() 1299 struct kobject *get_disk(struct gendisk *disk) in get_disk() 1302 struct kobject *kobj; in get_disk()
|
D | blk-sysfs.c | 436 queue_attr_show(struct kobject *kobj, struct attribute *attr, char *page) in queue_attr_show() 456 queue_attr_store(struct kobject *kobj, struct attribute *attr, in queue_attr_store() 499 static void blk_release_queue(struct kobject *kobj) in blk_release_queue()
|
/linux-4.1.27/drivers/misc/cxl/ |
D | sysfs.c | 394 struct kobject kobj; 405 static ssize_t vendor_show(struct kobject *kobj, in vendor_show() 413 static ssize_t device_show(struct kobject *kobj, in device_show() 421 static ssize_t class_show(struct kobject *kobj, in class_show() 429 static ssize_t afu_read_config(struct file *filp, struct kobject *kobj, in afu_read_config() 466 static void release_afu_config_record(struct kobject *kobj) in release_afu_config_record()
|
/linux-4.1.27/arch/powerpc/sysdev/ |
D | mv64x60_pci.c | 28 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()
|
D | ppc4xx_cpm.c | 138 static ssize_t cpm_idle_show(struct kobject *kobj, in cpm_idle_show() 156 static ssize_t cpm_idle_store(struct kobject *kobj, in cpm_idle_store()
|
/linux-4.1.27/fs/ocfs2/cluster/ |
D | masklog.c | 107 static ssize_t mlog_show(struct kobject *obj, struct attribute *attr, in mlog_show() 115 static ssize_t mlog_store(struct kobject *obj, struct attribute *attr, in mlog_store()
|
D | sys.c | 38 static ssize_t version_show(struct kobject *kobj, struct kobj_attribute *attr, in version_show()
|
/linux-4.1.27/samples/ |
D | Makefile | 3 obj-$(CONFIG_SAMPLES) += kobject/ kprobes/ trace_events/ livepatch/ \
|
D | Kconfig | 15 tristate "Build kobject examples -- loadable modules only" 19 different kobject sample modules showing how to use kobjects,
|
/linux-4.1.27/drivers/scsi/ |
D | iscsi_boot_sysfs.c | 40 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-4.1.27/arch/x86/platform/olpc/ |
D | olpc-xo15-sci.c | 56 lid_wake_on_close_show(struct kobject *s, struct kobj_attribute *attr, char *buf) in lid_wake_on_close_show() 61 static ssize_t lid_wake_on_close_store(struct kobject *s, in lid_wake_on_close_store()
|
/linux-4.1.27/drivers/infiniband/core/ |
D | core_priv.h | 43 u8, struct kobject *));
|
D | sysfs.c | 44 struct kobject kobj; 70 static ssize_t port_attr_show(struct kobject *kobj, in port_attr_show() 426 static void ib_port_release(struct kobject *kobj) in ib_port_release() 522 u8, struct kobject *)) in add_port() argument 821 struct kobject *p, *t; in free_port_list_attributes() 837 u8, struct kobject *)) in ib_device_register_sysfs() argument 900 struct kobject *kobj_dev = kobject_get(&device->dev.kobj); in ib_device_unregister_sysfs()
|
/linux-4.1.27/drivers/i2c/ |
D | i2c-slave-eeprom.c | 77 static ssize_t i2c_slave_eeprom_bin_read(struct file *filp, struct kobject *kobj, in i2c_slave_eeprom_bin_read() 95 static ssize_t i2c_slave_eeprom_bin_write(struct file *filp, struct kobject *kobj, in i2c_slave_eeprom_bin_write()
|
/linux-4.1.27/drivers/platform/mips/ |
D | cpu_hwmon.c | 106 static int create_sysfs_cputemp_files(struct kobject *kobj) in create_sysfs_cputemp_files() 130 static void remove_sysfs_cputemp_files(struct kobject *kobj) in remove_sysfs_cputemp_files()
|
/linux-4.1.27/drivers/scsi/esas2r/ |
D | esas2r_main.c | 60 static struct esas2r_adapter *esas2r_adapter_from_kobj(struct kobject *kobj) in esas2r_adapter_from_kobj() 68 static ssize_t read_fw(struct file *file, struct kobject *kobj, in read_fw() 77 static ssize_t write_fw(struct file *file, struct kobject *kobj, in write_fw() 86 static ssize_t read_fs(struct file *file, struct kobject *kobj, in read_fs() 95 static ssize_t write_fs(struct file *file, struct kobject *kobj, in write_fs() 111 static ssize_t read_vda(struct file *file, struct kobject *kobj, in read_vda() 120 static ssize_t write_vda(struct file *file, struct kobject *kobj, in write_vda() 129 static ssize_t read_live_nvram(struct file *file, struct kobject *kobj, in read_live_nvram() 140 static ssize_t write_live_nvram(struct file *file, struct kobject *kobj, in write_live_nvram() 160 static ssize_t read_default_nvram(struct file *file, struct kobject *kobj, in read_default_nvram() [all …]
|
/linux-4.1.27/drivers/sfi/ |
D | sfi_core.c | 386 static struct kobject *sfi_kobj; 387 static struct kobject *tables_kobj; 389 static ssize_t sfi_table_show(struct file *filp, struct kobject *kobj, in sfi_table_show()
|
D | sfi_acpi.c | 175 static ssize_t sfi_acpi_table_show(struct file *filp, struct kobject *kobj, in sfi_acpi_table_show()
|
/linux-4.1.27/arch/alpha/kernel/ |
D | pci-sysfs.c | 63 static int pci_mmap_resource(struct kobject *kobj, in pci_mmap_resource() 93 static int pci_mmap_resource_sparse(struct file *filp, struct kobject *kobj, in pci_mmap_resource_sparse() 100 static int pci_mmap_resource_dense(struct file *filp, struct kobject *kobj, in pci_mmap_resource_dense()
|
/linux-4.1.27/drivers/uio/ |
D | uio.c | 44 struct kobject kobj; 95 static void map_release(struct kobject *kobj) in map_release() 101 static ssize_t map_type_show(struct kobject *kobj, struct attribute *attr, in map_type_show() 127 struct kobject kobj; 183 static void portio_release(struct kobject *kobj) in portio_release() 189 static ssize_t portio_type_show(struct kobject *kobj, struct attribute *attr, in portio_type_show()
|
/linux-4.1.27/net/core/ |
D | net-sysfs.c | 614 static ssize_t rx_queue_attr_show(struct kobject *kobj, struct attribute *attr, in rx_queue_attr_show() 626 static ssize_t rx_queue_attr_store(struct kobject *kobj, struct attribute *attr, in rx_queue_attr_store() 822 static void rx_queue_release(struct kobject *kobj) in rx_queue_release() 847 static const void *rx_queue_namespace(struct kobject *kobj) in rx_queue_namespace() 869 struct kobject *kobj = &queue->kobj; in rx_queue_add_kobject() 942 static ssize_t netdev_queue_attr_show(struct kobject *kobj, in netdev_queue_attr_show() 954 static ssize_t netdev_queue_attr_store(struct kobject *kobj, in netdev_queue_attr_store() 1234 static void netdev_queue_release(struct kobject *kobj) in netdev_queue_release() 1242 static const void *netdev_queue_namespace(struct kobject *kobj) in netdev_queue_namespace() 1264 struct kobject *kobj = &queue->kobj; in netdev_queue_add_kobject()
|
/linux-4.1.27/arch/mips/alchemy/devboards/ |
D | pm.c | 117 static ssize_t db1x_pmattr_show(struct kobject *kobj, in db1x_pmattr_show() 147 static ssize_t db1x_pmattr_store(struct kobject *kobj, in db1x_pmattr_store()
|
/linux-4.1.27/drivers/misc/ |
D | ds1682.c | 141 static ssize_t ds1682_eeprom_read(struct file *filp, struct kobject *kobj, in ds1682_eeprom_read() 165 static ssize_t ds1682_eeprom_write(struct file *filp, struct kobject *kobj, in ds1682_eeprom_write()
|
/linux-4.1.27/arch/arm/common/ |
D | bL_switcher.c | 674 static ssize_t bL_switcher_active_show(struct kobject *kobj, in bL_switcher_active_show() 680 static ssize_t bL_switcher_active_store(struct kobject *kobj, in bL_switcher_active_store() 700 static ssize_t bL_switcher_trace_trigger_store(struct kobject *kobj, in bL_switcher_trace_trigger_store() 724 static struct kobject *bL_switcher_kobj;
|
/linux-4.1.27/Documentation/device-mapper/ |
D | dm-uevent.txt | 2 and send kobject uevents (uevents). Previously device-mapper events were only 14 void dm_send_uevents(struct list_head *events, struct kobject *kobj)
|
/linux-4.1.27/kernel/livepatch/ |
D | core.c | 62 static struct kobject *klp_root_kobj; 590 static ssize_t enabled_store(struct kobject *kobj, struct kobj_attribute *attr, in enabled_store() 633 static ssize_t enabled_show(struct kobject *kobj, in enabled_show() 648 static void klp_kobj_release_patch(struct kobject *kobj) in klp_kobj_release_patch() 662 static void klp_kobj_release_func(struct kobject *kobj) in klp_kobj_release_func()
|
/linux-4.1.27/drivers/scsi/arcmsr/ |
D | arcmsr_attr.c | 64 struct kobject *kobj, in arcmsr_sysfs_iop_message_read() 111 struct kobject *kobj, in arcmsr_sysfs_iop_message_write() 159 struct kobject *kobj, in arcmsr_sysfs_iop_message_clear()
|
/linux-4.1.27/drivers/scsi/qla2xxx/ |
D | qla_attr.c | 20 qla2x00_sysfs_read_fw_dump(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_read_fw_dump() 53 qla2x00_sysfs_write_fw_dump(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_write_fw_dump() 150 qla2x00_sysfs_read_fw_dump_template(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_read_fw_dump_template() 168 qla2x00_sysfs_write_fw_dump_template(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_write_fw_dump_template() 236 qla2x00_sysfs_read_nvram(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_read_nvram() 255 qla2x00_sysfs_write_nvram(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_write_nvram() 323 qla2x00_sysfs_read_optrom(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_read_optrom() 344 qla2x00_sysfs_write_optrom(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_write_optrom() 377 qla2x00_sysfs_write_optrom_ctl(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_write_optrom_ctl() 558 qla2x00_sysfs_read_vpd(struct file *filp, struct kobject *kobj, in qla2x00_sysfs_read_vpd() [all …]
|
/linux-4.1.27/drivers/iommu/ |
D | iommu.c | 45 struct kobject kobj; 46 struct kobject *devices_kobj; 78 static ssize_t iommu_group_attr_show(struct kobject *kobj, in iommu_group_attr_show() 90 static ssize_t iommu_group_attr_store(struct kobject *kobj, in iommu_group_attr_store() 127 static void iommu_group_release(struct kobject *kobj) in iommu_group_release() 216 struct kobject *group_kobj; in iommu_group_get_by_id()
|
/linux-4.1.27/arch/x86/include/asm/uv/ |
D | bios.h | 112 extern struct kobject *sgi_uv_kobj; /* /sys/firmware/sgi_uv */
|
/linux-4.1.27/drivers/infiniband/hw/usnic/ |
D | usnic_ib.h | 69 struct kobject *qpn_kobj;
|
D | usnic_ib_qp_grp.h | 50 struct kobject kobj;
|
/linux-4.1.27/drivers/staging/iio/accel/ |
D | adis16220_core.c | 159 static ssize_t adis16220_accel_bin_read(struct file *filp, struct kobject *kobj, in adis16220_accel_bin_read() 181 static ssize_t adis16220_adc1_bin_read(struct file *filp, struct kobject *kobj, in adis16220_adc1_bin_read() 202 static ssize_t adis16220_adc2_bin_read(struct file *filp, struct kobject *kobj, in adis16220_adc2_bin_read()
|
/linux-4.1.27/drivers/power/ |
D | ds2780_battery.c | 632 struct kobject *kobj, in ds2780_read_param_eeprom_bin() 649 struct kobject *kobj, in ds2780_write_param_eeprom_bin() 685 struct kobject *kobj, in ds2780_read_user_eeprom_bin() 702 struct kobject *kobj, in ds2780_write_user_eeprom_bin()
|
D | ds2781_battery.c | 634 struct kobject *kobj, in ds2781_read_param_eeprom_bin() 649 struct kobject *kobj, in ds2781_write_param_eeprom_bin() 683 struct kobject *kobj, in ds2781_read_user_eeprom_bin() 699 struct kobject *kobj, in ds2781_write_user_eeprom_bin()
|
/linux-4.1.27/drivers/fmc/ |
D | fmc-core.c | 81 static ssize_t fmc_read_eeprom(struct file *file, struct kobject *kobj, in fmc_read_eeprom() 102 static ssize_t fmc_write_eeprom(struct file *file, struct kobject *kobj, in fmc_write_eeprom()
|
/linux-4.1.27/drivers/rtc/ |
D | rtc-ds1742.c | 127 static ssize_t ds1742_nvram_read(struct file *filp, struct kobject *kobj, in ds1742_nvram_read() 142 static ssize_t ds1742_nvram_write(struct file *filp, struct kobject *kobj, in ds1742_nvram_write()
|
D | rtc-rp5c01.c | 163 static ssize_t rp5c01_nvram_read(struct file *filp, struct kobject *kobj, in rp5c01_nvram_read() 193 static ssize_t rp5c01_nvram_write(struct file *filp, struct kobject *kobj, in rp5c01_nvram_write()
|
D | rtc-tx4939.c | 192 static ssize_t tx4939_rtc_nvram_read(struct file *filp, struct kobject *kobj, in tx4939_rtc_nvram_read() 211 static ssize_t tx4939_rtc_nvram_write(struct file *filp, struct kobject *kobj, in tx4939_rtc_nvram_write()
|
/linux-4.1.27/fs/gfs2/ |
D | sys.c | 38 static ssize_t gfs2_attr_show(struct kobject *kobj, struct attribute *attr, in gfs2_attr_show() 46 static ssize_t gfs2_attr_store(struct kobject *kobj, struct attribute *attr, in gfs2_attr_store() 288 static void gfs2_sbd_release(struct kobject *kobj) in gfs2_sbd_release() 679 static int gfs2_uevent(struct kset *kset, struct kobject *kobj, in gfs2_uevent()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
D | i915_sysfs.c | 192 i915_l3_read(struct file *filp, struct kobject *kobj, in i915_l3_read() 228 i915_l3_write(struct file *filp, struct kobject *kobj, in i915_l3_write() 548 static ssize_t error_state_read(struct file *filp, struct kobject *kobj, in error_state_read() 584 static ssize_t error_state_write(struct file *file, struct kobject *kobj, in error_state_write()
|
/linux-4.1.27/drivers/firmware/google/ |
D | gsmi.c | 469 static ssize_t eventlog_write(struct file *filp, struct kobject *kobj, in eventlog_write() 516 static ssize_t gsmi_clear_eventlog_store(struct kobject *kobj, in gsmi_clear_eventlog_store() 563 static ssize_t gsmi_clear_config_store(struct kobject *kobj, in gsmi_clear_config_store() 764 static struct kobject *gsmi_kobj;
|
D | memconsole.c | 48 static ssize_t memconsole_read(struct file *filp, struct kobject *kobp, in memconsole_read()
|
/linux-4.1.27/drivers/net/phy/ |
D | spi_ks8995.c | 214 static ssize_t ks8995_registers_read(struct file *filp, struct kobject *kobj, in ks8995_registers_read() 236 static ssize_t ks8995_registers_write(struct file *filp, struct kobject *kobj, in ks8995_registers_write()
|
/linux-4.1.27/include/acpi/ |
D | acpi_bus.h | 120 struct kobject kobj; 128 struct kobject *kobj) in to_acpi_hotplug_profile() 440 extern struct kobject *acpi_kobj;
|
/linux-4.1.27/drivers/soc/tegra/fuse/ |
D | fuse-tegra.c | 56 static ssize_t fuse_read(struct file *fd, struct kobject *kobj, in fuse_read()
|
/linux-4.1.27/net/bridge/ |
D | br_sysfs_if.c | 226 static ssize_t brport_show(struct kobject *kobj, in brport_show() 235 static ssize_t brport_store(struct kobject *kobj, in brport_store()
|
/linux-4.1.27/arch/x86/kernel/cpu/ |
D | perf_event_intel_uncore.h | 120 ssize_t uncore_event_show(struct kobject *kobj, 130 static ssize_t __uncore_##_var##_show(struct kobject *kobj, \
|
/linux-4.1.27/drivers/video/fbdev/omap2/dss/ |
D | display-sysfs.c | 280 static ssize_t display_attr_show(struct kobject *kobj, struct attribute *attr, in display_attr_show() 295 static ssize_t display_attr_store(struct kobject *kobj, struct attribute *attr, in display_attr_store()
|
/linux-4.1.27/fs/dlm/ |
D | lockspace.c | 162 static ssize_t dlm_attr_show(struct kobject *kobj, struct attribute *attr, in dlm_attr_show() 170 static ssize_t dlm_attr_store(struct kobject *kobj, struct attribute *attr, in dlm_attr_store() 178 static void lockspace_kobj_release(struct kobject *k) in lockspace_kobj_release() 227 static int dlm_uevent(struct kset *kset, struct kobject *kobj, in dlm_uevent()
|
/linux-4.1.27/drivers/staging/unisys/virtpci/ |
D | virtpci.c | 46 struct kobject kobj; 99 static ssize_t virtpci_driver_attr_show(struct kobject *kobj, 101 static ssize_t virtpci_driver_attr_store(struct kobject *kobj, 1172 static ssize_t virtpci_driver_attr_show(struct kobject *kobj, in virtpci_driver_attr_show() 1188 static ssize_t virtpci_driver_attr_store(struct kobject *kobj, in virtpci_driver_attr_store()
|
/linux-4.1.27/arch/s390/pci/ |
D | pci_sysfs.c | 61 static ssize_t util_string_read(struct file *filp, struct kobject *kobj, in util_string_read()
|
/linux-4.1.27/drivers/misc/eeprom/ |
D | sunxi_sid.c | 62 static ssize_t sid_read(struct file *fd, struct kobject *kobj, in sid_read()
|
/linux-4.1.27/Documentation/thermal/ |
D | x86_pkg_temperature_thermal | 42 Thermal notifications: To get kobject-uevent notifications, set the thermal zone
|
/linux-4.1.27/fs/fscache/ |
D | main.c | 43 struct kobject *fscache_root;
|
/linux-4.1.27/drivers/net/bonding/ |
D | bond_sysfs_slave.c | 96 static ssize_t slave_show(struct kobject *kobj, in slave_show()
|
/linux-4.1.27/drivers/scsi/qla4xxx/ |
D | ql4_attr.c | 13 qla4_8xxx_sysfs_read_fw_dump(struct file *filep, struct kobject *kobj, in qla4_8xxx_sysfs_read_fw_dump() 31 qla4_8xxx_sysfs_write_fw_dump(struct file *filep, struct kobject *kobj, in qla4_8xxx_sysfs_write_fw_dump()
|
/linux-4.1.27/arch/arm/mach-omap1/ |
D | pm.c | 76 static ssize_t idle_show(struct kobject *kobj, struct kobj_attribute *attr, in idle_show() 82 static ssize_t idle_store(struct kobject *kobj, struct kobj_attribute *attr, in idle_store()
|
/linux-4.1.27/drivers/rapidio/ |
D | rio-sysfs.c | 124 rio_read_config(struct file *filp, struct kobject *kobj, in rio_read_config() 196 rio_write_config(struct file *filp, struct kobject *kobj, in rio_write_config()
|
/linux-4.1.27/drivers/xen/ |
D | sys-hypervisor.c | 420 static ssize_t hyp_sysfs_show(struct kobject *kobj, in hyp_sysfs_show() 431 static ssize_t hyp_sysfs_store(struct kobject *kobj, in hyp_sysfs_store()
|