/linux-master/fs/sysfs/ |
H A D | file.c | 28 struct kobject *kobj = kn->parent->priv; local 32 return kobj->ktype ? kobj->ktype->sysfs_ops : NULL; 43 struct kobject *kobj = of->kn->parent->priv; local 59 count = ops->show(kobj, of->kn->priv, buf); 81 struct kobject *kobj = of->kn->parent->priv; local 97 return battr->read(of->file, kobj, battr, buf, pos, count); 105 struct kobject *kobj = of->kn->parent->priv; local 114 len = ops->show(kobj, of->kn->priv, buf); 131 struct kobject *kobj local 144 struct kobject *kobj = of->kn->parent->priv; local 165 struct kobject *kobj = of->kn->parent->priv; local 174 struct kobject *kobj = of->kn->parent->priv; local 192 sysfs_notify(struct kobject *kobj, const char *dir, const char *attr) argument 271 struct kobject *kobj = parent->priv; local 358 sysfs_create_file_ns(struct kobject *kobj, const struct attribute *attr, const void *ns) argument 372 sysfs_create_files(struct kobject *kobj, const struct attribute * const *ptr) argument 392 sysfs_add_file_to_group(struct kobject *kobj, const struct attribute *attr, const char *group) argument 426 sysfs_chmod_file(struct kobject *kobj, const struct attribute *attr, umode_t mode) argument 457 sysfs_break_active_protection(struct kobject *kobj, const struct attribute *attr) argument 485 struct kobject *kobj = kn->parent->priv; local 501 sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr, const void *ns) argument 517 sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr) argument 534 sysfs_remove_files(struct kobject *kobj, const struct attribute * const *ptr) argument 549 sysfs_remove_file_from_group(struct kobject *kobj, const struct attribute *attr, const char *group) argument 573 sysfs_create_bin_file(struct kobject *kobj, const struct bin_attribute *attr) argument 593 sysfs_remove_bin_file(struct kobject *kobj, const struct bin_attribute *attr) argument 625 sysfs_link_change_owner(struct kobject *kobj, struct kobject *targ, const char *name, kuid_t kuid, kgid_t kgid) argument 664 sysfs_file_change_owner(struct kobject *kobj, const char *name, kuid_t kuid, kgid_t kgid) argument 706 sysfs_change_owner(struct kobject *kobj, kuid_t kuid, kgid_t kgid) argument [all...] |
/linux-master/drivers/vfio/mdev/ |
H A D | mdev_sysfs.c | 31 static ssize_t mdev_type_attr_show(struct kobject *kobj, argument 35 struct mdev_type *type = to_mdev_type(kobj); 43 static ssize_t mdev_type_attr_store(struct kobject *kobj, argument 48 struct mdev_type *type = to_mdev_type(kobj); 135 static umode_t mdev_types_core_is_visible(struct kobject *kobj, argument 139 !to_mdev_type(kobj)->parent->mdev_driver->show_description) 154 static void mdev_type_release(struct kobject *kobj) argument 156 struct mdev_type *type = to_mdev_type(kobj); 158 pr_debug("Releasing group %s\n", kobj->name); 173 type->kobj 279 struct kobject *kobj = &mdev->dev.kobj; local 298 struct kobject *kobj = &mdev->dev.kobj; local [all...] |
H A D | mdev_private.h | 22 container_of(_kobj, struct mdev_type, kobj) 30 int mdev_device_create(struct mdev_type *kobj, const guid_t *uuid);
|
/linux-master/drivers/infiniband/ulp/rtrs/ |
H A D | rtrs-clt-sysfs.c | 19 static void rtrs_clt_path_release(struct kobject *kobj) argument 23 clt_path = container_of(kobj, struct rtrs_clt_path, kobj); 33 static void rtrs_clt_path_stats_release(struct kobject *kobj) argument 37 stats = container_of(kobj, struct rtrs_clt_stats, kobj_stats); 198 static ssize_t rtrs_clt_state_show(struct kobject *kobj, argument 203 clt_path = container_of(kobj, struct rtrs_clt_path, kobj); 213 static ssize_t rtrs_clt_reconnect_show(struct kobject *kobj, argument 219 static ssize_t rtrs_clt_reconnect_store(struct kobject *kobj, argument 243 rtrs_clt_disconnect_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 249 rtrs_clt_disconnect_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 270 rtrs_clt_remove_path_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 276 rtrs_clt_remove_path_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 333 rtrs_clt_hca_port_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument 347 rtrs_clt_hca_name_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument 361 rtrs_clt_cur_latency_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument 376 rtrs_clt_src_addr_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument 393 rtrs_clt_dst_addr_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument [all...] |
H A D | rtrs-srv-sysfs.c | 16 static void rtrs_srv_release(struct kobject *kobj) argument 20 srv_path = container_of(kobj, struct rtrs_srv_path, kobj); 29 static ssize_t rtrs_srv_disconnect_show(struct kobject *kobj, argument 35 static ssize_t rtrs_srv_disconnect_store(struct kobject *kobj, argument 43 srv_path = container_of(kobj, struct rtrs_srv_path, kobj); 56 sysfs_remove_file_self(&srv_path->kobj, &attr->attr); 66 static ssize_t rtrs_srv_hca_port_show(struct kobject *kobj, argument 73 srv_path = container_of(kobj, typeo 82 rtrs_srv_hca_name_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument 96 rtrs_srv_src_addr_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument 112 rtrs_srv_dst_addr_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) argument 216 rtrs_srv_path_stats_release(struct kobject *kobj) argument [all...] |
/linux-master/drivers/of/ |
H A D | kobj.c | 10 return node && node->kobj.state_initialized; 16 return node && node->kobj.state_in_sysfs; 21 static void of_node_release(struct kobject *kobj) argument 31 static ssize_t of_node_property_read(struct file *filp, struct kobject *kobj, argument 40 static const char *safe_name(struct kobject *kobj, const char *orig_name) argument 47 while (i < 16 && (kn = sysfs_get_dirent(kobj->sd, name))) { 58 kobject_name(kobj), name); 77 pp->attr.attr.name = safe_name(&np->kobj, pp->name); 82 rc = sysfs_create_bin_file(&np->kobj, &pp->attr); 92 sysfs_remove_bin_file(&np->kobj, [all...] |
/linux-master/drivers/staging/greybus/ |
H A D | audio_manager_private.h | 24 void gb_audio_manager_sysfs_init(struct kobject *kobj);
|
/linux-master/drivers/md/ |
H A D | dm-uevent.h | 20 extern void dm_send_uevents(struct list_head *events, struct kobject *kobj); 35 struct kobject *kobj) 34 dm_send_uevents(struct list_head *events, struct kobject *kobj) argument
|
/linux-master/block/ |
H A D | blk-mq-sysfs.c | 16 static void blk_mq_sysfs_release(struct kobject *kobj) argument 18 struct blk_mq_ctxs *ctxs = container_of(kobj, struct blk_mq_ctxs, kobj); 24 static void blk_mq_ctx_sysfs_release(struct kobject *kobj) argument 26 struct blk_mq_ctx *ctx = container_of(kobj, struct blk_mq_ctx, kobj); 29 kobject_put(&ctx->ctxs->kobj); 32 static void blk_mq_hw_sysfs_release(struct kobject *kobj) argument 34 struct blk_mq_hw_ctx *hctx = container_of(kobj, struct blk_mq_hw_ctx, 35 kobj); 49 blk_mq_hw_sysfs_show(struct kobject *kobj, struct attribute *attr, char *page) argument [all...] |
H A D | blk-crypto-sysfs.c | 14 struct kobject kobj; member in struct:blk_crypto_kobj 24 static struct blk_crypto_profile *kobj_to_crypto_profile(struct kobject *kobj) argument 26 return container_of(kobj, struct blk_crypto_kobj, kobj)->profile; 69 static umode_t blk_crypto_mode_is_visible(struct kobject *kobj, argument 72 struct blk_crypto_profile *profile = kobj_to_crypto_profile(kobj); 101 static ssize_t blk_crypto_attr_show(struct kobject *kobj, argument 104 struct blk_crypto_profile *profile = kobj_to_crypto_profile(kobj); 114 static void blk_crypto_release(struct kobject *kobj) argument 116 kfree(container_of(kobj, struc [all...] |
/linux-master/arch/x86/platform/efi/ |
H A D | runtime-map.c | 18 struct kobject kobj; /* kobject for each entry */ member in struct:efi_runtime_map_entry 51 static inline struct efi_runtime_map_entry *to_map_entry(struct kobject *kobj) argument 53 return container_of(kobj, struct efi_runtime_map_entry, kobj); 56 static ssize_t map_attr_show(struct kobject *kobj, struct attribute *attr, argument 59 struct efi_runtime_map_entry *entry = to_map_entry(kobj); 88 static void map_release(struct kobject *kobj) argument 92 entry = to_map_entry(kobj); 105 add_sysfs_runtime_map_entry(struct kobject *kobj, int nr, argument 112 map_kset = kset_create_and_add("runtime-map", NULL, kobj); [all...] |
/linux-master/drivers/edac/ |
H A D | edac_device_sysfs.c | 23 #define to_edacdev(k) container_of(k, struct edac_device_ctl_info, kobj) 113 #define to_ctl_info(k) container_of(k, struct edac_device_ctl_info, kobj) 117 static ssize_t edac_dev_ctl_info_show(struct kobject *kobj, argument 120 struct edac_device_ctl_info *edac_dev = to_ctl_info(kobj); 129 static ssize_t edac_dev_ctl_info_store(struct kobject *kobj, argument 133 struct edac_device_ctl_info *edac_dev = to_ctl_info(kobj); 178 * called when the reference count for the 'main' kobj 183 * That main kobj is initially set to one AND 187 * Each new internal kobj (in instances and blocks) then 191 * the 'main' kobj 202 edac_device_ctrl_master_release(struct kobject *kobj) argument 325 edac_device_ctrl_instance_release(struct kobject *kobj) argument 346 edac_dev_instance_show(struct kobject *kobj, struct attribute *attr, char *buffer) argument 358 edac_dev_instance_store(struct kobject *kobj, struct attribute *attr, const char *buffer, size_t count) argument 415 block_ue_count_show(struct kobject *kobj, struct attribute *attr, char *data) argument 423 block_ce_count_show(struct kobject *kobj, struct attribute *attr, char *data) argument 432 edac_device_ctrl_block_release(struct kobject *kobj) argument 449 edac_dev_block_show(struct kobject *kobj, struct attribute *attr, char *buffer) argument 461 edac_dev_block_store(struct kobject *kobj, struct attribute *attr, const char *buffer, size_t count) argument [all...] |
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_vram_freq.c | 30 return kobj_to_tile(dev->kobj.parent); 92 struct kobject *kobj = arg; local 94 sysfs_remove_group(kobj, &freq_group_attrs); 95 kobject_put(kobj); 107 struct kobject *kobj; local 113 kobj = kobject_create_and_add("memory", tile->sysfs); 114 if (!kobj) { 119 err = sysfs_create_group(kobj, &freq_group_attrs); 121 kobject_put(kobj); 126 err = drmm_add_action_or_reset(&xe->drm, vram_freq_sysfs_fini, kobj); [all...] |
H A D | xe_gt_idle.c | 28 struct kobject *kobj = &dev->kobj; local 30 return &kobj_to_gt(kobj->parent)->gtidle; 128 struct kobject *kobj = arg; local 130 sysfs_remove_files(kobj, gt_idle_attrs); 131 kobject_put(kobj); 138 struct kobject *kobj; local 141 kobj = kobject_create_and_add("gtidle", gt->sysfs); 142 if (!kobj) { 159 err = sysfs_create_files(kobj, gt_idle_attr [all...] |
/linux-master/fs/ubifs/ |
H A D | sysfs.c | 47 static ssize_t ubifs_attr_show(struct kobject *kobj, argument 50 struct ubifs_info *sbi = container_of(kobj, struct ubifs_info, 51 kobj); 66 static void ubifs_sb_release(struct kobject *kobj) argument 68 struct ubifs_info *c = container_of(kobj, struct ubifs_info, kobj); 88 .kobj = {.ktype = &ubifs_ktype}, 110 c->kobj.kset = &ubifs_kset; 113 ret = kobject_init_and_add(&c->kobj, &ubifs_sb_ktype, NULL, 121 kobject_put(&c->kobj); [all...] |
/linux-master/drivers/platform/x86/ |
H A D | think-lmi.c | 178 #define to_tlmi_pwd_setting(kobj) container_of(kobj, struct tlmi_pwd_setting, kobj) 179 #define to_tlmi_attr_setting(kobj) container_of(kobj, struct tlmi_attr_setting, kobj) 382 static ssize_t is_enabled_show(struct kobject *kobj, struct kobj_attribute *attr, argument 385 struct tlmi_pwd_setting *setting = to_tlmi_pwd_setting(kobj); 392 static ssize_t current_password_store(struct kobject *kobj, argument 396 struct tlmi_pwd_setting *setting = to_tlmi_pwd_setting(kobj); 412 new_password_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 498 min_password_length_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 508 max_password_length_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 517 mechanism_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 524 encoding_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 532 encoding_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 550 kbdlang_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 558 kbdlang_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 577 role_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 586 index_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 594 index_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 614 level_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 622 level_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 665 certificate_thumbprint_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 682 cert_to_password_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 722 certificate_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 794 signature_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 821 save_signature_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 848 auth_attr_is_visible(struct kobject *kobj, struct attribute *attr, int n) argument 905 display_name_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 913 current_value_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 937 possible_values_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 944 type_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 958 current_value_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 1094 attr_is_visible(struct kobject *kobj, struct attribute *attr, int n) argument 1119 tlmi_attr_setting_release(struct kobject *kobj) argument 1127 tlmi_pwd_setting_release(struct kobject *kobj) argument 1144 pending_reboot_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 1158 save_settings_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 1168 save_settings_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 1254 debug_cmd_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument [all...] |
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | opal-dump.c | 21 struct kobject kobj; member in struct:dump_obj 28 #define to_dump_obj(x) container_of(x, struct dump_obj, kobj) 95 if (sysfs_remove_file_self(&dump_obj->kobj, &attr->attr)) { 97 kobject_put(&dump_obj->kobj); 159 static ssize_t dump_attr_show(struct kobject *kobj, argument 167 dump = to_dump_obj(kobj); 175 static ssize_t dump_attr_store(struct kobject *kobj, argument 183 dump = to_dump_obj(kobj); 196 static void dump_release(struct kobject *kobj) argument 200 dump = to_dump_obj(kobj); 288 dump_attr_read(struct file *filep, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t pos, size_t count) argument 394 struct kobject *kobj; local [all...] |
H A D | opal-elog.c | 21 struct kobject kobj; member in struct:elog_obj 28 #define to_elog_obj(x) container_of(x, struct elog_obj, kobj) 79 if (sysfs_remove_file_self(&elog_obj->kobj, &attr->attr)) { 81 kobject_put(&elog_obj->kobj); 95 static ssize_t elog_attr_show(struct kobject *kobj, argument 103 elog = to_elog_obj(kobj); 111 static ssize_t elog_attr_store(struct kobject *kobj, argument 119 elog = to_elog_obj(kobj); 132 static void elog_release(struct kobject *kobj) argument 136 elog = to_elog_obj(kobj); 158 raw_attr_read(struct file *filep, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t pos, size_t count) argument 271 struct kobject *kobj; local [all...] |
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | vas-sysfs.c | 22 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(¢ry->kobj, 177 vas_caps_kobj_name(struct vas_caps_entry *centry, struct kobject **kobj) argument 201 struct kobject *kobj = NULL; local [all...] |
/linux-master/drivers/w1/slaves/ |
H A D | w1_ds2408.c | 67 static ssize_t state_read(struct file *filp, struct kobject *kobj, argument 71 dev_dbg(&kobj_to_w1_slave(kobj)->dev, 72 "Reading %s kobj: %p, off: %0#10x, count: %zu, buff addr: %p", 73 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); 76 return _read_reg(kobj_to_w1_slave(kobj), W1_F29_REG_LOGIG_STATE, buf); 79 static ssize_t output_read(struct file *filp, struct kobject *kobj, argument 83 dev_dbg(&kobj_to_w1_slave(kobj)->dev, 84 "Reading %s kobj: %p, off: %0#10x, count: %zu, buff addr: %p", 85 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); 88 return _read_reg(kobj_to_w1_slave(kobj), 92 activity_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument 105 cond_search_mask_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument 118 cond_search_polarity_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument 129 status_control_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument 162 output_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument 212 activity_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument 242 status_control_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument [all...] |
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_gt_sysfs_pm.c | 28 sysfs_gt_attribute_w_func(struct kobject *kobj, struct attribute *attr, argument 34 if (!is_object_gt(kobj)) { 36 struct device *dev = kobj_to_dev(kobj); 45 gt = intel_gt_sysfs_get_drvdata(kobj, attr->name); 53 sysfs_gt_attribute_r_func(struct kobject *kobj, struct attribute *attr, argument 62 if (!is_object_gt(kobj)) { 64 struct device *dev = kobj_to_dev(kobj); 83 gt = intel_gt_sysfs_get_drvdata(kobj, attr->name); 99 static ssize_t _name##_show_common(struct kobject *kobj, \ 102 u32 val = sysfs_gt_attribute_r_##_attr_type##_func(kobj, att 179 rc6_enable_show(struct kobject *kobj, struct kobj_attribute *attr, char *buff) argument 277 __intel_gt_sysfs_create_group(struct kobject *kobj, const struct attribute_group *grp) argument 285 intel_sysfs_rc6_init(struct intel_gt *gt, struct kobject *kobj) argument 430 punit_req_freq_mhz_show(struct kobject *kobj, struct kobj_attribute *attr, char *buff) argument 440 slpc_ignore_eff_freq_show(struct kobject *kobj, struct kobj_attribute *attr, char *buff) argument 450 slpc_ignore_eff_freq_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buff, size_t count) argument 475 throttle_reason_bool_show(struct kobject *kobj, struct kobj_attribute *attr, char *buff) argument 558 freq_factor_scale_show(struct kobject *kobj, struct kobj_attribute *attr, char *buff) argument 571 media_freq_factor_show(struct kobject *kobj, struct kobj_attribute *attr, char *buff) argument 602 media_freq_factor_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buff, size_t count) argument 631 media_RP0_freq_mhz_show(struct kobject *kobj, struct kobj_attribute *attr, char *buff) argument 652 media_RPn_freq_mhz_show(struct kobject *kobj, struct kobj_attribute *attr, char *buff) argument 690 rps_up_threshold_pct_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 700 rps_up_threshold_pct_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 724 rps_down_threshold_pct_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 734 rps_down_threshold_pct_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 764 default_min_freq_mhz_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 775 default_max_freq_mhz_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 786 default_rps_up_threshold_pct_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 799 default_rps_down_threshold_pct_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 819 intel_sysfs_rps_init(struct intel_gt *gt, struct kobject *kobj) argument 852 intel_gt_sysfs_pm_init(struct intel_gt *gt, struct kobject *kobj) argument [all...] |
/linux-master/kernel/ |
H A D | ksysfs.c | 39 static ssize_t uevent_seqnum_show(struct kobject *kobj, argument 47 static ssize_t cpu_byteorder_show(struct kobject *kobj, argument 55 static ssize_t address_bits_show(struct kobject *kobj, argument 64 static ssize_t uevent_helper_show(struct kobject *kobj, argument 69 static ssize_t uevent_helper_store(struct kobject *kobj, argument 85 static ssize_t profiling_show(struct kobject *kobj, argument 90 static ssize_t profiling_store(struct kobject *kobj, argument 116 static ssize_t kexec_loaded_show(struct kobject *kobj, argument 124 static ssize_t kexec_crash_loaded_show(struct kobject *kobj, argument 131 static ssize_t kexec_crash_size_show(struct kobject *kobj, argument 141 kexec_crash_size_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 161 vmcoreinfo_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 171 crash_elfcorehdr_size_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 185 fscaps_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 194 rcu_expedited_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 199 rcu_expedited_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 211 rcu_normal_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 216 rcu_normal_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 235 notes_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument [all...] |
/linux-master/drivers/dma-buf/ |
H A D | dma-buf-sysfs-stats.c | 17 #define to_dma_buf_entry_from_kobj(x) container_of(x, struct dma_buf_sysfs_entry, kobj) 60 static ssize_t dma_buf_stats_attribute_show(struct kobject *kobj, argument 69 sysfs_entry = to_dma_buf_entry_from_kobj(kobj); 107 static void dma_buf_sysfs_release(struct kobject *kobj) argument 111 sysfs_entry = to_dma_buf_entry_from_kobj(kobj); 129 kobject_del(&sysfs_entry->kobj); 130 kobject_put(&sysfs_entry->kobj); 135 static int dmabuf_sysfs_uevent_filter(const struct kobject *kobj) argument 156 &dma_buf_stats_kset->kobj); 185 sysfs_entry->kobj [all...] |
/linux-master/mm/damon/ |
H A D | sysfs-common.h | 14 struct kobject kobj; member in struct:damon_sysfs_ul_range 22 void damon_sysfs_ul_range_release(struct kobject *kobj); 31 struct kobject kobj; member in struct:damon_sysfs_schemes
|
/linux-master/drivers/base/ |
H A D | class.c | 45 struct kobject *kobj; local 55 list_for_each_entry(kobj, &class_kset->list, entry) { 56 struct kset *kset = container_of(kobj, struct kset, kobj); 69 static ssize_t class_attr_show(struct kobject *kobj, struct attribute *attr, argument 73 struct subsys_private *cp = to_subsys_private(kobj); 81 static ssize_t class_attr_store(struct kobject *kobj, struct attribute *attr, argument 85 struct subsys_private *cp = to_subsys_private(kobj); 93 static void class_release(struct kobject *kobj) argument 95 struct subsys_private *cp = to_subsys_private(kobj); 110 class_child_ns_type(const struct kobject *kobj) argument 545 struct kobject *kobj; member in struct:class_compat [all...] |