Home
last modified time | relevance | path

Searched refs:edac_align_ptr (Results 1 – 4 of 4) sorted by relevance

/drivers/edac/
Dedac_device.c78 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()
Dedac_mc.c239 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()
Dedac_pci.c40 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()
Dedac_module.h63 extern void *edac_align_ptr(void **p, unsigned size, int n_elems);