| /freebsd-12.1/sys/netgraph/ |
| H A D | ng_bridge.c | 106 node_p node; /* netgraph node */ member 309 ng_bridge_constructor(node_p node) in ng_bridge_constructor() argument 335 NG_NODE_FORCE_WRITER(node); in ng_bridge_constructor() 336 NG_NODE_SET_PRIVATE(node, priv); in ng_bridge_constructor() 337 priv->node = node; in ng_bridge_constructor() 614 ng_bridge_nodename(node), in ng_bridge_rcvdata() 765 ng_bridge_shutdown(node_p node) in ng_bridge_shutdown() argument 780 NG_NODE_SET_PRIVATE(node, NULL); in ng_bridge_shutdown() 781 NG_NODE_UNREF(node); in ng_bridge_shutdown() 1045 ng_bridge_nodename(node_p node) in ng_bridge_nodename() argument [all …]
|
| H A D | ng_etf.c | 149 node_p node; /* back pointer to node */ member 179 ng_etf_constructor(node_p node) in ng_etf_constructor() argument 191 NG_NODE_SET_PRIVATE(node, privdata); in ng_etf_constructor() 192 privdata->node = node; in ng_etf_constructor() 203 const etf_p etfp = NG_NODE_PRIVATE(node); in ng_etf_newhook() 251 const etf_p etfp = NG_NODE_PRIVATE(node); in ng_etf_rcvmsg() 296 hook = ng_findhook(node, f->matchhook); in ng_etf_rcvmsg() 344 NG_RESPOND_MSG(error, node, item, resp); in ng_etf_rcvmsg() 436 ng_etf_shutdown(node_p node) in ng_etf_shutdown() argument 440 NG_NODE_SET_PRIVATE(node, NULL); in ng_etf_shutdown() [all …]
|
| H A D | ng_source.c | 84 node_p node; member 279 ng_source_constructor(node_p node) in ng_source_constructor() argument 285 NG_NODE_SET_PRIVATE(node, sc); in ng_source_constructor() 286 sc->node = node; in ng_source_constructor() 299 sc_p sc = NG_NODE_PRIVATE(node); in ng_source_newhook() 350 sc_p sc = NG_NODE_PRIVATE(node); in ng_source_rcvmsg() 583 ng_source_rmnode(node_p node) in ng_source_rmnode() argument 585 sc_p sc = NG_NODE_PRIVATE(node); in ng_source_rmnode() 589 NG_NODE_SET_PRIVATE(node, NULL); in ng_source_rmnode() 590 NG_NODE_UNREF(node); in ng_source_rmnode() [all …]
|
| /freebsd-12.1/sys/gnu/dts/arm64/hisilicon/ |
| H A D | hip07.dtsi | 277 numa-node-id = <0>; 286 numa-node-id = <0>; 295 numa-node-id = <0>; 304 numa-node-id = <0>; 313 numa-node-id = <0>; 322 numa-node-id = <0>; 331 numa-node-id = <0>; 340 numa-node-id = <0>; 349 numa-node-id = <0>; 358 numa-node-id = <0>; [all …]
|
| /freebsd-12.1/usr.sbin/bluetooth/hccontrol/ |
| H A D | hccontrol.c | 64 char *node = NULL; in main() local 71 node = optarg; in main() 94 n = do_hci_command(node, argc, argv); in main() 101 socket_open(char const *node) in socket_open() argument 114 if (node == NULL) { in socket_open() 115 node = lnode = strdup(nodes[0].name); in socket_open() 117 fprintf(stdout, "Using HCI node: %s\n", node); in socket_open() 131 err(2, "Could not bind socket, node=%s", node); in socket_open() 134 err(3, "Could not connect socket, node=%s", node); in socket_open() 234 s = socket_open(node); in do_hci_command() [all …]
|
| /freebsd-12.1/contrib/ntp/ntpd/ |
| H A D | ntp_prio_q.c | 56 node *temp = NULL; in destroy_queue() 83 node *new_node; in debug_get_node() 101 node *old_node = my_node; in free_node() 112 node *pn; in next_node() 154 node *new_node = (node *)my_node - 1; in enqueue() 155 node *i = NULL; in enqueue() 156 node *j = my_queue->front; in enqueue() 184 node *my_node = my_queue->front; in dequeue()
|
| /freebsd-12.1/contrib/subversion/subversion/libsvn_fs_fs/ |
| H A D | structure | 466 same node-ID, because temporary node-IDs are restricted in scope to 470 node-revision ID where they are created. This is in the node-origins 473 hash mapping from node-ID to node-revision ID. This cache is only 561 count Count of node-revs since the base of the node 593 the base for skip-deltas. The first node-rev of a node contains no 609 where <id> is the node-rev ID of the new node-rev, <action> is "add", 613 For deletes, <id> is the node-rev ID of the deleted node-rev, and 651 node.<nid>.<cid> New node-rev data for node 652 node.<nid>.<cid>.props Props for new node-rev, if changed 653 node.<nid>.<cid>.children Directory contents for node-rev [all …]
|
| /freebsd-12.1/sys/arm/nvidia/tegra124/ |
| H A D | tegra124_xusbpadctl.c | 920 phy_init.ofw_node = node; in process_lane() 963 node = ofw_bus_find_child(node, "lanes"); in process_pad() 964 if (node <= 0) { in process_pad() 970 for (node = OF_child(node); node != 0; node = OF_peer(node)) { in process_pad() 1071 phandle_t node; in parse_fdt() local 1077 if (node <= 0) { in parse_fdt() 1081 for (node = OF_child(node); node != 0; node = OF_peer(node)) { in parse_fdt() 1090 if (node <= 0) { in parse_fdt() 1094 for (node = OF_child(node); node != 0; node = OF_peer(node)) { in parse_fdt() 1151 phandle_t node; in xusbpadctl_attach() local [all …]
|
| /freebsd-12.1/contrib/ipfilter/lib/ |
| H A D | printdstlist.c | 19 ipf_dstnode_t *node; local 39 for (node = nodes; node != NULL; ) { 42 n = calloc(1, node->ipfd_size); 45 if ((*copyfunc)(node, n, node->ipfd_size)) { 50 node = printdstlistnode(n, bcopywrap, opts, fields);
|
| /freebsd-12.1/sys/powerpc/mikrotik/ |
| H A D | rb_led.c | 77 phandle_t node; in rbled_probe() local 82 node = ofw_bus_get_node(dev); in rbled_probe() 90 if (OF_getprop(node, "user_led", gp, sizeof(gp)) <= 0) in rbled_probe() 94 node = OF_peer(0); in rbled_probe() 95 if (OF_getprop(node, "model", model, sizeof(model)) <= 0) in rbled_probe() 108 phandle_t node; in rbled_attach() local 112 node = ofw_bus_get_node(dev); in rbled_attach() 114 if (OF_getprop(node, "user_led", gp, sizeof(gp)) <= 0) in rbled_attach()
|
| /freebsd-12.1/sys/dev/mmc/host/ |
| H A D | dwmmc_samsung.c | 75 phandle_t node; in samsung_dwmmc_attach() local 81 if ((node = ofw_bus_get_node(sc->dev)) == -1) in samsung_dwmmc_attach() 84 if ((len = OF_getproplen(node, "samsung,dw-mshc-ciu-div")) <= 0) in samsung_dwmmc_attach() 86 OF_getencprop(node, "samsung,dw-mshc-ciu-div", dts_value, len); in samsung_dwmmc_attach() 90 if ((len = OF_getproplen(node, "samsung,dw-mshc-sdr-timing")) <= 0) in samsung_dwmmc_attach() 92 OF_getencprop(node, "samsung,dw-mshc-sdr-timing", dts_value, len); in samsung_dwmmc_attach() 96 if ((len = OF_getproplen(node, "samsung,dw-mshc-ddr-timing")) <= 0) in samsung_dwmmc_attach() 98 OF_getencprop(node, "samsung,dw-mshc-ddr-timing", dts_value, len); in samsung_dwmmc_attach()
|
| /freebsd-12.1/sys/dev/drm2/ |
| H A D | drm_mm.h | 79 void (*color_adjust)(struct drm_mm_node *node, unsigned long color, 83 static inline bool drm_mm_node_allocated(struct drm_mm_node *node) in drm_mm_node_allocated() argument 85 return node->allocated; in drm_mm_node_allocated() 111 struct drm_mm_node *node, 163 struct drm_mm_node *node, 167 struct drm_mm_node *node, 173 struct drm_mm_node *node, 178 struct drm_mm_node *node, 185 extern void drm_mm_remove_node(struct drm_mm_node *node); 260 int drm_mm_scan_add_block(struct drm_mm_node *node); [all …]
|
| /freebsd-12.1/sbin/rcorder/ |
| H A D | rcorder.c | 115 filenode *node; member 217 ent->node = fnode; in strnode_add() 366 bf_ent->node = fnode; in add_before() 393 add_require(node, s); in parse_require() 407 add_provide(node, s); in parse_provide() 421 add_before(node, s); in parse_before() 435 add_keyword(node, s); in parse_keywords() 449 filenode *node; in crunch_file() local 472 node = filenode_new(filename); in crunch_file() 538 pnode->fnode = node; in make_fake_provision() [all …]
|
| /freebsd-12.1/sys/netgraph/bluetooth/hci/ |
| H A D | ng_hci_misc.c | 77 __func__, NG_NODE_NAME(unit->node), error); in ng_hci_mtap() 86 ng_hci_node_is_up(node_p node, hook_p hook, void *arg1, int arg2) in ng_hci_node_is_up() argument 93 if (node == NULL || NG_NODE_NOT_VALID(node) || in ng_hci_node_is_up() 97 unit = (ng_hci_unit_p) NG_NODE_PRIVATE(node); in ng_hci_node_is_up() 118 NG_SEND_MSG_HOOK(error, node, msg, hook, 0); in ng_hci_node_is_up() 125 __func__, NG_NODE_NAME(unit->node), in ng_hci_node_is_up() 376 ng_callout(&unit->cmd_timo, unit->node, NULL, in ng_hci_command_timeout() 394 if (ng_uncallout(&unit->cmd_timo, unit->node) == 0) in ng_hci_command_untimeout() 413 __func__, NG_NODE_NAME(con->unit->node)); in ng_hci_con_timeout() 416 ng_callout(&con->con_timo, con->unit->node, NULL, in ng_hci_con_timeout() [all …]
|
| /freebsd-12.1/sys/arm/amlogic/aml8726/ |
| H A D | aml8726_machdep.c | 61 phandle_t node; in aml8726_fixup_busfreq() local 71 (node = OF_finddevice("/soc")) == 0 || in aml8726_fixup_busfreq() 72 fdt_is_compatible_strict(node, "simple-bus") == 0) in aml8726_fixup_busfreq() 77 len = OF_getencprop(node, "bus-frequency", &prop, sizeof(prop)); in aml8726_fixup_busfreq() 79 OF_setprop(node, "bus-frequency", (void *)&freq, sizeof(freq)); in aml8726_fixup_busfreq() 170 fdt_pic_decode_ic(phandle_t node, pcell_t *intr, int *interrupt, int *trig, in fdt_pic_decode_ic() argument 177 if (!fdt_is_compatible_strict(node, "amlogic,aml8726-pic")) in fdt_pic_decode_ic()
|
| /freebsd-12.1/cddl/contrib/opensolaris/cmd/zfs/ |
| H A D | zfs_iter.c | 104 node->zn_handle = zhp; in zfs_callback() 105 uu_avl_node_init(node, &node->zn_avlnode, avl_pool); in zfs_callback() 118 free(node); in zfs_callback() 122 uu_avl_insert(cb->cb_avl, node, idx); in zfs_callback() 125 free(node); in zfs_callback() 380 zfs_node_t *node; in zfs_for_each() local 476 for (node = uu_avl_first(cb.cb_avl); node != NULL; in zfs_for_each() 477 node = uu_avl_next(cb.cb_avl, node)) in zfs_for_each() 487 uu_avl_remove(cb.cb_avl, node); in zfs_for_each() 488 zfs_close(node->zn_handle); in zfs_for_each() [all …]
|
| /freebsd-12.1/contrib/mandoc/ |
| H A D | eqn.c | 410 ep->node->line, ep->node->pos, NULL); in eqn_next() 431 ep->node->line, ep->node->pos, NULL); in eqn_next() 564 ep->node->line, ep->node->pos, "delim"); in eqn_delim() 591 ep->node->line, ep->node->pos, "undef"); in eqn_undef() 610 ep->node->line, ep->node->pos, "define"); in eqn_def() 639 ep->node->line, ep->node->pos, "define %s", def->key); in eqn_def() 661 parent = ep->node->eqn; in eqn_parse() 688 ep->node->line, ep->node->pos, "tdefine"); in eqn_parse() 696 ep->node->pos, "%s", eqn_toks[tok]); in eqn_parse() 712 ep->node->pos, "%s", eqn_toks[tok]); in eqn_parse() [all …]
|
| /freebsd-12.1/sys/dev/altera/avgen/ |
| H A D | altera_avgen_fdt.c | 82 phandle_t node; in altera_avgen_fdt_attach() local 100 node = ofw_bus_get_node(dev); in altera_avgen_fdt_attach() 101 if (OF_getprop(node, "sri-cambridge,width", &cell, sizeof(cell)) > 0) in altera_avgen_fdt_attach() 103 (void)OF_getprop_alloc(node, "sri-cambridge,fileio", in altera_avgen_fdt_attach() 105 (void)OF_getprop_alloc(node, "sri-cambridge,geomio", in altera_avgen_fdt_attach() 107 (void)OF_getprop_alloc(node, "sri-cambridge,mmapio", in altera_avgen_fdt_attach() 109 (void)OF_getprop_alloc(node, "sri-cambridge,devname", in altera_avgen_fdt_attach() 111 if (OF_getprop(node, "sri-cambridge,devunit", &cell, sizeof(cell)) > 0) in altera_avgen_fdt_attach()
|
| /freebsd-12.1/contrib/gcclibs/libcpp/ |
| H A D | traditional.c | 57 cpp_hashnode *node; member 321 macro->node = node; in maybe_start_funlike() 470 cpp_hashnode *node; in _cpp_scan_out_logical_line() local 478 if (node->type == NT_MACRO in _cpp_scan_out_logical_line() 485 if (! (node->flags & NODE_BUILTIN) in _cpp_scan_out_logical_line() 486 && node->value.macro->fun_like) in _cpp_scan_out_logical_line() 493 else if (!recursive_macro (pfile, node)) in _cpp_scan_out_logical_line() 676 NODE_NAME (fmacro.node)); in _cpp_scan_out_logical_line() 690 if (node->flags & NODE_BUILTIN) in push_replacement_text() 701 cpp_macro *macro = node->value.macro; in push_replacement_text() [all …]
|
| /freebsd-12.1/sys/arm/annapurna/alpine/ |
| H A D | alpine_machdep_mp.c | 128 phandle_t node; in alpine_get_cpu_resume_base() local 135 if ((node = OF_finddevice("/")) == -1) in alpine_get_cpu_resume_base() 138 if ((node = in alpine_get_cpu_resume_base() 139 ofw_bus_find_compatible(node, "annapurna-labs,al-cpu-resume")) == 0) in alpine_get_cpu_resume_base() 142 if (fdt_regsize(node, &base, &size)) in alpine_get_cpu_resume_base() 154 phandle_t node; in alpine_get_nb_base() local 161 if ((node = OF_finddevice("/")) == -1) in alpine_get_nb_base() 164 if ((node = in alpine_get_nb_base() 165 ofw_bus_find_compatible(node, "annapurna-labs,al-nb-service")) == 0) in alpine_get_nb_base() 168 if (fdt_regsize(node, &base, &size)) in alpine_get_nb_base()
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/acl/nontrivial/ |
| H A D | zfs_acl_chmod_compact_001_pos.ksh | 179 typeset node=$1 189 typeset cur_ace=$(get_ACE $node 0 "compact") 199 typeset node=$1 215 if [[ -d $node ]]; then 230 log_must usr_exec eval "$LS -Vd $node > $orig_ace" 235 $node 237 log_must usr_exec $CHMOD ${operator}${acl_spec} $node 240 "$node" "$acl_flag" "$acl_access" \ 245 log_must usr_exec $CHMOD A0- $node 246 log_must usr_exec eval "$LS -Vd $node > $cur_ace"
|
| /freebsd-12.1/sbin/newfs/ |
| H A D | mkfs.c | 863 union dinode node; in fsinit() local 868 memset(&node, 0, sizeof node); in fsinit() 889 node.dp1.di_db[0] = alloc(sblock.fs_fsize, node.dp1.di_mode); in fsinit() 890 node.dp1.di_blocks = in fsinit() 900 node.dp1.di_gid = gid; in fsinit() 903 node.dp1.di_db[0] = in fsinit() 905 node.dp1.di_blocks = in fsinit() 925 node.dp2.di_db[0] = alloc(sblock.fs_fsize, node.dp2.di_mode); in fsinit() 926 node.dp2.di_blocks = in fsinit() 939 node.dp2.di_db[0] = in fsinit() [all …]
|
| /freebsd-12.1/contrib/subversion/subversion/libsvn_fs_base/notes/ |
| H A D | structure | 23 * When you change a node's contents, it's still the same node; it's 27 * If you rename a node, it's still the same node, just under a 31 A `node revision' refers to a node's contents at a specific point in 33 node. Once created, a node revision's contents never change. 36 the node. As users make changes to the node over time, we create new 53 The node ID is unique to a particular node in the filesystem across 57 node ID, whereas two node revisions who have no common revision 71 using a node revision ID --- not a node ID. This means that a change 73 directory of the changed node to be updated, to hold the new node 442 always has node revision 0.0.0 as its root directory; that node [all …]
|
| /freebsd-12.1/share/examples/netgraph/ |
| H A D | ngctl | 5 # messages to a node using ngctl(8). 22 mkpeer Create and connect a new node to the node at "path" 24 name Assign name <name> to the node at <path> 26 rmhook Disconnect hook "hook" of the node at "path" 27 show Show information about the node at <path> 28 shutdown Shutdown the node at <path> 30 types Show information about all installed node types 34 # Now let's create a ng_ksocket(4) node, in the family PF_INET, 41 # node, which tells it what kind of socket to create. 43 # Lets give our ksocket node a global name. How about ``fred'': [all …]
|
| /freebsd-12.1/lib/libc/uuid/ |
| H A D | uuid_to_string.c | 64 u->clock_seq_hi_and_reserved, u->clock_seq_low, u->node[0], in uuid_to_string() 65 u->node[1], u->node[2], u->node[3], u->node[4], u->node[5]); in uuid_to_string()
|