Home
last modified time | relevance | path

Searched refs:to_entry (Results 1 – 7 of 7) sorted by relevance

/linux-6.15/fs/bcachefs/
H A Dextents.h28 #define to_entry(_entry) \ macro
168 switch (extent_entry_type(to_entry(crc))) { in bch2_extent_crc_unpack()
235 to_entry(&e.v->start[0]), in bch2_bkey_ptrs_c()
236 to_entry(extent_entry_last(e)) in bch2_bkey_ptrs_c()
251 to_entry(&s.v->ptrs[0]), in bch2_bkey_ptrs_c()
252 to_entry(&s.v->ptrs[s.v->nr_blocks]), in bch2_bkey_ptrs_c()
267 to_entry(&e.v->start[0]), in bch2_bkey_ptrs_c()
268 to_entry(extent_entry_last(e)) in bch2_bkey_ptrs_c()
295 __bkey_extent_entry_for_each_from(to_entry(_ptr), _end, _entry) \
H A Dextents.c832 __extent_entry_insert(k, pos, to_entry(&p->ptr)); in bch2_extent_ptr_decoded_append()
836 __extent_entry_insert(k, pos, to_entry(&p->ec)); in bch2_extent_ptr_decoded_append()
859 union bch_extent_entry *entry = to_entry(ptr), *next; in bch2_bkey_drop_ptr_noerror()
H A Dio_write.c478 if (to_entry(ptr + 1) < ptrs.end) { in bch2_submit_wbio_replicas()
/linux-6.15/drivers/firmware/
H A Ddmi-sysfs.c88 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 raw_event_log_read()
542 struct dmi_sysfs_entry *entry = to_entry(kobj); in raw_read()
556 struct dmi_sysfs_entry *entry = to_entry(kobj); in dmi_sysfs_entry_release()
H A Dqemu_fw_cfg.c349 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.15/drivers/firmware/efi/
H A Desrt.c80 static struct esre_entry *to_entry(struct kobject *kobj) in to_entry() function
93 struct esre_entry *entry = to_entry(kobj); in esre_attr_show()
147 struct esre_entry *entry = to_entry(kobj); in esre_release()
/linux-6.15/drivers/md/
H A Ddm-cache-policy-smq.c102 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()