Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/edac/
H A Dedac_device.c81 dev_ctl = edac_align_ptr(&p, sizeof(*dev_ctl), 1); in edac_device_alloc_ctl_info()
86 dev_inst = edac_align_ptr(&p, sizeof(*dev_inst), nr_instances); in edac_device_alloc_ctl_info()
92 dev_blk = edac_align_ptr(&p, sizeof(*dev_blk), count); in edac_device_alloc_ctl_info()
100 dev_attrib = edac_align_ptr(&p, sizeof(*dev_attrib), count); in edac_device_alloc_ctl_info()
103 pvt = edac_align_ptr(&p, sz_private, 1); in edac_device_alloc_ctl_info()
H A 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()
H A Dedac_module.h62 extern void *edac_align_ptr(void **p, unsigned size, int n_elems);
H A Dedac_mc.c169 * edac_align_ptr - Prepares the pointer offsets for a single-shot allocation
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()

Completed in 4 milliseconds