Searched refs:edac_align_ptr (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/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_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 | 62 extern void *edac_align_ptr(void **p, unsigned size, int n_elems);
|
D | edac_mc.c | 186 void *edac_align_ptr(void **p, unsigned int size, int n_elems) in edac_align_ptr() function 422 mci = edac_align_ptr(&ptr, sizeof(*mci), 1); in edac_mc_alloc() 423 layer = edac_align_ptr(&ptr, sizeof(*layer), n_layers); in edac_mc_alloc() 424 pvt = edac_align_ptr(&ptr, sz_pvt, 1); in edac_mc_alloc()
|