| /freebsd-14.2/sys/dev/neta/ |
| H A D | if_mvneta_fdt.c | 149 phandle_t node, child, phy_handle; in mvneta_fdt_phy_acquire() local 155 node = ofw_bus_get_node(dev); in mvneta_fdt_phy_acquire() 158 if (OF_getprop(node, "phy-mode", phymode, sizeof(phymode)) <= 0) { in mvneta_fdt_phy_acquire() 175 if (OF_getprop(node, "managed", managed, sizeof(managed)) > 0) { in mvneta_fdt_phy_acquire() 183 if (OF_getencprop(node, "phy", (void *)&phy_handle, in mvneta_fdt_phy_acquire() 234 phandle_t node; in mvneta_fdt_mac_address() local 242 node = ofw_bus_get_node(sc->dev); in mvneta_fdt_mac_address() 243 if (node == 0) in mvneta_fdt_mac_address() 265 for (child = OF_child(node); child != 0; child = OF_peer(child)) { in mvneta_find_ethernet_prop_switch() 288 phandle_t node; in mvneta_has_switch_fdt() local [all …]
|
| /freebsd-14.2/contrib/wpa/hs20/client/ |
| H A D | osu_client.c | 176 if (node) { in osu_get_certificate() 191 if (node) { in osu_get_certificate() 747 if (node) in get_user_pw() 752 if (node) in get_user_pw() 756 if (node) { in get_user_pw() 838 if (node) { in set_pps_cred_policy_prp() 914 if (node) in set_pps_cred_policy_min_backhaul() 918 if (node) in set_pps_cred_policy_min_backhaul() 1000 port = node ? xml_node_get_text(ctx->xml, node) : NULL; in set_pps_cred_policy_required_proto_port() 1929 if (node) in cmd_get_fqdn() [all …]
|
| H A D | oma_dm_client.c | 99 xml_node_t *node; in oma_dm_add_locuri() local 102 if (node == NULL) in oma_dm_add_locuri() 146 xml_node_t *node; in add_alert() local 149 if (node == NULL) in add_alert() 154 return node; in add_alert() 162 xml_node_t *node; in add_status() local 165 if (node == NULL) in add_status() 179 return node; in add_status() 198 return node; in add_results() 590 if (node) { in oma_dm_run_add() [all …]
|
| /freebsd-14.2/contrib/unbound/iterator/ |
| H A D | iter_fwd.c | 116 if(!node) { in forwards_insert_data() 120 node->node.key = node; in forwards_insert_data() 121 node->dclass = c; in forwards_insert_data() 123 if(!node->name) { in forwards_insert_data() 125 free(node); in forwards_insert_data() 130 node->dp = dp; in forwards_insert_data() 131 if(!rbtree_insert(fwd->tree, &node->node)) { in forwards_insert_data() 136 free(node->name); in forwards_insert_data() 137 free(node); in forwards_insert_data() 159 prev = node; in fwd_init_parents() [all …]
|
| /freebsd-14.2/stand/common/ |
| H A D | merge_help.awk | 91 node = first; 92 while (node != -1) 95 printf "# T%s ", help[node, "T"]; 96 if (help[node, "S"] != "") printf "S%s ", help[node, "S"]; 97 printf "D%s\n\n", help[node, "D"]; 98 for (i = 0; i < help[node, "text"]; i++) 99 printf "%s\n", help[node, "text", i]; 100 node = help[node, "link"];
|
| /freebsd-14.2/sys/dev/extres/syscon/ |
| H A D | syscon_power.c | 102 phandle_t node; in syscon_power_attach() local 107 node = ofw_bus_get_node(dev); in syscon_power_attach() 109 if (!OF_hasprop(node, "regmap")) { in syscon_power_attach() 120 len = OF_getproplen(node, "offset"); in syscon_power_attach() 126 OF_getencprop(node, "offset", &sc->offset, sizeof(sc->offset)); in syscon_power_attach() 129 has_mask = OF_hasprop(node, "mask"); in syscon_power_attach() 131 len = OF_getproplen(node, "mask"); in syscon_power_attach() 137 OF_getencprop(node, "mask", &sc->mask, sizeof(sc->mask)); in syscon_power_attach() 148 if (!OF_hasprop(node, "value")) { in syscon_power_attach() 156 len = OF_getproplen(node, "value"); in syscon_power_attach() [all …]
|
| /freebsd-14.2/sys/dev/ocs_fc/ |
| H A D | ocs_sport.c | 283 ocs_node_t *node; in ocs_sport_force_free() local 406 ocs_node_t *node; in ocs_sport_attach() local 485 ocs_node_t *node; in __ocs_sport_common() local 1182 ocs_node_t *node; in ocs_ddump_sport() local 1254 ocs_node_t *node; in ocs_mgmt_sport_list() local 1278 node->mgmt_functions->get_list_handler(textbuf, node); in ocs_mgmt_sport_list() 1290 ocs_node_t *node; in ocs_mgmt_sport_get() local 1364 ocs_node_t *node; in ocs_mgmt_sport_get_all() local 1385 node->mgmt_functions->get_all_handler(textbuf, node); in ocs_mgmt_sport_get_all() 1396 ocs_node_t *node; in ocs_mgmt_sport_set() local [all …]
|
| /freebsd-14.2/sys/compat/linux/ |
| H A D | linux_util.c | 159 if (node == NULL || major == NULL || minor == NULL) in linux_driver_get_major_minor() 163 if (strncmp(node, "pts/", sz) == 0 && node[sz] != '\0') { in linux_driver_get_major_minor() 169 devno = strtoul(node + sz, NULL, 10); in linux_driver_get_major_minor() 176 if (strncmp(node, "dri/card", sz) == 0 && node[sz] != '\0') { in linux_driver_get_major_minor() 177 devno = strtoul(node + sz, NULL, 10); in linux_driver_get_major_minor() 183 if (strncmp(node, "dri/controlD", sz) == 0 && node[sz] != '\0') { in linux_driver_get_major_minor() 184 devno = strtoul(node + sz, NULL, 10); in linux_driver_get_major_minor() 190 if (strncmp(node, "dri/renderD", sz) == 0 && node[sz] != '\0') { in linux_driver_get_major_minor() 191 devno = strtoul(node + sz, NULL, 10); in linux_driver_get_major_minor() 197 if (strncmp(node, "drm/", sz) == 0 && node[sz] != '\0') { in linux_driver_get_major_minor() [all …]
|
| /freebsd-14.2/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_taskdeps.cpp | 37 node->dn.successors = NULL; in __kmp_init_node() 42 node->dn.mtx_num_locks = 0; in __kmp_init_node() 55 return node; in __kmp_node_ref() 212 new_head->node = __kmp_node_ref(node); in __kmp_add_node() 320 if (!dep->dn.successors || dep->dn.successors->node != node) { in __kmp_depnode_link_successor() 547 KMP_DEBUG_ASSERT(!node->dn.mtx_locks[node->dn.mtx_num_locks]); in __kmp_process_deps() 551 node->dn.mtx_locks[n] = node->dn.mtx_locks[n - 1]; in __kmp_process_deps() 641 node->dn.task = task; in __kmp_check_deps() 821 kmp_depnode_t *node = in __kmpc_omp_task_with_deps() local 824 kmp_depnode_t *node = in __kmpc_omp_task_with_deps() local [all …]
|
| /freebsd-14.2/sys/dev/ofw/ |
| H A D | ofw_firmware.c | 51 ofw_firmware_setup_dinfo(device_t dev, phandle_t node, in ofw_firmware_setup_dinfo() argument 62 if (ofw_bus_gen_setup_devinfo(&ndi->obdinfo, node) != 0) { in ofw_firmware_setup_dinfo() 71 ofw_bus_intr_to_rl(dev, node, &ndi->rl, NULL); in ofw_firmware_setup_dinfo() 77 ofw_firmware_add_device(device_t dev, phandle_t node, u_int order, in ofw_firmware_add_device() argument 83 if ((ndi = ofw_firmware_setup_dinfo(dev, node, di)) == NULL) in ofw_firmware_add_device() 125 phandle_t node, child; in ofw_firmware_attach() local 130 node = ofw_bus_get_node(dev); in ofw_firmware_attach() 132 if (OF_getencprop(node, "#address-cells", &sc->sc.acells, in ofw_firmware_attach() 139 if (OF_getencprop(node, "#size-cells", &sc->sc.scells, in ofw_firmware_attach() 141 if (OF_getencprop(OF_parent(node), "#size-cells", &sc->sc.scells, in ofw_firmware_attach() [all …]
|
| /freebsd-14.2/sys/arm/ti/clk/ |
| H A D | ti_divider_clock.c | 123 phandle_t node; in ti_divider_attach() local 130 node = ofw_bus_get_node(dev); in ti_divider_attach() 136 if (OF_hasprop(node, "ti,bit-shift")) { in ti_divider_attach() 145 if (OF_hasprop(node, "ti,index-power-of-two")) { in ti_divider_attach() 150 if (OF_hasprop(node, "ti,max-div")) { in ti_divider_attach() 155 if (OF_hasprop(node, "clock-output-names")) in ti_divider_attach() 157 if (OF_hasprop(node, "ti,dividers")) in ti_divider_attach() 159 if (OF_hasprop(node, "ti,min-div")) in ti_divider_attach() 162 if (OF_hasprop(node, "ti,autoidle-shift")) in ti_divider_attach() 164 if (OF_hasprop(node, "ti,set-rate-parent")) in ti_divider_attach() [all …]
|
| /freebsd-14.2/tests/sys/sys/ |
| H A D | rb_test.c | 36 struct node { struct 37 RB_ENTRY(node) node; 41 static RB_HEAD(tree, node) root; argument 44 compare(struct node *a, struct node *b) in compare() 51 RB_PROTOTYPE(tree, node, node, compare); 53 RB_GENERATE(tree, node, node, compare); 60 struct node *tmp, *ins, store[ITER]; in ATF_TC_BODY()
|
| /freebsd-14.2/sys/netgraph/ |
| H A D | ng_split.c | 70 node_p node; /* Our netgraph node */ member 82 ng_split_constructor(node_p node) in ng_split_constructor() argument 90 NG_NODE_SET_PRIVATE(node, priv); in ng_split_constructor() 91 priv->node = node; in ng_split_constructor() 101 ng_split_newhook(node_p node, hook_p hook, const char *name) in ng_split_newhook() argument 103 priv_p priv = NG_NODE_PRIVATE(node); in ng_split_newhook() 149 ng_split_shutdown(node_p node) in ng_split_shutdown() argument 151 const priv_p priv = NG_NODE_PRIVATE(node); in ng_split_shutdown() 153 NG_NODE_SET_PRIVATE(node, NULL); in ng_split_shutdown() 154 NG_NODE_UNREF(node); in ng_split_shutdown()
|
| H A D | ng_hub.c | 83 ng_hub_constructor(node_p node) in ng_hub_constructor() argument 90 NG_NODE_SET_PRIVATE(node, priv); in ng_hub_constructor() 98 ng_hub_rcvmsg(node_p node, item_p item, hook_p lasthook) in ng_hub_rcvmsg() argument 100 const priv_p priv = NG_NODE_PRIVATE(node); in ng_hub_rcvmsg() 119 const node_p node = NG_HOOK_NODE(hook); in ng_hub_rcvdata() local 125 if ((nhooks = NG_NODE_NUMHOOKS(node)) == 1) { in ng_hub_rcvdata() 129 LIST_FOREACH(hook2, &node->nd_hooks, hk_hooks) { in ng_hub_rcvdata() 152 ng_hub_shutdown(node_p node) in ng_hub_shutdown() argument 154 const priv_p priv = NG_NODE_PRIVATE(node); in ng_hub_shutdown() 157 NG_NODE_SET_PRIVATE(node, NULL); in ng_hub_shutdown() [all …]
|
| H A D | ng_sample.c | 131 node_p node; /* back pointer to node */ member 149 ng_xxx_constructor(node_p node) in ng_xxx_constructor() argument 162 NG_NODE_SET_PRIVATE(node, privdata); in ng_xxx_constructor() 163 privdata->node = node; in ng_xxx_constructor() 301 NG_RESPOND_MSG(error, node, item, resp); in ng_xxx_rcvmsg() 415 ng_xxx_shutdown(node_p node) in ng_xxx_shutdown() argument 420 NG_NODE_SET_PRIVATE(node, NULL); in ng_xxx_shutdown() 421 NG_NODE_UNREF(node); in ng_xxx_shutdown() 424 if (node->nd_flags & NGF_REALLY_DIE) { in ng_xxx_shutdown() 430 NG_NODE_SET_PRIVATE(node, NULL); in ng_xxx_shutdown() [all …]
|
| /freebsd-14.2/sys/dev/firmware/arm/ |
| H A D | scmi.c | 64 phandle_t node; in scmi_get_shmem() local 68 node = ofw_bus_get_node(sc->dev); in scmi_get_shmem() 69 if (node <= 0) in scmi_get_shmem() 72 len = OF_getencprop_alloc_multi(node, "shmem", sizeof(*shmems), in scmi_get_shmem() 209 phandle_t node; in scmi_attach() local 215 node = ofw_bus_get_node(dev); in scmi_attach() 216 if (node == -1) in scmi_attach() 235 simplebus_init(dev, node); in scmi_attach() 245 for (node = OF_child(node); node > 0; node = OF_peer(node)) in scmi_attach() 246 simplebus_add_device(dev, node, 0, NULL, -1, NULL); in scmi_attach()
|
| /freebsd-14.2/crypto/openssl/crypto/x509/ |
| H A D | pcy_lib.c | 86 const ASN1_OBJECT *X509_policy_node_get0_policy(const X509_POLICY_NODE *node) in X509_policy_node_get0_policy() argument 88 if (!node) in X509_policy_node_get0_policy() 90 return node->data->valid_policy; in X509_policy_node_get0_policy() 95 *node) in STACK_OF() 97 if (!node) in STACK_OF() 99 return node->data->qualifier_set; in STACK_OF() 103 *node) in X509_policy_node_get0_parent() argument 105 if (!node) in X509_policy_node_get0_parent() 107 return node->parent; in X509_policy_node_get0_parent()
|
| /freebsd-14.2/sys/dev/pwm/ |
| H A D | ofw_pwm.c | 41 pwm_get_by_ofw_propidx(device_t consumer, phandle_t node, in pwm_get_by_ofw_propidx() argument 49 rv = ofw_bus_parse_xref_list_alloc(node, prop_name, "#pwm-cells", in pwm_get_by_ofw_propidx() 72 pwm_get_by_ofw_idx(device_t consumer, phandle_t node, int idx, in pwm_get_by_ofw_idx() argument 76 return (pwm_get_by_ofw_propidx(consumer, node, "pwms", idx, out_channel)); in pwm_get_by_ofw_idx() 80 pwm_get_by_ofw_property(device_t consumer, phandle_t node, in pwm_get_by_ofw_property() argument 84 return (pwm_get_by_ofw_propidx(consumer, node, prop_name, 0, out_channel)); in pwm_get_by_ofw_property() 88 pwm_get_by_ofw_name(device_t consumer, phandle_t node, const char *name, in pwm_get_by_ofw_name() argument 93 rv = ofw_bus_find_string_index(node, "pwm-names", name, &idx); in pwm_get_by_ofw_name() 97 return (pwm_get_by_ofw_idx(consumer, node, idx, out_channel)); in pwm_get_by_ofw_name()
|
| /freebsd-14.2/sbin/restore/ |
| H A D | dirs.c | 561 struct modeinfo node; in setdirmodes() local 598 if (node.extsize > 0) { in setdirmodes() 603 bufsize = node.extsize; in setdirmodes() 628 ep = lookupino(node.ino); in setdirmodes() 650 (void) chown(cp, node.uid, node.gid); in setdirmodes() 652 if (node.extsize > 0) { in setdirmodes() 737 struct modeinfo node; in allocinotab() local 748 node.ino = ctxp->ino; in allocinotab() 758 node.mode = ctxp->mode; in allocinotab() 760 node.uid = ctxp->uid; in allocinotab() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | SIInstrInfo.td | 194 (ops node:$vdata_in, node:$rsrc, node:$vindex, node:$voffset, node:$soffset, 235 (ops node:$src, node:$cmp, node:$rsrc, node:$vindex, node:$voffset, 236 node:$soffset, node:$offset, node:$cachepolicy, node:$idxen), 588 (ops node:$rsrc, node:$vindex, node:$voffset, node:$soffset, node:$offset, 590 (name node:$rsrc, node:$vindex, node:$voffset, node:$soffset, node:$offset, 597 (ops node:$vdata, node:$rsrc, node:$vindex, node:$voffset, node:$soffset, node:$offset, 599 (name node:$vdata, node:$rsrc, node:$vindex, node:$voffset, node:$soffset, node:$offset, 606 (ops node:$rsrc, node:$vindex, node:$voffset, node:$soffset, node:$offset, 608 (name node:$rsrc, node:$vindex, node:$voffset, node:$soffset, node:$offset, 615 (ops node:$vdata, node:$rsrc, node:$vindex, node:$voffset, node:$soffset, node:$offset, [all …]
|
| /freebsd-14.2/sys/arm/mv/ |
| H A D | mv_armv7_machdep.c | 115 phandle_t node; in mv_busdma_tag_init() local 124 if ((node = OF_finddevice("/")) == -1){ in mv_busdma_tag_init() 157 phandle_t node; in platform_mpp_init() local 167 if ((node = OF_finddevice("mpp")) != -1) in platform_mpp_init() 168 if (ofw_bus_node_is_compatible(node, "mrvl,mpp")) in platform_mpp_init() 173 if ((node = OF_finddevice("/")) == -1) in platform_mpp_init() 176 if ((node = fdt_find_compatible(node, "simple-bus", 0)) == 0) in platform_mpp_init() 179 if ((node = fdt_find_compatible(node, "mrvl,mpp", 0)) == 0) in platform_mpp_init() 194 len = OF_getprop(node, "reg", reg, sizeof(reg)); in platform_mpp_init() 333 phandle_t node; in mv_axp_platform_late_init() local [all …]
|
| /freebsd-14.2/tools/regression/geom/ConfCmp/ |
| H A D | ConfCmp.c | 51 struct node { struct 63 struct node *top; argument 64 struct node *cur; 77 static struct node * 80 struct node *np; in new_node() 102 struct node *np; in StartElement() 131 struct node *np; in EndElement() 221 struct node *np1; in print_tree() 276 static int compare_node2(struct node *n1, struct node *n2, int in); 279 compare_node(struct node *n1, struct node *n2, int in) in compare_node() [all …]
|
| /freebsd-14.2/sys/arm/ti/am335x/ |
| H A D | am335x_pwmss.c | 105 phandle_t node, opp_table; in am335x_pwmss_attach() local 144 node = ofw_bus_get_node(dev); in am335x_pwmss_attach() 146 if (node == -1) in am335x_pwmss_attach() 149 simplebus_init(dev, node); in am335x_pwmss_attach() 159 for (node = OF_child(node); node > 0; node = OF_peer(node)) in am335x_pwmss_attach() 160 simplebus_add_device(dev, node, 0, NULL, -1, NULL); in am335x_pwmss_attach()
|
| /freebsd-14.2/sys/dev/gpio/dwgpio/ |
| H A D | dwgpio_bus.c | 79 phandle_t node; in dwgpiobus_attach() local 84 node = ofw_bus_get_node(dev); in dwgpiobus_attach() 85 if (node == -1) in dwgpiobus_attach() 93 simplebus_init(dev, node); in dwgpiobus_attach() 103 for (node = OF_child(node); node > 0; node = OF_peer(node)) in dwgpiobus_attach() 104 simplebus_add_device(dev, node, 0, NULL, -1, NULL); in dwgpiobus_attach()
|
| /freebsd-14.2/contrib/googletest/googletest/samples/ |
| H A D | sample3-inl.h | 84 QueueNode<E>* node = head_; in Clear() local 85 QueueNode<E>* next = node->next(); in Clear() 87 delete node; in Clear() local 88 node = next; in Clear() 89 if (node == nullptr) break; in Clear() 90 next = node->next(); in Clear() 153 for (const QueueNode<E>* node = head_; node != nullptr; in Map() local 154 node = node->next_) { in Map() 155 new_queue->Enqueue(function(node->element())); in Map()
|