/illumos-gate/usr/src/tools/onbld/Scm/ |
H A D | WorkSpace.py | 48 from mercurial import cmdutil, context, error, hg, node, patch, repair, util namespace 341 returning a list of 3-tuples (tag, node, is_local) for each. 343 We return all instances of a tag that refer to such a node, 352 nodes = set(node.hex(ctx.node()) for ctx in self.revs) 371 nodes = set(node.hex(ctx.node()) for ctx in self.revs) 569 parents = (active.parenttip.node(), node.nullid) 630 heads = self.repo.heads(start=wctx.parents()[0].node()) [all...] |
/illumos-gate/usr/src/tools/onbld/hgext/ |
H A D | cdm.py | 105 from mercurial import cmdutil, node, patch namespace 257 diffs = wslist[repo].diff(act.parenttip.node(), act.localtip.node(), 686 parents = set([x.node() for x in wslist[repo].workingctx().parents()]) 1019 ui.write(" %5s:%s:\t%s%s\n" % (rev, node.short(nd), 1028 node.short(nnode)))
|
/illumos-gate/usr/src/uts/common/io/1394/ |
H A D | s1394_asynch.c | 356 uint64_t node; local 440 node = target->on_node->node_num; 446 (node << IEEE1394_ADDR_PHY_ID_SHIFT)); 451 to_node = (uint32_t)node; 1730 uint64_t node; local 1813 node = target->on_node->node_num; 1860 (node << IEEE1394_ADDR_PHY_ID_SHIFT); 1866 to_node = (uint32_t)node;
|
H A D | s1394_bus_reset.c | 196 * takes the selfid_ptrs[] in the HAL struct and sorts them by node number, 277 * and returns the node's speed capabilities. 295 * on this node. This will need to be done to support P1394b 328 * determines what type of node the specified port connects to. 340 "Invalid port number requested for node", 373 s1394_node_t *node; local 396 /* Free any cfgrom alloced and zap the node */ 398 node = &hal->topology_tree[i]; 399 config_rom = node->cfgrom; 401 if (CFGROM_NEW_ALLOC(node) [all...] |
/illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | boot_plat.c | 351 pnode_t node = prom_finddevice(devpath); local 354 if ((node == OBP_NONODE) || (node == OBP_BADNODE)) 356 if (prom_devicetype(node, "network") != 0) 365 if (prom_devicetype(node, "ib") != 0) { 395 pnode_t node; local 398 node = prom_finddevice(bpath); 399 if (prom_devicetype(node, "network") == 0) 469 * exists on the root node and has the value "sun4v".
|
/illumos-gate/usr/src/uts/i86pc/io/acpi/drmach_acpi/ |
H A D | drmach_acpi.h | 92 struct drmach_node *node; member in struct:__anon9355 100 DRMACH_HANDLE (*get_dnode)(struct drmach_node *node); 101 dev_info_t *(*getdip)(struct drmach_node *node); 102 int (*getproplen)(struct drmach_node *node, char *name, 104 int (*getprop)(struct drmach_node *node, char *name, 106 int (*walk)(struct drmach_node *node, void *data, 147 drmach_node_t *node; member in struct:__anon9359
|
/illumos-gate/usr/src/uts/common/io/nge/ |
H A D | nge_tx.c | 94 nge_dmah_node_t *node; local 96 for (node = src->head; node != NULL && --num != 0; node = node->next) 102 dst->tail = node; 104 if ((src->head = node->next) == NULL) 107 node->next = NULL;
|
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_cpu.c | 118 * Get board number and node number 562 pnode_t node; /* current node */ member in struct:sbdp_prom_get_node_args 564 pnode_t result_node; /* node found with the above portid */ 575 arg.node = nodeid; 593 parent = prom_parentnode(argp->node); 601 if ((portid == argp->portid) && (cur_node != argp->node)) 818 int node; member in struct:__anon9942 855 SG_PORTID_TO_NODEID(portid) != args->node) { 880 sbdp_board_non_panther_cpus(int node, in argument [all...] |
H A D | sgsbbc_iosram.c | 85 * Looks up "chosen" node property to 104 * get the full OBP pathname of this node 844 uint_t node; /* node id to pass to OBP */ local 878 * Compute node id and board number from port id 880 node = SG_PORTID_TO_NODEID(portid); 932 if ((rc = prom_serengeti_tunnel_switch(node, board))
|
/illumos-gate/usr/src/uts/sun4u/serengeti/sys/ |
H A D | sbdp_mem.h | 159 pnode_t node; member in struct:__anon9953 184 int sbdp_is_mem(pnode_t node, void *arg);
|
/illumos-gate/usr/src/uts/sun4v/cpu/ |
H A D | niagara2.c | 187 * The Cache node is optional in MD. Therefore in case "Cache" 188 * node does not exists in MD, set the default L2 cache associativity, 326 * not cross node boundaries. Therefore, remove the node id bits from 329 * The number of node id bits is always 0 in Niagara2. 332 uchar_t nnbits; /* number of node id bits */ 333 uchar_t nnmask; /* mask for node id bits */ 334 uchar_t lomask; /* mask for bits below node id */ 335 uchar_t lobits; /* number of bits below node id */ 342 * Remove node i 365 n2_color2hash(uint_t color, uchar_t szc, uint_t node) argument [all...] |
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | dr_io.c | 131 /* matching node must be returned held */ 146 * matching node if found, NULL is returned. 167 * Look up a particular IO node in the MD. Returns the mde_cookie_t 168 * representing that IO node if present, and MDE_INVAL_ELEM_COOKIE otherwise. 170 * it can accommodate the worst case scenario, every node in the MD. 202 * Find the node of interest 208 " IO node %d\n", __func__, i); 217 " IO node %d\n", __func__, i); 223 DR_DBG_IO("%s: found IO node %s@%ld " 231 DR_DBG_IO("%s: IO node 238 mde_cookie_t node; member in struct:__anon10282 396 dr_vio_find_parent_md(md_t *mdp, mde_cookie_t node) argument 438 mde_cookie_t node; local [all...] |
/illumos-gate/usr/src/uts/sun4v/promif/ |
H A D | promif_emul.c | 197 pnode_t node; local 205 * the "translations" property is associated with the mmu node 211 node = (pnode_t)prom_getphandle(immu); 212 if (node == OBP_NONODE || node == OBP_BADNODE) { 213 PMFREE_DEBUG("no mmu node"); 217 if ((translen = prom_getproplen(node, prop)) == -1) { 223 if (prom_getprop(node, prop, (caddr_t)transroot) == -1) {
|
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | us3_cheetah.c | 88 getintprop(pnode_t node, char *name, int deflt) argument 92 switch (prom_getproplen(node, name)) { 94 (void) prom_getprop(node, name, (caddr_t)&value);
|
H A D | us3_jalapeno.c | 120 getintprop(pnode_t node, char *name, int deflt) argument 124 switch (prom_getproplen(node, name)) { 126 (void) prom_getprop(node, name, (caddr_t)&value);
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | cpr_sparc.c | 79 cpr_err(CE_WARN, "cannot get \"options\" node"); 95 pnode_t node; local 98 if (err = cpr_get_options_node(&node)) 100 len = prom_getproplen(node, name); 104 if (prom_getprop(node, name, value) != len) 118 pnode_t node; local 121 if (rc = cpr_get_options_node(&node)) 139 rc = prom_setprop(node, props->name, props->value, len + 1); 140 if (rc < 0 || prom_getproplen(node, props->name) != len) { 259 pnode_t node; local 471 cpr_build_nodename(pnode_t node) argument [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | swapgeneric.c | 945 * but we should be able to find the node for the parent, 990 * service on the top of the HCA node. So, there is no 991 * PROM node and generic framework cannot pre-load 1004 * The PROM node for hubs have incomplete compatible 1016 /* get rid of minor node at end of copy (if not already done above) */ 1036 * each node found. If not a hardware node, try to load it. 1070 /* pseudo node, not-enumerated, needs to be loaded */ 1111 * Return the devinfo node to a boot device 1127 * whatever name we used to bind this node t 1168 pnode_t node = prom_finddevice(bootpath); local [all...] |
/illumos-gate/usr/src/cmd/format/ |
H A D | label.c | 504 di_node_t node; local 507 node = di_init(devpath, DINFOCPYALL); 509 if (node == DI_NODE_NIL) 512 if (di_prop_lookup_strings(DDI_DEV_T_ANY, node, 516 if (di_prop_lookup_strings(DDI_DEV_T_ANY, node, 520 if (di_prop_lookup_strings(DDI_DEV_T_ANY, node, 538 di_fini(node);
|
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | zcons.c | 180 count_cb(di_node_t node, void *arg) argument 185 if (di_prop_lookup_strings(DDI_DEV_T_ANY, node, "zonename", 224 destroy_cb(di_node_t node, void *arg) argument 232 if (di_prop_lookup_strings(DDI_DEV_T_ANY, node, "zonename", 243 tmp = di_devfs_path(node); 322 * interfaces to instantiate a new zone console node. We do a lot of 373 * Set three properties on this node; the first is the name of the 377 * node-- we need the node to still be there when we ask devfsadmd 395 zerror(zlogp, B_TRUE, "failed to create console node"); [all...] |
/illumos-gate/usr/src/lib/libuutil/common/ |
H A D | uu_avl.c | 168 "node already finied\n", 173 "node corrupt, in tree, or in different pool\n", 295 uu_avl_next(uu_avl_t *ap, void *node) argument 297 return (AVL_NEXT(&ap->ua_tree, node)); 301 uu_avl_prev(uu_avl_t *ap, void *node) argument 303 return (AVL_PREV(&ap->ua_tree, node)); 434 * Robust walkers most be advanced, if we are removing the node 499 uu_panic("uu_avl_insert(%p, %p, %p): node already " 503 uu_panic("uu_avl_insert(%p, %p, %p): node not " 507 uu_panic("uu_avl_insert(%p, %p, %p): node fro [all...] |
/illumos-gate/usr/src/cmd/fm/modules/sun4v/generic-mem/ |
H A D | gmem_dimm.c | 370 find_dimm_hc_fmri(topo_hdl_t *thp, tnode_t *node, void *arg) argument 380 if (topo_node_fru(node, &fru, NULL, &err) < 0) 399 (void) topo_node_resource(node, &rsc, &err); 407 (void) topo_node_asru(node, &asru, NULL, &err);
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | sw.c | 128 sw_fmri_create(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument 305 sw_release(topo_mod_t *mod, tnode_t *node) argument 307 topo_method_unregister_all(mod, node); 357 sw_fmri_nvl2str(topo_mod_t *mod, tnode_t *node, topo_version_t version, argument
|
/illumos-gate/usr/src/cmd/zfs/ |
H A D | zfs_iter.c | 102 zfs_node_t *node = safe_malloc(sizeof (zfs_node_t)); local 104 node->zn_handle = zhp; 105 uu_avl_node_init(node, &node->zn_avlnode, avl_pool); 106 if (uu_avl_find(cb->cb_avl, node, cb->cb_sortcol, 118 free(node); 122 uu_avl_insert(cb->cb_avl, node, idx); 125 free(node); 380 zfs_node_t *node; local 476 for (node [all...] |
/illumos-gate/usr/src/common/avl/ |
H A D | avl.c | 38 * any given node, the left and right subtrees are allowed to differ in height 66 * - The left/right children pointers of a node are in an array. 76 * int left_heavy; // -1 when left subtree is taller at some node, 91 * pointer) is set to indicate if that the new node has a value greater 123 * Walk from one node to the previous valued node (ie. an infix walk 124 * towards the left). At any given node we do one of 2 things: 133 * otherwise next node 139 avl_node_t *node = AVL_DATA2NODE(oldnode, off); local 147 if (node 185 avl_node_t *node; local 204 avl_node_t *node; local 229 avl_node_t *node = AVL_INDEX2NODE(where); local 257 avl_node_t *node; local 303 avl_rotation(avl_tree_t *tree, avl_node_t *node, int balance) argument 484 avl_node_t *node; local 578 avl_node_t *node; local 682 avl_node_t *node; local 975 avl_node_t *node; local [all...] |
/illumos-gate/usr/src/lib/libbe/common/ |
H A D | be_list.c | 144 * Description: Sort BE node list 152 * node list sorted by name 688 * Description: Sort BE node list 696 * node list sorted by name 985 * be_node - a pointer to the node structure we're filling in. 986 * be_name - The BE name of the node whose information we're 1174 * node - The node structure that this dataset belongs to. 1186 be_node_list_t *node) 1194 if (zfshp == NULL || name == NULL || dataset == NULL || node 1182 be_get_ds_data( zfs_handle_t *zfshp, char *name, be_dataset_list_t *dataset, be_node_list_t *node) argument 1278 be_get_ss_data( zfs_handle_t *zfshp, char *name, be_snapshot_list_t *snapshot, be_node_list_t *node) argument [all...] |