| /src/sys/dev/iommu/ |
| H A D | iommu_gas.c | 162 if ((child = RB_LEFT(entry, rb_entry)) != NULL) { in iommu_gas_augment_entry() 169 if ((child = RB_RIGHT(entry, rb_entry)) != NULL) { in iommu_gas_augment_entry() 187 RB_GENERATE(iommu_gas_entries_tree, iommu_map_entry, rb_entry, 201 l = RB_LEFT(entry, rb_entry); in iommu_gas_check_free() 202 r = RB_RIGHT(entry, rb_entry); in iommu_gas_check_free() 224 if (RB_RIGHT(entry, rb_entry) != NULL) in iommu_gas_rb_remove() 226 else if (RB_LEFT(entry, rb_entry) != NULL) in iommu_gas_rb_remove() 227 nbr = RB_LEFT(entry, rb_entry); in iommu_gas_rb_remove() 229 nbr = RB_PARENT(entry, rb_entry); in iommu_gas_rb_remove() 386 if ((next = RB_RIGHT(curr, rb_entry)) != NULL && in iommu_gas_next() [all …]
|
| H A D | iommu.h | 45 RB_PROTOTYPE(iommu_gas_entries_tree, iommu_map_entry, rb_entry, 65 RB_ENTRY(iommu_map_entry) rb_entry; /* Links for domain entries */
|
| /src/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 | 67 #define rb_entry(ptr, type, member) container_of(ptr, type, member) macro 69 ((ptr) != NULL ? rb_entry(ptr, type, member) : NULL)
|
| /src/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()
|
| /src/sys/dev/mlx5/mlx5_core/ |
| H A D | mlx5_pagealloc.c | 216 tfp = rb_entry(parent, struct mlx5_fw_page, rb_node); in mlx5_insert_fw_page_locked() 239 tfp = rb_entry(tmp, struct mlx5_fw_page, rb_node); in mlx5_remove_fw_page_locked() 403 fwp = rb_entry(p, struct mlx5_fw_page, rb_node); in reclaim_pages_cmd() 569 fwp = rb_entry(p, struct mlx5_fw_page, rb_node); in mlx5_reclaim_startup_pages()
|
| /src/sys/ofed/drivers/infiniband/core/ |
| H A D | ib_multicast.c | 142 group = rb_entry(node, struct mcast_group, node); in mcast_find() 166 cur_group = rb_entry(parent, struct mcast_group, node); in mcast_insert() 773 group = rb_entry(node, struct mcast_group, node); in mcast_groups_event()
|
| H A D | ib_cm.c | 635 cur_cm_id_priv = rb_entry(parent, struct cm_id_private, in cm_insert_listen() 665 cm_id_priv = rb_entry(node, struct cm_id_private, service_node); in cm_find_listen() 696 cur_timewait_info = rb_entry(parent, struct cm_timewait_info, in cm_insert_remote_id() 722 timewait_info = rb_entry(node, struct cm_timewait_info, in cm_find_remote_id() 749 cur_timewait_info = rb_entry(parent, struct cm_timewait_info, in cm_insert_remote_qpn() 779 cur_cm_id_priv = rb_entry(parent, struct cm_id_private, in cm_insert_remote_sidr()
|
| H A D | ib_uverbs_cmd.c | 505 scan = rb_entry(parent, struct xrcd_table_entry, node); in xrcd_table_insert() 530 entry = rb_entry(p, struct xrcd_table_entry, node); in xrcd_table_search()
|
| /src/sys/ofed/drivers/infiniband/ulp/ipoib/ |
| H A D | ipoib_multicast.c | 109 mcast = rb_entry(n, struct ipoib_mcast, rb_node); in __ipoib_mcast_find() 134 tmcast = rb_entry(pn, struct ipoib_mcast, rb_node); in __ipoib_mcast_add() 895 mcast = rb_entry(n, struct ipoib_mcast, rb_node); in ipoib_mcast_iter_next()
|
| H A D | ipoib_main.c | 344 path = rb_entry(n, struct ipoib_path, rb_node); in __path_find() 370 tpath = rb_entry(pn, struct ipoib_path, rb_node); in __path_add() 439 path = rb_entry(n, struct ipoib_path, rb_node); in ipoib_path_iter_next()
|
| /src/sys/x86/iommu/ |
| H A D | iommu_utils.c | 782 l = RB_LEFT(entry, rb_entry); in iommu_db_print_domain_entry() 788 r = RB_RIGHT(entry, rb_entry); in iommu_db_print_domain_entry()
|
| /src/sys/dev/mlx4/mlx4_core/ |
| H A D | mlx4_resource_tracker.c | 5005 fs_rule = rb_entry(p, struct res_fs_rule, com.node); in mlx4_mirror_fs_rules()
|