| /freebsd-13.1/sys/dev/iommu/ |
| H A D | iommu_gas.c | 149 if ((child = RB_LEFT(entry, rb_entry)) != NULL) { in iommu_gas_augment_entry() 156 if ((child = RB_RIGHT(entry, rb_entry)) != NULL) { in iommu_gas_augment_entry() 165 RB_GENERATE(iommu_gas_entries_tree, iommu_map_entry, rb_entry, 179 l = RB_LEFT(entry, rb_entry); in iommu_gas_check_free() 180 r = RB_RIGHT(entry, rb_entry); in iommu_gas_check_free() 380 child = RB_RIGHT(entry, rb_entry); in iommu_gas_lowermatch() 391 child = RB_LEFT(entry, rb_entry); in iommu_gas_lowermatch() 400 child = RB_RIGHT(entry, rb_entry); in iommu_gas_lowermatch() 415 child = RB_LEFT(entry, rb_entry); in iommu_gas_uppermatch() 424 child = RB_RIGHT(entry, rb_entry); in iommu_gas_uppermatch()
|
| H A D | iommu.h | 43 RB_PROTOTYPE(iommu_gas_entries_tree, iommu_map_entry, rb_entry, 60 RB_ENTRY(iommu_map_entry) rb_entry; /* Links for domain entries */
|
| /freebsd-13.1/sys/compat/linuxkpi/common/include/linux/ |
| H A D | interval_tree_generic.h | 46 node = rb_entry(rb, type, field); \ 81 iter_node = rb_entry(parent, type, field); \
|
| H A D | rbtree.h | 69 #define rb_entry(ptr, type, member) container_of(ptr, type, member) macro 71 ((ptr) != NULL ? rb_entry(ptr, type, member) : NULL)
|
| /freebsd-13.1/sys/dev/mlx4/mlx4_ib/ |
| H A D | mlx4_ib_cm.c | 151 rb_entry(node, struct id_map_entry, node); in id_map_find_by_sl_id() 230 ent = rb_entry(parent, struct id_map_entry, node); in sl_id_map_add() 441 rb_entry(rb_first(sl_id_map), in mlx4_ib_cm_paravirt_clean() 453 rb_entry(nd, struct id_map_entry, node); in mlx4_ib_cm_paravirt_clean()
|
| H A D | mlx4_ib_mcg.c | 170 group = rb_entry(node, struct mcast_group, node); in mcast_find() 193 cur_group = rb_entry(parent, struct mcast_group, node); in mcast_insert() 1107 group = rb_entry(p, struct mcast_group, node); in _mlx4_ib_mcg_port_cleanup() 1238 group = rb_entry(p, struct mcast_group, node); in clean_vf_mcast()
|
| /freebsd-13.1/sys/dev/mlx5/mlx5_core/ |
| H A D | mlx5_pagealloc.c | 218 tfp = rb_entry(parent, struct mlx5_fw_page, rb_node); in mlx5_insert_fw_page_locked() 241 tfp = rb_entry(tmp, struct mlx5_fw_page, rb_node); in mlx5_remove_fw_page_locked() 405 fwp = rb_entry(p, struct mlx5_fw_page, rb_node); in reclaim_pages_cmd() 568 fwp = rb_entry(p, struct mlx5_fw_page, rb_node); in mlx5_reclaim_startup_pages()
|
| /freebsd-13.1/sys/ofed/drivers/infiniband/core/ |
| H A D | ib_multicast.c | 144 group = rb_entry(node, struct mcast_group, node); in mcast_find() 168 cur_group = rb_entry(parent, struct mcast_group, node); in mcast_insert() 775 group = rb_entry(node, struct mcast_group, node); in mcast_groups_event()
|
| H A D | ib_cm.c | 637 cur_cm_id_priv = rb_entry(parent, struct cm_id_private, in cm_insert_listen() 667 cm_id_priv = rb_entry(node, struct cm_id_private, service_node); in cm_find_listen() 698 cur_timewait_info = rb_entry(parent, struct cm_timewait_info, in cm_insert_remote_id() 724 timewait_info = rb_entry(node, struct cm_timewait_info, in cm_find_remote_id() 751 cur_timewait_info = rb_entry(parent, struct cm_timewait_info, in cm_insert_remote_qpn() 781 cur_cm_id_priv = rb_entry(parent, struct cm_id_private, in cm_insert_remote_sidr()
|
| H A D | ib_uverbs_cmd.c | 690 scan = rb_entry(parent, struct xrcd_table_entry, node); in xrcd_table_insert() 715 entry = rb_entry(p, struct xrcd_table_entry, node); in xrcd_table_search()
|
| /freebsd-13.1/sys/ofed/drivers/infiniband/ulp/ipoib/ |
| H A D | ipoib_multicast.c | 111 mcast = rb_entry(n, struct ipoib_mcast, rb_node); in __ipoib_mcast_find() 136 tmcast = rb_entry(pn, struct ipoib_mcast, rb_node); in __ipoib_mcast_add() 897 mcast = rb_entry(n, struct ipoib_mcast, rb_node); in ipoib_mcast_iter_next()
|
| H A D | ipoib_main.c | 347 path = rb_entry(n, struct ipoib_path, rb_node); in __path_find() 373 tpath = rb_entry(pn, struct ipoib_path, rb_node); in __path_add() 442 path = rb_entry(n, struct ipoib_path, rb_node); in ipoib_path_iter_next()
|
| /freebsd-13.1/sys/x86/iommu/ |
| H A D | intel_drv.c | 1097 l = RB_LEFT(entry, rb_entry); in dmar_print_domain_entry() 1103 r = RB_RIGHT(entry, rb_entry); in dmar_print_domain_entry()
|
| /freebsd-13.1/sys/dev/mlx4/mlx4_core/ |
| H A D | mlx4_resource_tracker.c | 5003 fs_rule = rb_entry(p, struct res_fs_rule, com.node); in mlx4_mirror_fs_rules()
|