Searched refs:maxdevnodes (Results 1 – 1 of 1) sorted by relevance
268 int maxdevnodes = ARRAY_SIZE(dev->devnodes) / sizeof(dev->devnodes[0]); in DEVMAJORMINOR_ATTR() local270 if (slot < 0 || slot >= maxdevnodes) in DEVMAJORMINOR_ATTR()312 int maxdevnodes = ARRAY_SIZE(dev->devnodes) / sizeof(dev->devnodes[0]); in devmajorminor_create_file() local317 for (slot = 0; slot < maxdevnodes; slot++) in devmajorminor_create_file()320 if (slot == maxdevnodes) { in devmajorminor_create_file()355 int maxdevnodes = ARRAY_SIZE(dev->devnodes) / sizeof(dev->devnodes[0]); in devmajorminor_remove_file() local358 if (slot < 0 || slot >= maxdevnodes) in devmajorminor_remove_file()373 int maxdevnodes = ARRAY_SIZE(dev->devnodes) / sizeof(dev->devnodes[0]); in devmajorminor_remove_all_files() local375 for (i = 0; i < maxdevnodes; i++) in devmajorminor_remove_all_files()