Searched refs:memdesc (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/scsi/esas2r/ |
D | esas2r_init.c | 106 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() 437 struct esas2r_mem_desc *memdesc, *next; in esas2r_adapter_power_down() local 512 list_for_each_entry_safe(memdesc, next, &a->free_sg_list_head, in esas2r_adapter_power_down() [all …]
|
/linux-6.12.1/arch/alpha/kernel/ |
D | setup.c | 240 #define for_each_mem_cluster(memdesc, _cluster, i) \ argument 241 for ((_cluster) = (memdesc)->cluster, (i) = 0; \ 242 (i) < (memdesc)->numclusters; (i)++, (_cluster)++) 289 struct memdesc_struct * memdesc; in setup_memory() local 294 memdesc = (struct memdesc_struct *) in setup_memory() 297 for_each_mem_cluster(memdesc, cluster, i) { in setup_memory() 373 struct memdesc_struct * memdesc; in page_is_ram() local 376 memdesc = (struct memdesc_struct *) in page_is_ram() 378 for_each_mem_cluster(memdesc, cluster, i) in page_is_ram()
|