Home
last modified time | relevance | path

Searched refs:cma_kobj (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/mm/
Dcma_sysfs.c54 struct cma_kobject *cma_kobj = cma->cma_kobj; in cma_kobj_release() local
56 kfree(cma_kobj); in cma_kobj_release()
57 cma->cma_kobj = NULL; in cma_kobj_release()
76 struct cma_kobject *cma_kobj; in cma_sysfs_init() local
85 cma_kobj = kzalloc(sizeof(*cma_kobj), GFP_KERNEL); in cma_sysfs_init()
86 if (!cma_kobj) { in cma_sysfs_init()
92 cma->cma_kobj = cma_kobj; in cma_sysfs_init()
93 cma_kobj->cma = cma; in cma_sysfs_init()
94 err = kobject_init_and_add(&cma_kobj->kobj, &cma_ktype, in cma_sysfs_init()
97 kobject_put(&cma_kobj->kobj); in cma_sysfs_init()
[all …]
Dcma.h31 struct cma_kobject *cma_kobj; member