Home
last modified time | relevance | path

Searched refs:kobj (Results 1 – 25 of 521) sorted by relevance

12345678910>>...21

/drivers/edac/
Dedac_device_sysfs.c23 #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, in edac_dev_ctl_info_show() argument
120 struct edac_device_ctl_info *edac_dev = to_ctl_info(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() argument
133 struct edac_device_ctl_info *edac_dev = to_ctl_info(kobj); in edac_dev_ctl_info_store()
201 static void edac_device_ctrl_master_release(struct kobject *kobj) in edac_device_ctrl_master_release() argument
203 struct edac_device_ctl_info *edac_dev = to_edacdev(kobj); in edac_device_ctrl_master_release()
250 memset(&edac_dev->kobj, 0, sizeof(struct kobject)); in edac_device_register_sysfs_main_kobj()
263 err = kobject_init_and_add(&edac_dev->kobj, &ktype_device_ctrl, in edac_device_register_sysfs_main_kobj()
[all …]
Dedac_pci_sysfs.c73 #define to_instance(k) container_of(k, struct edac_pci_ctl_info, kobj)
77 static void edac_pci_instance_release(struct kobject *kobj) in edac_pci_instance_release() argument
84 pci = to_instance(kobj); in edac_pci_instance_release()
100 static ssize_t edac_pci_instance_show(struct kobject *kobj, in edac_pci_instance_show() argument
103 struct edac_pci_ctl_info *pci = to_instance(kobj); in edac_pci_instance_show()
112 static ssize_t edac_pci_instance_store(struct kobject *kobj, in edac_pci_instance_store() argument
116 struct edac_pci_ctl_info *pci = to_instance(kobj); in edac_pci_instance_store()
177 err = kobject_init_and_add(&pci->kobj, &ktype_pci_instance, in edac_pci_create_instance_kobj()
185 kobject_uevent(&pci->kobj, KOBJ_ADD); in edac_pci_create_instance_kobj()
209 kobject_put(&pci->kobj); in edac_pci_unregister_sysfs_instance_kobj()
[all …]
/drivers/cpuidle/
Dsysfs.c147 return sysfs_create_group(&dev->kobj, &cpuidle_attr_group); in cpuidle_add_interface()
155 sysfs_remove_group(&dev->kobj, &cpuidle_attr_group); in cpuidle_remove_interface()
169 #define kobj_to_cpuidledev(k) container_of(k, struct cpuidle_device, kobj)
171 static ssize_t cpuidle_show(struct kobject * kobj, struct attribute * attr ,char * buf) in cpuidle_show() argument
174 struct cpuidle_device *dev = kobj_to_cpuidledev(kobj); in cpuidle_show()
185 static ssize_t cpuidle_store(struct kobject * kobj, struct attribute * attr, in cpuidle_store() argument
189 struct cpuidle_device *dev = kobj_to_cpuidledev(kobj); in cpuidle_store()
205 static void cpuidle_sysfs_release(struct kobject *kobj) in cpuidle_sysfs_release() argument
207 struct cpuidle_device *dev = kobj_to_cpuidledev(kobj); in cpuidle_sysfs_release()
305 struct kobject kobj; member
[all …]
/drivers/base/
Dcore.c90 static ssize_t dev_attr_show(struct kobject *kobj, struct attribute *attr, in dev_attr_show() argument
94 struct device *dev = kobj_to_dev(kobj); in dev_attr_show()
106 static ssize_t dev_attr_store(struct kobject *kobj, struct attribute *attr, in dev_attr_store() argument
110 struct device *dev = kobj_to_dev(kobj); in dev_attr_store()
203 static void device_release(struct kobject *kobj) in device_release() argument
205 struct device *dev = kobj_to_dev(kobj); in device_release()
232 static const void *device_namespace(struct kobject *kobj) in device_namespace() argument
234 struct device *dev = kobj_to_dev(kobj); in device_namespace()
250 static int dev_uevent_filter(struct kset *kset, struct kobject *kobj) in dev_uevent_filter() argument
252 struct kobj_type *ktype = get_ktype(kobj); in dev_uevent_filter()
[all …]
Dclass.c26 static ssize_t class_attr_show(struct kobject *kobj, struct attribute *attr, in class_attr_show() argument
30 struct subsys_private *cp = to_subsys_private(kobj); in class_attr_show()
38 static ssize_t class_attr_store(struct kobject *kobj, struct attribute *attr, in class_attr_store() argument
42 struct subsys_private *cp = to_subsys_private(kobj); in class_attr_store()
50 static const void *class_attr_namespace(struct kobject *kobj, in class_attr_namespace() argument
54 struct subsys_private *cp = to_subsys_private(kobj); in class_attr_namespace()
62 static void class_release(struct kobject *kobj) in class_release() argument
64 struct subsys_private *cp = to_subsys_private(kobj); in class_release()
78 static const struct kobj_ns_type_operations *class_child_ns_type(struct kobject *kobj) in class_child_ns_type() argument
80 struct subsys_private *cp = to_subsys_private(kobj); in class_child_ns_type()
[all …]
Dbus.c53 static ssize_t drv_attr_show(struct kobject *kobj, struct attribute *attr, in drv_attr_show() argument
57 struct driver_private *drv_priv = to_driver(kobj); in drv_attr_show()
65 static ssize_t drv_attr_store(struct kobject *kobj, struct attribute *attr, in drv_attr_store() argument
69 struct driver_private *drv_priv = to_driver(kobj); in drv_attr_store()
82 static void driver_release(struct kobject *kobj) in driver_release() argument
84 struct driver_private *drv_priv = to_driver(kobj); in driver_release()
86 pr_debug("driver: '%s': %s\n", kobject_name(kobj), __func__); in driver_release()
98 static ssize_t bus_attr_show(struct kobject *kobj, struct attribute *attr, in bus_attr_show() argument
102 struct subsys_private *subsys_priv = to_subsys_private(kobj); in bus_attr_show()
110 static ssize_t bus_attr_store(struct kobject *kobj, struct attribute *attr, in bus_attr_store() argument
[all …]
Dnode.c346 ret = sysfs_create_link(&node_devices[nid]->dev.kobj, in register_cpu_under_node()
347 &obj->kobj, in register_cpu_under_node()
348 kobject_name(&obj->kobj)); in register_cpu_under_node()
352 return sysfs_create_link(&obj->kobj, in register_cpu_under_node()
353 &node_devices[nid]->dev.kobj, in register_cpu_under_node()
354 kobject_name(&node_devices[nid]->dev.kobj)); in register_cpu_under_node()
368 sysfs_remove_link(&node_devices[nid]->dev.kobj, in unregister_cpu_under_node()
369 kobject_name(&obj->kobj)); in unregister_cpu_under_node()
370 sysfs_remove_link(&obj->kobj, in unregister_cpu_under_node()
371 kobject_name(&node_devices[nid]->dev.kobj)); in unregister_cpu_under_node()
[all …]
/drivers/w1/slaves/
Dw1_ds2408.c75 struct file *filp, struct kobject *kobj, in w1_f29_read_state() argument
79 dev_dbg(&kobj_to_w1_slave(kobj)->dev, in w1_f29_read_state()
81 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); in w1_f29_read_state()
84 return _read_reg(kobj_to_w1_slave(kobj), W1_F29_REG_LOGIG_STATE, buf); in w1_f29_read_state()
88 struct file *filp, struct kobject *kobj, in w1_f29_read_output() argument
92 dev_dbg(&kobj_to_w1_slave(kobj)->dev, in w1_f29_read_output()
94 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); in w1_f29_read_output()
97 return _read_reg(kobj_to_w1_slave(kobj), in w1_f29_read_output()
102 struct file *filp, struct kobject *kobj, in w1_f29_read_activity() argument
106 dev_dbg(&kobj_to_w1_slave(kobj)->dev, in w1_f29_read_activity()
[all …]
Dw1_ds2413.c33 struct file *filp, struct kobject *kobj, in w1_f3a_read_state() argument
37 struct w1_slave *sl = kobj_to_w1_slave(kobj); in w1_f3a_read_state()
40 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); in w1_f3a_read_state()
69 struct file *filp, struct kobject *kobj, in w1_f3a_write_output() argument
73 struct w1_slave *sl = kobj_to_w1_slave(kobj); in w1_f3a_write_output()
139 &sl->dev.kobj, in w1_f3a_add_slave()
143 sysfs_remove_bin_file(&sl->dev.kobj, in w1_f3a_add_slave()
152 sysfs_remove_bin_file(&sl->dev.kobj, in w1_f3a_remove_slave()
/drivers/pci/
Dslot.c18 static ssize_t pci_slot_attr_show(struct kobject *kobj, in pci_slot_attr_show() argument
21 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_attr_show()
26 static ssize_t pci_slot_attr_store(struct kobject *kobj, in pci_slot_attr_store() argument
29 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_attr_store()
101 static void pci_slot_release(struct kobject *kobj) in pci_slot_release() argument
104 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_release()
188 result = kobject_rename(&slot->kobj, slot_name); in rename_slot()
202 kobject_get(&slot->kobj); in get_slot()
270 kobject_put(&slot->kobj); in pci_create_slot()
288 slot->kobj.kset = pci_slots_kset; in pci_create_slot()
[all …]
Dpci-sysfs.c538 pci_read_config(struct file *filp, struct kobject *kobj, in pci_read_config() argument
542 struct pci_dev *dev = to_pci_dev(container_of(kobj,struct device,kobj)); in pci_read_config()
616 pci_write_config(struct file* filp, struct kobject *kobj, in pci_write_config() argument
620 struct pci_dev *dev = to_pci_dev(container_of(kobj,struct device,kobj)); in pci_write_config()
678 read_vpd_attr(struct file *filp, struct kobject *kobj, in read_vpd_attr() argument
683 to_pci_dev(container_of(kobj, struct device, kobj)); in read_vpd_attr()
694 write_vpd_attr(struct file *filp, struct kobject *kobj, in write_vpd_attr() argument
699 to_pci_dev(container_of(kobj, struct device, kobj)); in write_vpd_attr()
723 pci_read_legacy_io(struct file *filp, struct kobject *kobj, in pci_read_legacy_io() argument
727 struct pci_bus *bus = to_pci_bus(container_of(kobj, in pci_read_legacy_io()
[all …]
/drivers/parisc/
Dpdc_stable.c106 struct kobject kobj; member
137 #define to_pdcspath_entry(obj) container_of(obj, struct pdcspath_entry, kobj)
334 sysfs_remove_link(&entry->kobj, "device"); in pdcspath_hwpath_write()
335 ret = sysfs_create_link(&entry->kobj, &entry->dev->kobj, "device"); in pdcspath_hwpath_write()
446 pdcspath_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) in pdcspath_attr_show() argument
448 struct pdcspath_entry *entry = to_pdcspath_entry(kobj); in pdcspath_attr_show()
466 pdcspath_attr_store(struct kobject *kobj, struct attribute *attr, in pdcspath_attr_store() argument
469 struct pdcspath_entry *entry = to_pdcspath_entry(kobj); in pdcspath_attr_store()
526 static ssize_t pdcs_size_read(struct kobject *kobj, in pdcs_size_read() argument
546 static ssize_t pdcs_auto_read(struct kobject *kobj, in pdcs_auto_read() argument
[all …]
/drivers/gpu/drm/ttm/
Dttm_memory.c43 struct kobject kobj; member
74 static void ttm_mem_zone_kobj_release(struct kobject *kobj) in ttm_mem_zone_kobj_release() argument
77 container_of(kobj, struct ttm_mem_zone, kobj); in ttm_mem_zone_kobj_release()
84 static ssize_t ttm_mem_zone_show(struct kobject *kobj, in ttm_mem_zone_show() argument
89 container_of(kobj, struct ttm_mem_zone, kobj); in ttm_mem_zone_show()
111 static ssize_t ttm_mem_zone_store(struct kobject *kobj, in ttm_mem_zone_store() argument
117 container_of(kobj, struct ttm_mem_zone, kobj); in ttm_mem_zone_store()
169 static void ttm_mem_global_kobj_release(struct kobject *kobj) in ttm_mem_global_kobj_release() argument
172 container_of(kobj, struct ttm_mem_global, kobj); in ttm_mem_global_kobj_release()
267 &zone->kobj, &ttm_mem_zone_kobj_type, &glob->kobj, zone->name); in ttm_mem_init_kernel_zone()
[all …]
/drivers/firmware/
Dmemmap.c44 struct kobject kobj; /* kobject for each entry */ member
50 static ssize_t memmap_attr_show(struct kobject *kobj,
101 to_memmap_entry(struct kobject *kobj) in to_memmap_entry() argument
103 return container_of(kobj, struct firmware_map_entry, kobj); in to_memmap_entry()
106 static void __meminit release_firmware_map_entry(struct kobject *kobj) in release_firmware_map_entry() argument
108 struct firmware_map_entry *entry = to_memmap_entry(kobj); in release_firmware_map_entry()
158 kobject_init(&entry->kobj, &memmap_ktype); in firmware_map_add_entry()
193 entry->kobj.kset = mmap_kset; in add_sysfs_fw_map_entry()
194 if (kobject_add(&entry->kobj, NULL, "%d", map_entries_nr++)) in add_sysfs_fw_map_entry()
195 kobject_put(&entry->kobj); in add_sysfs_fw_map_entry()
[all …]
Ddmi-sysfs.c34 struct kobject kobj; member
81 static void dmi_entry_free(struct kobject *kobj) in dmi_entry_free() argument
83 kfree(kobj); in dmi_entry_free()
86 static struct dmi_sysfs_entry *to_entry(struct kobject *kobj) in to_entry() argument
88 return container_of(kobj, struct dmi_sysfs_entry, kobj); in to_entry()
96 static ssize_t dmi_sysfs_attr_show(struct kobject *kobj, in dmi_sysfs_attr_show() argument
99 struct dmi_sysfs_entry *entry = to_entry(kobj); in dmi_sysfs_attr_show()
213 static ssize_t dmi_entry_attr_show(struct kobject *kobj, in dmi_entry_attr_show() argument
223 return find_dmi_entry(to_entry(kobj->parent), in dmi_entry_attr_show()
428 static ssize_t dmi_sel_raw_read(struct file *filp, struct kobject *kobj, in dmi_sel_raw_read() argument
[all …]
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sysfs.c247 static ssize_t qlcnic_sysfs_read_crb(struct file *filp, struct kobject *kobj, in qlcnic_sysfs_read_crb() argument
251 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_read_crb()
263 static ssize_t qlcnic_sysfs_write_crb(struct file *filp, struct kobject *kobj, in qlcnic_sysfs_write_crb() argument
267 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_write_crb()
291 static ssize_t qlcnic_sysfs_read_mem(struct file *filp, struct kobject *kobj, in qlcnic_sysfs_read_mem() argument
295 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_read_mem()
312 static ssize_t qlcnic_sysfs_write_mem(struct file *filp, struct kobject *kobj, in qlcnic_sysfs_write_mem() argument
316 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_write_mem()
374 struct kobject *kobj, in qlcnic_sysfs_write_pm_config() argument
379 struct device *dev = container_of(kobj, struct device, kobj); in qlcnic_sysfs_write_pm_config()
[all …]
/drivers/md/bcache/
Dstats.c56 container_of(kobj, struct cache_stats, kobj); in SHOW()
99 int ret = kobject_add(&acc->total.kobj, parent, in bch_cache_accounting_add_kobjs()
101 ret = ret ?: kobject_add(&acc->five_minute.kobj, parent, in bch_cache_accounting_add_kobjs()
103 ret = ret ?: kobject_add(&acc->hour.kobj, parent, in bch_cache_accounting_add_kobjs()
105 ret = ret ?: kobject_add(&acc->day.kobj, parent, in bch_cache_accounting_add_kobjs()
119 kobject_put(&acc->total.kobj); in bch_cache_accounting_destroy()
120 kobject_put(&acc->five_minute.kobj); in bch_cache_accounting_destroy()
121 kobject_put(&acc->hour.kobj); in bch_cache_accounting_destroy()
122 kobject_put(&acc->day.kobj); in bch_cache_accounting_destroy()
233 kobject_init(&acc->total.kobj, &bch_stats_ktype); in bch_cache_accounting_init()
[all …]
/drivers/hid/
Dhid-roccat-lua.c29 static ssize_t lua_sysfs_read(struct file *fp, struct kobject *kobj, in lua_sysfs_read() argument
33 struct device *dev = container_of(kobj, struct device, kobj); in lua_sysfs_read()
51 static ssize_t lua_sysfs_write(struct file *fp, struct kobject *kobj, in lua_sysfs_write() argument
55 struct device *dev = container_of(kobj, struct device, kobj); in lua_sysfs_write()
72 struct kobject *kobj, struct bin_attribute *attr, \
75 return lua_sysfs_write(fp, kobj, buf, off, count, \
81 struct kobject *kobj, struct bin_attribute *attr, \
84 return lua_sysfs_read(fp, kobj, buf, off, count, \
102 return sysfs_create_bin_file(&intf->dev.kobj, &lua_control_attr); in LUA_BIN_ATTRIBUTE_RW()
107 sysfs_remove_bin_file(&intf->dev.kobj, &lua_control_attr); in lua_remove_sysfs_attributes()
Dhid-roccat-pyra.c87 static ssize_t pyra_sysfs_read(struct file *fp, struct kobject *kobj, in pyra_sysfs_read() argument
92 container_of(kobj, struct device, kobj)->parent->parent; in pyra_sysfs_read()
113 static ssize_t pyra_sysfs_write(struct file *fp, struct kobject *kobj, in pyra_sysfs_write() argument
118 container_of(kobj, struct device, kobj)->parent->parent; in pyra_sysfs_write()
138 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
141 return pyra_sysfs_write(fp, kobj, buf, off, count, \
147 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
150 return pyra_sysfs_read(fp, kobj, buf, off, count, \
187 struct kobject *kobj, struct bin_attribute *attr, char *buf, in PYRA_SYSFS_W()
191 container_of(kobj, struct device, kobj)->parent->parent; in PYRA_SYSFS_W()
[all …]
/drivers/scsi/
Discsi_boot_sysfs.c40 static ssize_t iscsi_boot_show_attribute(struct kobject *kobj, in iscsi_boot_show_attribute() argument
44 container_of(kobj, struct iscsi_boot_kobj, kobj); in iscsi_boot_show_attribute()
62 static void iscsi_boot_kobj_release(struct kobject *kobj) in iscsi_boot_kobj_release() argument
65 container_of(kobj, struct iscsi_boot_kobj, 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() argument
119 container_of(kobj, struct iscsi_boot_kobj, 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() argument
200 container_of(kobj, struct iscsi_boot_kobj, 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() argument
272 container_of(kobj, struct iscsi_boot_kobj, kobj); in iscsi_boot_ini_attr_is_visible()
[all …]
/drivers/scsi/arcmsr/
Darcmsr_attr.c63 struct kobject *kobj, in arcmsr_sysfs_iop_message_read() argument
68 struct device *dev = container_of(kobj,struct device,kobj); in arcmsr_sysfs_iop_message_read()
110 struct kobject *kobj, in arcmsr_sysfs_iop_message_write() argument
115 struct device *dev = container_of(kobj,struct device,kobj); in arcmsr_sysfs_iop_message_write()
159 struct kobject *kobj, in arcmsr_sysfs_iop_message_clear() argument
164 struct device *dev = container_of(kobj,struct device,kobj); in arcmsr_sysfs_iop_message_clear()
223 error = sysfs_create_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_read_attr); in arcmsr_alloc_sysfs_attr()
228 error = sysfs_create_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_write_attr); in arcmsr_alloc_sysfs_attr()
233 error = sysfs_create_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_clear_attr); in arcmsr_alloc_sysfs_attr()
240 sysfs_remove_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_write_attr); in arcmsr_alloc_sysfs_attr()
[all …]
/drivers/uwb/
Dpal.c47 ret = sysfs_create_link(&pal->device->kobj, in uwb_pal_register()
48 &rc->uwb_dev.dev.kobj, "uwb_rc"); in uwb_pal_register()
51 ret = sysfs_create_link(&rc->uwb_dev.dev.kobj, in uwb_pal_register()
52 &pal->device->kobj, pal->name); in uwb_pal_register()
54 sysfs_remove_link(&pal->device->kobj, "uwb_rc"); in uwb_pal_register()
86 sysfs_remove_link(&rc->uwb_dev.dev.kobj, pal->name); in uwb_pal_unregister()
87 sysfs_remove_link(&pal->device->kobj, "uwb_rc"); in uwb_pal_unregister()
/drivers/iommu/
Diommu.c38 struct kobject kobj; member
69 container_of(_kobj, struct iommu_group, kobj)
71 static ssize_t iommu_group_attr_show(struct kobject *kobj, in iommu_group_attr_show() argument
75 struct iommu_group *group = to_iommu_group(kobj); in iommu_group_attr_show()
83 static ssize_t iommu_group_attr_store(struct kobject *kobj, in iommu_group_attr_store() argument
88 struct iommu_group *group = to_iommu_group(kobj); in iommu_group_attr_store()
104 return sysfs_create_file(&group->kobj, &attr->attr); in iommu_group_create_file()
110 sysfs_remove_file(&group->kobj, &attr->attr); in iommu_group_remove_file()
120 static void iommu_group_release(struct kobject *kobj) in iommu_group_release() argument
122 struct iommu_group *group = to_iommu_group(kobj); in iommu_group_release()
[all …]
/drivers/firmware/efi/
Defivars.c103 #define to_efivar_entry(obj) container_of(obj, struct efivar_entry, kobj)
261 static ssize_t efivar_attr_show(struct kobject *kobj, struct attribute *attr, in efivar_attr_show() argument
264 struct efivar_entry *var = to_efivar_entry(kobj); in efivar_attr_show()
277 static ssize_t efivar_attr_store(struct kobject *kobj, struct attribute *attr, in efivar_attr_store() argument
280 struct efivar_entry *var = to_efivar_entry(kobj); in efivar_attr_store()
298 static void efivar_release(struct kobject *kobj) in efivar_release() argument
300 struct efivar_entry *var = container_of(kobj, struct efivar_entry, kobj); in efivar_release()
325 static ssize_t efivar_create(struct file *filp, struct kobject *kobj, in efivar_create() argument
367 static ssize_t efivar_delete(struct file *filp, struct kobject *kobj, in efivar_delete() argument
438 new_var->kobj.kset = efivars_kset; in efivar_create_sysfs_entry()
[all …]
/drivers/uio/
Duio.c57 struct kobject kobj; member
60 #define to_map(map) container_of(map, struct uio_map, kobj)
108 static void map_release(struct kobject *kobj) in map_release() argument
110 struct uio_map *map = to_map(kobj); in map_release()
114 static ssize_t map_type_show(struct kobject *kobj, struct attribute *attr, in map_type_show() argument
117 struct uio_map *map = to_map(kobj); in map_type_show()
140 struct kobject kobj; member
143 #define to_portio(portio) container_of(portio, struct uio_portio, kobj)
196 static void portio_release(struct kobject *kobj) in portio_release() argument
198 struct uio_portio *portio = to_portio(kobj); in portio_release()
[all …]

12345678910>>...21