Home
last modified time | relevance | path

Searched refs:node (Results 176 – 200 of 974) sorted by relevance

12345678910>>...39

/illumos-gate/usr/src/lib/libfru/libfruraw/
H A Dfruraw.c85 raw_list_t *node; in make_raw() local
88 if (node == NULL) { in make_raw()
92 node->hdl = 0; in make_raw()
93 node->raw = buffer; in make_raw()
94 node->size = size; in make_raw()
96 if (node->cont_type == NULL) { in make_raw()
97 free(node); in make_raw()
100 node->segs = NULL; in make_raw()
102 return (node); in make_raw()
155 frt_get_root(fru_treehdl_t *node) in frt_get_root() argument
[all …]
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp.c357 if (node == OBP_NONODE || node == OBP_BADNODE) in sbdp_get_mem_dip()
364 (void) sbdp_is_mem(node, &mem); in sbdp_get_mem_dip()
371 smdp->dip = e_ddi_nodeid_to_dip(node); in sbdp_get_mem_dip()
404 apktp->node = bdp->wnode; in sbdp_update_bd_info()
874 sbdp_is_node_bad(pnode_t node) in sbdp_is_node_bad() argument
880 return ((node == OBP_NONODE) || (node == OBP_BADNODE) || in sbdp_is_node_bad()
881 ((node & 0x80000000u) != 0x80000000u)); in sbdp_is_node_bad()
975 cur = sbdp_get_wnodep(node); in sbdp_cpu_in_reset()
1011 cur = sbdp_get_wnodep(node); in sbdp_set_cpu_present()
1036 cur = sbdp_get_wnodep(node); in sbdp_is_cpu_present()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Deval.h50 int eval_potential(struct node *np, struct lut *ex, struct node *events[],
51 struct node **newc, struct config *croot);
52 int eval_expr(struct node *np, struct lut *ex, struct node *events[],
/illumos-gate/usr/src/boot/libsa/
H A Duuid_to_string.c104 tohex(&w, 2, u->node[0]); in uuid_to_string()
105 tohex(&w, 2, u->node[1]); in uuid_to_string()
106 tohex(&w, 2, u->node[2]); in uuid_to_string()
107 tohex(&w, 2, u->node[3]); in uuid_to_string()
108 tohex(&w, 2, u->node[4]); in uuid_to_string()
109 tohex(&w, 2, u->node[5]); in uuid_to_string()
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_iter.c239 zfs_node_t *node; in zfs_sort_snaps() local
243 node = avl_find(avl, &search, NULL); in zfs_sort_snaps()
244 if (node) { in zfs_sort_snaps()
251 zfs_close(node->zn_handle); in zfs_sort_snaps()
252 avl_remove(avl, node); in zfs_sort_snaps()
253 free(node); in zfs_sort_snaps()
257 node->zn_handle = zhp; in zfs_sort_snaps()
258 avl_add(avl, node); in zfs_sort_snaps()
288 zfs_node_t *node; in zfs_iter_snapshots_sorted() local
297 for (node = avl_first(&avl); node != NULL; node = AVL_NEXT(&avl, node)) in zfs_iter_snapshots_sorted()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dzfs_acl_chmod_aclmode_001_pos.ksh281 typeset node=$2
295 if [[ -d $node ]]; then
365 owner=$(get_owner $node)
366 group=$(get_group $node)
422 aclcur=$(get_ACE $node $count)
425 ls -vd $node
439 if [[ -d $node ]]; then
440 compare_acls $node $odir
441 elif [[ -f $node ]]; then
442 compare_acls $node $ofile
[all …]
H A Dzfs_acl_chmod_rwx_001_pos.ksh70 typeset node=$4
83 log_must usr_exec chmod "$opt$ace" "$node"
85 log_must usr_exec chmod "$opt" "$node"
90 cur_ace=$(get_ACE $node $num)
91 cur_count=$(count_ACE $node)
96 log_fail "FAIL: chmod $opt$ace $node"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/trivial/
H A Dzfs_acl_chmod_001_pos.ksh81 typeset node=$1
85 usr_exec chmod ${argv[i]} $node
87 log_note "usr_exec chmod ${argv[i]} $node"
90 usr_exec chmod ${argv[((i + 1))]} $node
92 log_note "usr_exec chmod ${argv[((i + 1))]} $node"
97 mode=$(get_mode ${node})
/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_fb.c138 pnode_t node; in prom_get_tem_size() local
141 if ((node = prom_optionsnode()) == OBP_BADNODE) in prom_get_tem_size()
145 if ((len = prom_getproplen(node, (caddr_t)name)) > 0) { in prom_get_tem_size()
146 (void) prom_getprop(node, (caddr_t)name, (caddr_t)buf); in prom_get_tem_size()
151 if ((len = prom_getproplen(node, (caddr_t)name)) > 0) { in prom_get_tem_size()
152 (void) prom_getprop(node, (caddr_t)name, (caddr_t)buf); in prom_get_tem_size()
/illumos-gate/usr/src/lib/iconv_modules/ko/common/
H A Dutf_to_uhang_sub.c56 hcode_table *node_ptr, node; in _utf8_to_unified_hangul() local
81 node.utf8 = _utf8_to_uni(utfcode); in _utf8_to_unified_hangul()
85 printf("*-> %2x %2x %2x*",node.utf8.unicode.data1,node.utf8.unicode.data2,node.utf8.unicode.data3); in _utf8_to_unified_hangul()
88 node_ptr = bsearch( &node, in _utf8_to_unified_hangul()
/illumos-gate/usr/src/tools/smatch/src/Documentation/sphinx/
H A Dir.py43 node = docutils.nodes.section()
44 node['ids'].append(name)
45 node.document = source
53 self.state.nested_parse(content, self.content_offset, node)
57 node.append(defnode)
59 return [node]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_int.h159 (struct profile_node *node);
167 (struct profile_node *node);
170 (struct profile_node *node);
173 (struct profile_node *node);
176 (struct profile_node *node);
182 struct profile_node **node);
217 (struct profile_node *node);
220 (struct profile_node *node, const char *new_value);
223 (struct profile_node *node, const char *new_name);
H A Dprof_set.c87 struct profile_node *section, *node; in profile_update_relation() local
116 retval = profile_find_node(section, *cpp, old_value, 0, &state, &node); in profile_update_relation()
119 retval = profile_set_relation_value(node, new_value); in profile_update_relation()
121 retval = profile_remove_node(node); in profile_update_relation()
139 struct profile_node *section, *node; in profile_clear_relation() local
161 retval = profile_find_node(section, *cpp, 0, 0, &state, &node); in profile_clear_relation()
164 retval = profile_remove_node(node); in profile_clear_relation()
185 struct profile_node *section, *node; in profile_rename_section() local
211 retval = profile_find_node(section, *cpp, 0, 1, &state, &node); in profile_rename_section()
214 retval = profile_rename_node(node, new_name); in profile_rename_section()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Ddevinfo.c140 ASSERT(node != NULL); \
1613 for (; node; node = node->devi_next) { in snap_driver_list()
1790 ASSERT((node != NULL) && (node == TOP_NODE(dsp))); in di_copynode()
1802 node->devi_node_name, node->devi_instance, off)); in di_copynode()
1873 if (node->devi_compat_names && (node->devi_compat_length > 1)) { in di_copynode()
1936 if (MDI_VHCI(node)) { in di_copynode()
1948 (void *)node, node->devi_mdi_component, off)); in di_copynode()
1959 (void *)node, node->devi_mdi_component, off)); in di_copynode()
2540 me->node = node; in di_getmdata()
3320 node = DEVI(node->devi_parent); in di_match_drv_name()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/disk-lights/
H A Ddisk_lights.c103 get_facility_props(topo_hdl_t *hdl, tnode_t *node, char **facname, in get_facility_props() argument
110 if (topo_node_resource(node, &fmri, &e) != 0) in get_facility_props()
137 dl_fault_walk_inner(topo_hdl_t *thp, tnode_t *node, void *arg) in dl_fault_walk_inner() argument
146 if (topo_node_flags(node) != TOPO_NODE_FACILITY || in dl_fault_walk_inner()
147 get_facility_props(thp, node, &facname, &factype) != 0) { in dl_fault_walk_inner()
158 (void) topo_prop_set_uint32(node, TOPO_PGROUP_FACILITY, TOPO_LED_MODE, in dl_fault_walk_inner()
168 dl_fault_walk_outer(topo_hdl_t *thp, tnode_t *node, void *arg) in dl_fault_walk_outer() argument
182 if (strcmp(DISK, topo_node_name(node)) != 0 || in dl_fault_walk_outer()
183 (pnode = topo_node_parent(node)) == NULL || in dl_fault_walk_outer()
191 if (topo_node_resource(node, &fmri, &err) != 0) in dl_fault_walk_outer()
/illumos-gate/usr/src/tools/smatch/src/
H A Ddissect.c199 node ? node->len : 0, node ? node->name : ""); in mk_name()
209 if (node->examined) in examine_sym_node()
212 node->examined = 1; in examine_sym_node()
213 name = node->ident; in examine_sym_node()
225 node = base; in examine_sym_node()
260 struct symbol *node; in __lookup_member() local
266 return node; in __lookup_member()
269 node = __lookup_member(node->ctype.base_type, name, NULL); in __lookup_member()
270 if (node) in __lookup_member()
277 return node; in __lookup_member()
[all …]
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_retire.c119 enclosure_select(di_node_t node, rcm_arg_t *rp) in enclosure_select() argument
161 smp_select(di_node_t node, rcm_arg_t *rp) in smp_select() argument
202 disk_select(di_node_t node, rcm_arg_t *rp) in disk_select() argument
224 nexus_select(di_node_t node, rcm_arg_t *rp) in nexus_select() argument
231 path = di_devfs_path(node); in nexus_select()
241 if (di_driver_ops(node) & DI_BUS_OPS) { in nexus_select()
257 node_select(di_node_t node, void *arg) in node_select() argument
269 path = di_devfs_path(node); in node_select()
287 state = di_state(node); in node_select()
480 offline_one(di_node_t node, void *arg) in offline_one() argument
[all …]
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxenbus_xs.c434 path = join(dir, node); in xenbus_directory()
448 xenbus_exists(const char *dir, const char *node) in xenbus_exists() argument
488 path = join(dir, node); in xenbus_read()
534 path = join(dir, node); in xenbus_write()
553 path = join(dir, node); in xenbus_mkdir()
566 path = join(dir, node); in xenbus_rm()
828 err = xs_watch(watch->node, token); in register_xenbus_watch()
872 err = xs_unwatch(watch->node, token); in unregister_xenbus_watch()
875 watch->node, err); in unregister_xenbus_watch()
925 (void) xs_watch(watch->node, token); in xenbus_resume()
[all …]
/illumos-gate/usr/src/uts/sun4/os/
H A Dmlsetup.c329 pnode_t node; local
337 node = prom_findnode_bydevtype(prom_rootnode(), OBP_CPU);
338 if (node != OBP_NONODE && node != OBP_BADNODE) {
339 if ((nlen = prom_getproplen(node, OBP_NAME)) <= 0 ||
341 prom_getprop(node, OBP_NAME, cpubuf) <= 0)
346 if ((clen = prom_getproplen(node, OBP_COMPATIBLE)) > 0) {
352 if ((clen = prom_getproplen(node, OBP_COMPATIBLE)) > 0 ||
353 ((node = prom_parentnode(node)) != OBP_NONODE &&
354 node != OBP_BADNODE &&
356 prom_getprop(node, OBP_DEVICETYPE, dname) > 0 &&
[all …]
/illumos-gate/usr/src/cmd/devfsadm/
H A Dusb_link.c39 static int usb_process(di_minor_t minor, di_node_t node);
42 di_node_t node, di_minor_t minor);
44 di_node_t node, di_minor_t minor);
256 usb_process(di_minor_t minor, di_node_t node) in usb_process() argument
267 drvr_nm = di_driver_name(node); in usb_process()
275 devfspath = di_devfs_path(node); in usb_process()
313 ugen_create_link(p_path, minor_nm, node, minor); in usb_process()
321 ccid_create_link(p_path, minor_nm, node, minor); in usb_process()
458 di_node_t node, di_minor_t minor) in ugen_create_link() argument
524 di_instance(node), minor_nm); in ccid_create_link()
[all …]
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/
H A Dri_init.c130 di_node_t node; member
492 if (node == DI_NODE_NIL) { in find_cpu_nodes()
496 if (node == di_arg->root) { in find_cpu_nodes()
504 name = di_node_name(node); in find_cpu_nodes()
518 node, di_node_name(node), di_binding_name(node))); in find_cpu_nodes()
1294 node = devicetable.table[i].node; in io_cm_info()
1300 (devicetable.table[i + set_size].node == node)) { in io_cm_info()
1393 ident_leaf(di_node_t node) in ident_leaf() argument
1478 di_arg->node = node; in devinfo_node_walk()
1513 if (node != di_arg->node) { in devinfo_minor_walk()
[all …]
/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd_door.c562 i_buffer_t *node; in add_buffer() local
571 node->seqnum = seqnum; in add_buffer()
572 node->buffer = buf; in add_buffer()
577 buffer_list = node; in add_buffer()
590 i_buffer_t *node, *prev; in free_buffer() local
595 node = buffer_list; in free_buffer()
597 while (node) { in free_buffer()
605 free(node->buffer); in free_buffer()
606 free(node); in free_buffer()
609 prev = node; in free_buffer()
[all …]
/illumos-gate/usr/src/cmd/acct/
H A Dacctprc.c154 void print_node(const void *node, VISIT order, int level) { in print_node() argument
157 tb.ta_uid = (*(struct utab **)node)->ut_uid; in print_node()
158 CPYN(tb.ta_name, (char *)uidtonam((*(struct utab **)node)->ut_uid)); in print_node()
159 tb.ta_cpu[0] = (*(struct utab **)node)->ut_cpu[0]; in print_node()
160 tb.ta_cpu[1] = (*(struct utab **)node)->ut_cpu[1]; in print_node()
161 tb.ta_kcore[0] = (*(struct utab **)node)->ut_kcore[0]; in print_node()
162 tb.ta_kcore[1] = (*(struct utab **)node)->ut_kcore[1]; in print_node()
163 tb.ta_pc = (*(struct utab **)node)->ut_pc; in print_node()
/illumos-gate/usr/src/lib/libcfgadm/common/
H A Dconfig_admin.c1051 di_node_t node, in null_mklog() argument
1061 di_node_t node, in mklog_v1() argument
1093 di_node_t node, in mklog_v2() argument
1129 di_node_t node, in mklog_common() argument
1157 di_node_t node, in mklog_hp() argument
1479 di_node_t node, in load_lib() argument
1489 di_node_t node, in load_lib_hp() argument
1503 di_node_t node, in load_lib_impl() argument
1630 di_node_t node, in find_lib() argument
1688 di_node_t node, in find_lib_hp() argument
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dadopt.c275 di_node_t node; in get_prom_prop() local
297 for (node = di_child_node(root_node); in get_prom_prop()
298 node != DI_NODE_NIL; in get_prom_prop()
299 node = di_sibling_node(node)) { in get_prom_prop()
300 if (strcmp(di_node_name(node), nodename) == 0) { in get_prom_prop()
305 if (node == DI_NODE_NIL) { in get_prom_prop()
314 for (pp = di_prom_prop_next(phdl, node, DI_PROM_PROP_NIL); in get_prom_prop()
316 pp = di_prom_prop_next(phdl, node, pp)) { in get_prom_prop()

12345678910>>...39