Home
last modified time | relevance | path

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

/openbmc/linux/drivers/misc/ocxl/
H A Dfile.c19 static struct idr minors_idr; variable
26 info = idr_find(&minors_idr, MINOR(devno)); in find_and_get_file_info()
38 minor = idr_alloc(&minors_idr, info, 0, OCXL_NUM_MINORS, GFP_KERNEL); in allocate_minor()
46 idr_remove(&minors_idr, MINOR(info->dev.devt)); in free_minor()
596 idr_init(&minors_idr); in ocxl_file_init()
619 idr_destroy(&minors_idr); in ocxl_file_exit()