| /freebsd-13-stable/sys/vm/ |
| HD | vm_radix.c | 125 struct vm_radix_node *rnode; in vm_radix_node_get() local 127 rnode = uma_zalloc_smr(vm_radix_node_zone, M_NOWAIT); in vm_radix_node_get() 128 if (rnode == NULL) in vm_radix_node_get() 136 if (rnode->rn_last != 0) { in vm_radix_node_get() 137 vm_radix_node_store(&rnode->rn_child[rnode->rn_last - 1], in vm_radix_node_get() 139 rnode->rn_last = 0; in vm_radix_node_get() 141 rnode->rn_owner = owner; in vm_radix_node_get() 142 rnode->rn_count = count; in vm_radix_node_get() 143 rnode->rn_clev = clevel; in vm_radix_node_get() 144 return (rnode); in vm_radix_node_get() [all …]
|
| /freebsd-13-stable/sys/compat/linuxkpi/common/src/ |
| HD | linux_radix.c | 60 if (root->rnode->count == 0) { in radix_tree_clean_root_node() 61 free(root->rnode, M_RADIX); in radix_tree_clean_root_node() 62 root->rnode = NULL; in radix_tree_clean_root_node() 75 node = root->rnode; in radix_tree_lookup() 97 node = root->rnode; in radix_tree_iter_find() 137 node = root->rnode; in radix_tree_delete() 161 if (node == root->rnode) { in radix_tree_delete() 162 root->rnode = NULL; in radix_tree_delete() 194 node = root->rnode; in radix_tree_insert() 201 root->rnode = node; in radix_tree_insert() [all …]
|
| /freebsd-13-stable/sys/compat/linuxkpi/common/include/linux/ |
| HD | radix-tree.h | 50 struct radix_tree_node *rnode; member 60 { .rnode = NULL, .gfp_mask = mask, .height = 0 }; 62 { (root)->rnode = NULL; (root)->gfp_mask = mask; (root)->height = 0; }
|
| /freebsd-13-stable/sys/mips/mediatek/ |
| HD | fdt_reset.c | 53 phandle_t rnode; in assert_deassert_all() local 59 rnode = ofw_bus_get_node(consumer); in assert_deassert_all() 60 ncells = OF_getencprop_alloc_multi(rnode, "resets", sizeof(*resets), in assert_deassert_all()
|
| /freebsd-13-stable/sbin/rcorder/ |
| HD | rcorder.c | 151 static void satisfy_req(f_reqnode *rnode, filenode *fnode, strnodelist *); 292 f_reqnode *rnode; in add_require() local 298 rnode = emalloc(sizeof(*rnode)); in add_require() 299 rnode->entry = entry; in add_require() 300 rnode->next = fnode->req_list; in add_require() 301 fnode->req_list = rnode; in add_require() 595 f_reqnode *rnode; in insert_before() local 617 rnode = emalloc(sizeof(*rnode)); in insert_before() 618 rnode->entry = fake_prov_entry; in insert_before() 619 rnode->next = pnode->fnode->req_list; in insert_before() [all …]
|
| /freebsd-13-stable/sys/dev/ocs_fc/ |
| HD | ocs_fabric.c | 1185 rc = ocs_hw_node_detach(&ocs->hw, &node->rnode); in ocs_fabric_initiate_shutdown() 1186 if (node->rnode.free_group) { in ocs_fabric_initiate_shutdown() 1189 node->rnode.free_group = FALSE; in ocs_fabric_initiate_shutdown() 1351 ocs_node_t *rnode; in __ocs_p2p_wait_domain_attach() local 1358 rnode = ocs_node_find(sport, node->sport->p2p_remote_port_id); in __ocs_p2p_wait_domain_attach() 1359 if (rnode != NULL) { in __ocs_p2p_wait_domain_attach() 1362 node_printf(node, "Node with fc_id x%x already exists\n", rnode->rnode.fc_id); in __ocs_p2p_wait_domain_attach() 1363 ocs_assert (rnode != node, NULL); in __ocs_p2p_wait_domain_attach() 1366 rnode = ocs_node_alloc(sport, sport->p2p_remote_port_id, FALSE, FALSE); in __ocs_p2p_wait_domain_attach() 1367 if (rnode == NULL) { in __ocs_p2p_wait_domain_attach() [all …]
|
| HD | ocs_node.c | 116 ocs_remote_node_t *rnode = data; in ocs_remote_node_cb() local 117 ocs_node_t *node = rnode->node; in ocs_remote_node_cb() 154 if ((!n->rnode.attached) && (node->node_group == n->node_group)) { in ocs_remote_node_cb() 155 n->rnode.attached = attach_ok; in ocs_remote_node_cb() 157 n->rnode.index, attach_ok ? "ok" : "fail"); in ocs_remote_node_cb() 273 node->rnode.indicator = UINT32_MAX; in ocs_node_create_pool() 403 node->rnode.indicator = UINT32_MAX; in ocs_node_alloc() 412 rc = ocs_hw_node_alloc(&ocs->hw, &node->rnode, port_id, sport); in ocs_node_alloc() 438 node->rnode.node = node; in ocs_node_alloc() 496 if (OCS_HW_RTN_IS_ERROR((rc = ocs_hw_node_free_resources(&ocs->hw, &node->rnode)))) { in ocs_node_free() [all …]
|
| HD | ocs_hw.c | 2415 hw->callback.rnode = func; in ocs_hw_callback() 2416 hw->args.rnode = arg; in ocs_hw_callback() 2946 ocs_hw_node_alloc(ocs_hw_t *hw, ocs_remote_node_t *rnode, uint32_t fc_addr, in ocs_hw_node_alloc() argument 2950 if (UINT32_MAX != rnode->indicator) { in ocs_hw_node_alloc() 2952 fc_addr, rnode->indicator); in ocs_hw_node_alloc() 2965 rnode->sport = NULL; in ocs_hw_node_alloc() 2967 if (sli_resource_alloc(&hw->sli, SLI_RSRC_FCOE_RPI, &rnode->indicator, &rnode->index)) { in ocs_hw_node_alloc() 2973 rnode->fc_id = fc_addr; in ocs_hw_node_alloc() 2974 rnode->sport = sport; in ocs_hw_node_alloc() 2990 ocs_hw_node_attach(ocs_hw_t *hw, ocs_remote_node_t *rnode, ocs_dma_t *sparms) in ocs_hw_node_attach() argument [all …]
|
| HD | sli4.c | 6602 uint16_t xri, uint16_t tag, uint16_t cq_id, ocs_remote_node_t *rnode) in sli_els_request64_wqe() argument 6640 if (rnode->node_group) { in sli_els_request64_wqe() 6642 els->remote_id = rnode->fc_id & 0x00ffffff; in sli_els_request64_wqe() 6654 if (rnode->attached) { in sli_els_request64_wqe() 6656 els->context_tag = rnode->indicator; in sli_els_request64_wqe() 6659 els->context_tag = rnode->sport->indicator; in sli_els_request64_wqe() 6661 if (FC_ADDR_FABRIC == rnode->fc_id) { in sli_els_request64_wqe() 6666 if (FC_ADDR_FABRIC == rnode->fc_id) { in sli_els_request64_wqe() 6669 if (0 == rnode->sport->fc_id) { in sli_els_request64_wqe() 6676 els->context_tag = rnode->sport->indicator; in sli_els_request64_wqe() [all …]
|
| HD | ocs_els.c | 60 static int32_t ocs_els_acc_cb(ocs_hw_io_t *hio, ocs_remote_node_t *rnode, uint32_t length, int32_t … 62 static int32_t ocs_bls_send_acc_cb(ocs_hw_io_t *hio, ocs_remote_node_t *rnode, uint32_t length, 452 ocs_els_req_cb(ocs_hw_io_t *hio, ocs_remote_node_t *rnode, uint32_t length, int32_t status, uint32_… in ocs_els_req_cb() argument 545 ocs_els_acc_cb(ocs_hw_io_t *hio, ocs_remote_node_t *rnode, uint32_t length, int32_t status, uint32_… in ocs_els_acc_cb() argument 929 logo->port_id = fc_htobe24(node->rnode.sport->fc_id); in ocs_send_logo() 994 adisc->port_id = fc_htobe24(node->rnode.sport->fc_id); in ocs_send_adisc() 1680 adisc->port_id = fc_htobe24(node->rnode.sport->fc_id); in ocs_send_adisc_acc() 1733 rftid->port_id = ocs_htobe32(node->rnode.sport->fc_id); in ocs_ns_send_rftid() 1786 rffid->port_id = ocs_htobe32(node->rnode.sport->fc_id); in ocs_ns_send_rffid() 1907 if (node->rnode.sport->fc_id == s_id) { in ocs_bls_send_acc() [all …]
|
| HD | ocs_scsi.c | 72 static int32_t ocs_scsi_abort_io_cb(struct ocs_hw_io_s *hio, ocs_remote_node_t *rnode, uint32_t len… 316 ocs_target_io_cb(ocs_hw_io_t *hio, ocs_remote_node_t *rnode, uint32_t length, in ocs_target_io_cb() argument 1323 … = ocs_hw_io_send(&io->ocs->hw, io->hio_type, io->hio, io->wire_len, &io->iparam, &io->node->rnode, in ocs_scsi_io_dispatch_hw_io() 1331 &io->els_rsp, &io->node->rnode, &io->iparam, in ocs_scsi_io_dispatch_hw_io() 1338 NULL, &io->node->rnode, &io->iparam, in ocs_scsi_io_dispatch_hw_io() 1346 NULL, 0, NULL, &io->node->rnode, &io->iparam, io->hw_cb, io); in ocs_scsi_io_dispatch_hw_io() 1846 ocs_target_abort_cb(ocs_hw_io_t *hio, ocs_remote_node_t *rnode, uint32_t length, int32_t status, ui… in ocs_target_abort_cb() argument 1992 ocs_target_bls_resp_cb(ocs_hw_io_t *hio, ocs_remote_node_t *rnode, uint32_t length, int32_t status,… in ocs_target_bls_resp_cb() argument 2119 ocs_initiator_io_cb(ocs_hw_io_t *hio, ocs_remote_node_t *rnode, uint32_t length, in ocs_initiator_io_cb() argument 2665 ocs_scsi_abort_io_cb(struct ocs_hw_io_s *hio, ocs_remote_node_t *rnode, uint32_t len, int32_t statu… in ocs_scsi_abort_io_cb() argument
|
| HD | ocs_hw.h | 566 ocs_remote_node_t *rnode; member 1004 int32_t (*rnode)(void *, ocs_hw_remote_node_event_e, void *); member 1011 void *rnode; member 1283 typedef int32_t (*ocs_hw_srrs_cb_t)(ocs_hw_io_t *io, ocs_remote_node_t *rnode, uint32_t length, int… 1287 uint32_t len, ocs_hw_io_param_t *iparam, ocs_remote_node_t *rnode,
|
| HD | ocs_device.c | 185 rc = ocs_hw_node_detach(&ocs->hw, &node->rnode); in __ocs_d_initiate_shutdown() 186 if (node->rnode.free_group) { in __ocs_d_initiate_shutdown() 189 node->rnode.free_group = FALSE; in __ocs_d_initiate_shutdown() 732 …if ((node->ocs->nodedb_mask & OCS_NODEDB_PAUSE_NEW_NODES) && !FC_ADDR_IS_DOMAIN_CTRL(node->rnode.f… in ocs_node_init_device() 1443 if (node->sport->enable_ini && !FC_ADDR_IS_DOMAIN_CTRL(node->rnode.fc_id) in __ocs_d_port_logged_in()
|
| HD | ocs_common.h | 336 ocs_remote_node_t rnode; /**< Remote node */ member
|
| HD | ocs_unsol.c | 115 ocs_unsol_abort_cb (ocs_hw_io_t *hio, ocs_remote_node_t *rnode, uint32_t len, int32_t status, uint3… in ocs_unsol_abort_cb() argument 676 ocs_assert(port_id == node->rnode.fc_id, -1); in ocs_node_dispatch_frame()
|
| HD | ocs_sport.c | 521 if((node->rnode.fc_id == FC_ADDR_FABRIC) && (sport->is_vport)) { in __ocs_sport_common() 1907 hrc = ocs_hw_node_group_attach(&ocs->hw, node_group, &node->rnode); in ocs_node_group_init()
|
| HD | ocs_cam.c | 444 adc->port = node->rnode.fc_id; in ocs_scsi_new_initiator() 510 adc->port = node->rnode.fc_id; in ocs_scsi_del_initiator() 1024 tgt->port_id = node->rnode.fc_id; in ocs_update_tgt()
|
| /freebsd-13-stable/sys/dev/iicbus/pmic/ |
| HD | act8846_regulator.c | 451 phandle_t child, rnode; in act8846_regulator_attach() local 454 rnode = ofw_bus_find_child(node, "regulators"); in act8846_regulator_attach() 455 if (rnode <= 0) { in act8846_regulator_attach() 468 child = ofw_bus_find_child(rnode, act8846_regdefs[i].name); in act8846_regulator_attach()
|
| /freebsd-13-stable/sys/arm/nvidia/ |
| HD | as3722_regulators.c | 603 phandle_t child, rnode; in as3722_regulator_attach() local 606 rnode = ofw_bus_find_child(node, "regulators"); in as3722_regulator_attach() 607 if (rnode <= 0) { in as3722_regulator_attach() 618 child = ofw_bus_find_child(rnode, as3722s_def[i].name); in as3722_regulator_attach()
|
| /freebsd-13-stable/sys/arm64/rockchip/ |
| HD | rk805.c | 770 phandle_t rnode, child; in rk805_attach() local 798 rnode = ofw_bus_find_child(ofw_bus_get_node(dev), "regulators"); in rk805_attach() 799 if (rnode > 0) { in rk805_attach() 801 child = ofw_bus_find_child(rnode, in rk805_attach()
|
| /freebsd-13-stable/sys/arm64/nvidia/tegra210/ |
| HD | max77620_regulators.c | 762 phandle_t child, rnode; in max77620_regulator_attach() local 765 rnode = ofw_bus_find_child(node, "regulators"); in max77620_regulator_attach() 766 if (rnode <= 0) { in max77620_regulator_attach() 778 child = ofw_bus_find_child(rnode, max77620s_def[i].name); in max77620_regulator_attach()
|
| /freebsd-13-stable/sys/arm/allwinner/ |
| HD | axp209.c | 1309 phandle_t rnode, child; in axp2xx_attach() local 1356 rnode = ofw_bus_find_child(ofw_bus_get_node(dev), "regulators"); in axp2xx_attach() 1357 if (rnode > 0) { in axp2xx_attach() 1359 child = ofw_bus_find_child(rnode, in axp2xx_attach()
|
| HD | axp81x.c | 1469 phandle_t rnode, child; in axp8xx_attach() local 1506 rnode = ofw_bus_find_child(ofw_bus_get_node(dev), "regulators"); in axp8xx_attach() 1507 if (rnode > 0) { in axp8xx_attach() 1530 child = ofw_bus_find_child(rnode, in axp8xx_attach()
|
| /freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| HD | sanitizer_common_interceptors.inc | 8188 unsigned int *namelenp, char *cname, SIZE_T *csz, void **rnode, 8192 csz, rnode, v); 8199 // Skip rnode, it's rarely used and not trivial to sanitize 8201 int res = REAL(sysctlgetmibinfo)(sname, name, namelenp, cname, csz, rnode, v);
|