Searched refs:edac_align_ptr (Results 1 – 4 of 4) sorted by relevance
/drivers/edac/ |
D | edac_device.c | 78 dev_ctl = edac_align_ptr(&p, sizeof(*dev_ctl), 1); in edac_device_alloc_ctl_info() 83 dev_inst = edac_align_ptr(&p, sizeof(*dev_inst), nr_instances); in edac_device_alloc_ctl_info() 89 dev_blk = edac_align_ptr(&p, sizeof(*dev_blk), count); in edac_device_alloc_ctl_info() 97 dev_attrib = edac_align_ptr(&p, sizeof(*dev_attrib), count); in edac_device_alloc_ctl_info() 100 pvt = edac_align_ptr(&p, sz_private, 1); in edac_device_alloc_ctl_info()
|
D | edac_mc.c | 239 void *edac_align_ptr(void **p, unsigned int size, int n_elems) in edac_align_ptr() function 344 mci = edac_align_ptr(&ptr, sizeof(*mci), 1); in edac_mc_alloc() 345 layer = edac_align_ptr(&ptr, sizeof(*layer), n_layers); in edac_mc_alloc() 349 ce_per_layer[i] = edac_align_ptr(&ptr, sizeof(u32), count); in edac_mc_alloc() 350 ue_per_layer[i] = edac_align_ptr(&ptr, sizeof(u32), count); in edac_mc_alloc() 355 pvt = edac_align_ptr(&ptr, sz_pvt, 1); in edac_mc_alloc()
|
D | edac_pci.c | 40 pci = edac_align_ptr(&p, sizeof(*pci), 1); in edac_pci_alloc_ctl_info() 41 pvt = edac_align_ptr(&p, 1, sz_pvt); in edac_pci_alloc_ctl_info()
|
D | edac_module.h | 63 extern void *edac_align_ptr(void **p, unsigned size, int n_elems);
|