Lines Matching defs:num
52 size_t num;
97 for (i = 0; i < match->num; i++) {
183 for (i = 0; i < match->num; i++) {
215 for (i = 0; i < adev->match->num; i++)
349 for (i = 0; i < match->num; i++) {
359 static int component_match_realloc(struct component_match *match, size_t num)
363 if (match->alloc == num)
366 new = kmalloc_array(num, sizeof(*new), GFP_KERNEL);
372 min(match->num, num));
376 match->alloc = num;
406 if (match->num == match->alloc) {
417 match->compare[match->num].compare = compare;
418 match->compare[match->num].compare_typed = compare_typed;
419 match->compare[match->num].release = release;
420 match->compare[match->num].data = compare_data;
421 match->compare[match->num].component = NULL;
422 match->num++;
490 for (i = 0; i < match->num; i++) {
520 ret = component_match_realloc(match, match->num);
607 for (i = adev->match->num; i--; )
691 for (i = 0; i < adev->match->num; i++)