• Home
  • Raw
  • Download

Lines Matching refs:iter

356 	struct radix_tree_iter iter;  in uapi_finalize_ioctl_method()  local
363 radix_tree_for_each_slot (slot, &uapi->radix, &iter, in uapi_finalize_ioctl_method()
367 u32 attr_key = iter.index & UVERBS_API_ATTR_KEY_MASK; in uapi_finalize_ioctl_method()
371 if (uapi_key_attr_to_ioctl_method(iter.index) != in uapi_finalize_ioctl_method()
420 struct radix_tree_iter iter; in uapi_finalize() local
425 radix_tree_for_each_slot (slot, &uapi->radix, &iter, 0) { in uapi_finalize()
429 if (uapi_key_is_ioctl_method(iter.index)) { in uapi_finalize()
431 iter.index); in uapi_finalize()
436 if (uapi_key_is_write_method(iter.index)) in uapi_finalize()
438 iter.index & UVERBS_API_ATTR_KEY_MASK); in uapi_finalize()
439 if (uapi_key_is_write_ex_method(iter.index)) in uapi_finalize()
442 iter.index & UVERBS_API_ATTR_KEY_MASK); in uapi_finalize()
458 radix_tree_for_each_slot (slot, &uapi->radix, &iter, 0) { in uapi_finalize()
459 if (uapi_key_is_write_method(iter.index)) in uapi_finalize()
460 uapi->write_methods[iter.index & in uapi_finalize()
463 if (uapi_key_is_write_ex_method(iter.index)) in uapi_finalize()
464 uapi->write_ex_methods[iter.index & in uapi_finalize()
474 struct radix_tree_iter iter; in uapi_remove_range() local
477 radix_tree_for_each_slot (slot, &uapi->radix, &iter, start) { in uapi_remove_range()
478 if (iter.index > last) in uapi_remove_range()
481 radix_tree_iter_delete(&uapi->radix, &iter, slot); in uapi_remove_range()
528 struct radix_tree_iter iter; in uapi_finalize_disable() local
534 radix_tree_for_each_slot (slot, &uapi->radix, &iter, starting_key) { in uapi_finalize_disable()
535 uapi_key_okay(iter.index); in uapi_finalize_disable()
537 if (uapi_key_is_object(iter.index)) { in uapi_finalize_disable()
544 starting_key = iter.index; in uapi_finalize_disable()
545 uapi_remove_object(uapi, iter.index); in uapi_finalize_disable()
551 if (uapi_key_is_ioctl_method(iter.index)) { in uapi_finalize_disable()
556 starting_key = iter.index; in uapi_finalize_disable()
557 uapi_remove_method(uapi, iter.index); in uapi_finalize_disable()
563 if (uapi_key_is_write_method(iter.index) || in uapi_finalize_disable()
564 uapi_key_is_write_ex_method(iter.index)) { in uapi_finalize_disable()
570 radix_tree_iter_delete(&uapi->radix, &iter, slot); in uapi_finalize_disable()
575 if (uapi_key_is_attr(iter.index)) { in uapi_finalize_disable()
600 starting_key = iter.index; in uapi_finalize_disable()
603 iter.index & (UVERBS_API_OBJ_KEY_MASK | in uapi_finalize_disable()
687 struct radix_tree_iter iter; in uverbs_disassociate_api_pre() local
692 radix_tree_for_each_slot (slot, &uapi->radix, &iter, 0) { in uverbs_disassociate_api_pre()
693 if (uapi_key_is_ioctl_method(iter.index)) { in uverbs_disassociate_api_pre()
712 struct radix_tree_iter iter; in uverbs_disassociate_api() local
715 radix_tree_for_each_slot (slot, &uapi->radix, &iter, 0) { in uverbs_disassociate_api()
716 if (uapi_key_is_object(iter.index)) { in uverbs_disassociate_api()
726 } else if (uapi_key_is_attr(iter.index)) { in uverbs_disassociate_api()