Home
last modified time | relevance | path

Searched refs:memdesc (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/scsi/esas2r/
Desas2r_init.c106 struct esas2r_mem_desc *memdesc = kzalloc( in alloc_vda_req() local
109 if (memdesc == NULL) { in alloc_vda_req()
114 memdesc->size = sizeof(union atto_vda_req) + in alloc_vda_req()
117 if (!esas2r_initmem_alloc(a, memdesc, 256)) { in alloc_vda_req()
119 kfree(memdesc); in alloc_vda_req()
124 list_add(&memdesc->next_desc, &a->vrq_mds_head); in alloc_vda_req()
126 rq->vrq_md = memdesc; in alloc_vda_req()
127 rq->vrq = (union atto_vda_req *)memdesc->virt_addr; in alloc_vda_req()
438 struct esas2r_mem_desc *memdesc, *next; in esas2r_adapter_power_down() local
513 list_for_each_entry_safe(memdesc, next, &a->free_sg_list_head, in esas2r_adapter_power_down()
[all …]
/linux-5.19.10/arch/alpha/kernel/
Dsetup.c258 #define for_each_mem_cluster(memdesc, _cluster, i) \ argument
259 for ((_cluster) = (memdesc)->cluster, (i) = 0; \
260 (i) < (memdesc)->numclusters; (i)++, (_cluster)++)
307 struct memdesc_struct * memdesc; in setup_memory() local
312 memdesc = (struct memdesc_struct *) in setup_memory()
315 for_each_mem_cluster(memdesc, cluster, i) { in setup_memory()
392 struct memdesc_struct * memdesc; in page_is_ram() local
395 memdesc = (struct memdesc_struct *) in page_is_ram()
397 for_each_mem_cluster(memdesc, cluster, i) in page_is_ram()