/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_radix.c | 59 if (root->rnode->count == 0) { in radix_tree_clean_root_node() 60 free(root->rnode, M_RADIX); in radix_tree_clean_root_node() 61 root->rnode = NULL; in radix_tree_clean_root_node() 74 node = root->rnode; in radix_tree_lookup() 96 node = root->rnode; in radix_tree_iter_find() 136 node = root->rnode; in radix_tree_delete() 160 if (node == root->rnode) { in radix_tree_delete() 161 root->rnode = NULL; in radix_tree_delete() 193 node = root->rnode; in radix_tree_insert() 200 root->rnode = node; in radix_tree_insert() [all …]
|
/freebsd/sbin/rcorder/ |
H A D | 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/sys/compat/linuxkpi/common/include/linux/ |
H A D | radix-tree.h | 51 struct radix_tree_node *rnode; member 61 { .rnode = NULL, .gfp_mask = mask, .height = 0 }; 63 { (root)->rnode = NULL; (root)->gfp_mask = mask; (root)->height = 0; }
|
/freebsd/sys/dev/ocs_fc/ |
H A D | 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 …]
|
H A D | 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 …]
|
H A D | 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 …]
|
H A D | 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 …]
|
H A D | 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 …]
|
H A D | 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
|
H A D | 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()
|
H A D | 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,
|
H A D | ocs_common.h | 336 ocs_remote_node_t rnode; /**< Remote node */ member
|
H A D | 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()
|
H A D | 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()
|
H A D | 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/sys/dev/iicbus/pmic/rockchip/ |
H A D | rk8xx_regulators.c | 319 phandle_t rnode, child; in rk8xx_attach_regulators() local 324 rnode = ofw_bus_find_child(ofw_bus_get_node(sc->dev), "regulators"); in rk8xx_attach_regulators() 325 if (rnode > 0) { in rk8xx_attach_regulators() 327 child = ofw_bus_find_child(rnode, in rk8xx_attach_regulators()
|
/freebsd/sys/dev/iicbus/pmic/ |
H A D | act8846_regulator.c | 450 phandle_t child, rnode; in act8846_regulator_attach() local 453 rnode = ofw_bus_find_child(node, "regulators"); in act8846_regulator_attach() 454 if (rnode <= 0) { in act8846_regulator_attach() 467 child = ofw_bus_find_child(rnode, act8846_regdefs[i].name); in act8846_regulator_attach()
|
/freebsd/sys/arm/nvidia/ |
H A D | as3722_regulators.c | 602 phandle_t child, rnode; in as3722_regulator_attach() local 605 rnode = ofw_bus_find_child(node, "regulators"); in as3722_regulator_attach() 606 if (rnode <= 0) { in as3722_regulator_attach() 617 child = ofw_bus_find_child(rnode, as3722s_def[i].name); in as3722_regulator_attach()
|
/freebsd/sys/arm64/nvidia/tegra210/ |
H A D | max77620_regulators.c | 761 phandle_t child, rnode; in max77620_regulator_attach() local 764 rnode = ofw_bus_find_child(node, "regulators"); in max77620_regulator_attach() 765 if (rnode <= 0) { in max77620_regulator_attach() 777 child = ofw_bus_find_child(rnode, max77620s_def[i].name); in max77620_regulator_attach()
|
/freebsd/sys/arm/allwinner/ |
H A D | 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()
|
H A D | axp81x.c | 1468 phandle_t rnode, child; in axp8xx_attach() local 1505 rnode = ofw_bus_find_child(ofw_bus_get_node(dev), "regulators"); in axp8xx_attach() 1506 if (rnode > 0) { in axp8xx_attach() 1529 child = ofw_bus_find_child(rnode, in axp8xx_attach()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | 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);
|