Searched refs:edac_align_ptr (Results 1 - 4 of 4) sorted by relevance
/drivers/edac/ |
H A D | edac_module.h | 57 extern void *edac_align_ptr(void **p, unsigned size, int n_elems);
|
H A D | edac_device.c | 96 dev_ctl = edac_align_ptr(&p, sizeof(*dev_ctl), 1); 101 dev_inst = edac_align_ptr(&p, sizeof(*dev_inst), nr_instances); 107 dev_blk = edac_align_ptr(&p, sizeof(*dev_blk), count); 115 dev_attrib = edac_align_ptr(&p, sizeof(*dev_attrib), count); 118 pvt = edac_align_ptr(&p, sz_private, 1);
|
H A D | edac_pci.c | 50 pci = edac_align_ptr(&p, sizeof(*pci), 1); 51 pvt = edac_align_ptr(&p, 1, sz_pvt);
|
H A D | edac_mc.c | 153 * edac_align_ptr - Prepares the pointer offsets for a single-shot allocation 170 void *edac_align_ptr(void **p, unsigned size, int n_elems) function 300 mci = edac_align_ptr(&ptr, sizeof(*mci), 1); 301 layer = edac_align_ptr(&ptr, sizeof(*layer), n_layers); 305 ce_per_layer[i] = edac_align_ptr(&ptr, sizeof(u32), count); 306 ue_per_layer[i] = edac_align_ptr(&ptr, sizeof(u32), count); 311 pvt = edac_align_ptr(&ptr, sz_pvt, 1);
|
Completed in 95 milliseconds