Searched refs:to_entry (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
D | extents.h | 29 #define to_entry(_entry) \ macro 169 switch (extent_entry_type(to_entry(crc))) { in bch2_extent_crc_unpack() 236 to_entry(&e.v->start[0]), in bch2_bkey_ptrs_c() 237 to_entry(extent_entry_last(e)) in bch2_bkey_ptrs_c() 252 to_entry(&s.v->ptrs[0]), in bch2_bkey_ptrs_c() 253 to_entry(&s.v->ptrs[s.v->nr_blocks]), in bch2_bkey_ptrs_c() 268 to_entry(&e.v->start[0]), in bch2_bkey_ptrs_c() 269 to_entry(extent_entry_last(e)) in bch2_bkey_ptrs_c() 296 __bkey_extent_entry_for_each_from(to_entry(_ptr), _end, _entry) \
|
D | extents.c | 757 __extent_entry_insert(k, pos, to_entry(&p->ptr)); in bch2_extent_ptr_decoded_append() 761 __extent_entry_insert(k, pos, to_entry(&p->ec)); in bch2_extent_ptr_decoded_append() 784 union bch_extent_entry *entry = to_entry(ptr), *next; in bch2_bkey_drop_ptr_noerror()
|
D | io_write.c | 413 if (to_entry(ptr + 1) < ptrs.end) { in bch2_submit_wbio_replicas()
|
/linux-6.12.1/drivers/firmware/ |
D | dmi-sysfs.c | 88 static struct dmi_sysfs_entry *to_entry(struct kobject *kobj) in to_entry() function 101 struct dmi_sysfs_entry *entry = to_entry(kobj); in dmi_sysfs_attr_show() 225 return find_dmi_entry(to_entry(kobj->parent), in dmi_entry_attr_show() 438 struct dmi_sysfs_entry *entry = to_entry(kobj->parent); in dmi_sel_raw_read() 545 struct dmi_sysfs_entry *entry = to_entry(kobj); in dmi_entry_raw_read() 562 struct dmi_sysfs_entry *entry = to_entry(kobj); in dmi_sysfs_entry_release()
|
D | qemu_fw_cfg.c | 349 static inline struct fw_cfg_sysfs_entry *to_entry(struct kobject *kobj) in to_entry() function 436 struct fw_cfg_sysfs_entry *entry = to_entry(kobj); in fw_cfg_sysfs_attr_show() 449 struct fw_cfg_sysfs_entry *entry = to_entry(kobj); in fw_cfg_sysfs_release_entry() 466 struct fw_cfg_sysfs_entry *entry = to_entry(kobj); in fw_cfg_sysfs_read_raw()
|
/linux-6.12.1/drivers/firmware/efi/ |
D | esrt.c | 82 static struct esre_entry *to_entry(struct kobject *kobj) in to_entry() function 95 struct esre_entry *entry = to_entry(kobj); in esre_attr_show() 149 struct esre_entry *entry = to_entry(kobj); in esre_release()
|
/linux-6.12.1/drivers/md/ |
D | dm-cache-policy-smq.c | 102 static struct entry *to_entry(struct entry_space *es, unsigned int block) in to_entry() function 125 return to_entry(es, l->head); in l_head() 130 return to_entry(es, l->tail); in l_tail() 135 return to_entry(es, e->next); in l_next() 140 return to_entry(es, e->prev); in l_prev() 610 return to_entry(ht->es, ht->buckets[bucket]); in h_head() 615 return to_entry(ht->es, e->hash_next); in h_next()
|