Searched refs:cma_kobj (Results 1 – 2 of 2) sorted by relevance
54 struct cma_kobject *cma_kobj = cma->cma_kobj; in cma_kobj_release() local56 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() local85 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 …]
31 struct cma_kobject *cma_kobj; member