Searched defs:root (Results 26 - 50 of 254) sorted by relevance

1234567891011

/illumos-gate/usr/src/cmd/logadm/
H A Dlut.c63 * struct lut *root = NULL;
64 * root = lut_add(root, "key", value);
70 lut_add(struct lut *root, const char *lhs, void *rhs) argument
74 if (root == NULL) {
76 root = MALLOC(sizeof (*root));
77 root->lut_lhs = STRDUP(lhs);
78 root->lut_rhs = rhs;
79 root
106 lut_dup(struct lut *root) argument
119 lut_lookup(struct lut *root, const char *lhs) argument
137 lut_walk(struct lut *root, void (*callback)(const char *lhs, void *rhs, void *arg), void *arg) argument
155 lut_free(struct lut *root, void (*callback)(void *rhs)) argument
173 struct lut *root = (struct lut *)arg; local
[all...]
/illumos-gate/usr/src/boot/lib/libz/
H A Dinftrees.c28 requested root table index bits, and on return it is the actual root
43 unsigned root; /* number of index bits for root table */ local
51 unsigned low; /* low bits for current root entry */
52 unsigned mask; /* mask for low root bits */
112 /* bound code lengths, force root to be within code lengths */
113 root = *bits;
116 if (root > max) root
[all...]
/illumos-gate/usr/src/boot/sys/boot/ofw/common/
H A Dmain.c93 phandle_t root; local
105 root = OF_finddevice("/");
108 OF_getprop(root, "#address-cells", &acells, sizeof(acells));
109 OF_getprop(root, "#size-cells", &scells, sizeof(scells));
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/
H A Dofw_memory.c121 phandle_t memoryp, root; local
125 root = OF_finddevice("/");
127 OF_getprop(root, "#address-cells", &acells, sizeof(acells));
/illumos-gate/usr/src/lib/scsi/plugins/smp/usmp/common/
H A Dusmp.c88 di_node_t root, smp; local
117 if ((root = di_init("/", DINFOCACHE)) != DI_NODE_NIL) {
118 for (smp = di_drv_first_node("smp", root); smp != DI_NODE_NIL;
128 di_fini(root);
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/dh_common/
H A Dgeneric_key.c95 * the supplied modulus and root. To calculate the pair we generate
98 * the public key as PublicKey = root^PrivateKey % modulus. This routine
104 int proot, /* The prime root */
114 MINT *root = mp_itom(proot); /* We get the root as a MINT */ local
156 /* The public key is root^sk % modulus */
157 mp_pow(root, sk, modulus, pk);
175 mp_mfree(root);
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Ddisplay_funcs.c116 disp_powerfail(Prom_node *root) argument
124 pnode = dev_find_node(root, option_str);
H A Dlibdevinfo_sun4u.c55 static Prom_node *walk_di_tree(Sys_tree *tree, Prom_node *root,
73 walk_di_tree(Sys_tree *tree, Prom_node *root, di_node_t di_node) argument
91 pnode->parent = root;
177 return (walk_di_tree(tree, root, curnode));
179 pnode->sibling = walk_di_tree(tree, root, curnode);
414 Prom_node *root_node; /* root node of OBP device tree */
415 di_node_t di_root_node; /* root of the devinfo tree */
H A Dpdevinfo_sun4v.c84 Prom_node *root_node; /* root node of OBP device tree */
85 picl_nodehdl_t rooth; /* root PICL node for IO display */
142 * sun4v_Walk the PROM device tree and build the system tree and root tree.
148 sun4v_walk(Sys_tree *tree, Prom_node *root, int id) argument
165 pnode->parent = root;
174 * is that all nodes that are children of root should have a
224 return (sun4v_walk(tree, root, curnode));
226 pnode->sibling = sun4v_walk(tree, root, curnode);
/illumos-gate/usr/src/cmd/virtinfo/
H A Dvirtinfo.c151 *root = ""; local
168 root = (roles & V12N_ROLE_ROOT) ?
169 "|root=true" : "|root=false";
178 root = (roles & V12N_ROLE_ROOT) ?
179 " root" : "";
182 gettext("Domain role: "), impl, role, io, service, root);
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/locality/
H A DLocalityDomain.java71 * The root LocalityGroup for the LocalityDomain
73 private LocalityGroup root; field in class:LocalityDomain
96 root = jl_root();
125 * Return the "root" LocalityGroup.
129 return (root);
145 root = null;
154 return (root.toString());
262 groups.add(root);
263 getGroups(root, groups);
291 * id. Search all LocalityGroups starting at the root grou
[all...]
/illumos-gate/usr/src/cmd/pools/poold/libjlgrp/
H A Djlgrp.c102 * root LocalityGroup.
110 jlong root; local
115 root = (jlong) lgrp_root(getCookie(env, clazz, obj));
122 lgrp = (*env)->NewObject(env, clazz, mid, obj, root, NULL);
/illumos-gate/usr/src/cmd/ramdiskadm/
H A Dmain.c192 di_node_t root; local
198 if ((root = di_init("/", DINFOCPYALL)) == DI_NODE_NIL) {
202 if (di_walk_minor(root, DDI_PSEUDO, 0, NULL, di_callback) == -1) {
203 di_fini(root);
207 di_fini(root);
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Descparse.y88 %type <np> root stmtlist stmt nvpairlist nvpair nvname nvexpr
95 root : stmtlist label
/illumos-gate/usr/src/cmd/acct/
H A Dacctprc.c61 void **root = NULL; variable
139 if (*(pt = (struct utab **)tsearch((void *)ub, (void **)&root, \
172 twalk((struct utab *)root, print_node);
/illumos-gate/usr/src/cmd/availdevs/
H A Davaildevs.c183 /* Create the root node */
184 xmlNodePtr root = xmlNewDocNode( local
186 (void) xmlAddChild((xmlNodePtr) doc, (xmlNodePtr)root);
228 xmlNodePtr root = xmlDocGetRootElement(doc); local
232 xmlNodePtr available = xmlNewChild(root, NULL,
244 xmlNodePtr importable = xmlNewChild(root, NULL,
/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd_impl.c67 hp_node_t root = NULL; local
82 if ((rv = getinfo(path, connection, 0, &root)) != 0) {
89 *old_statep = hp_state(root);
92 use_rcm = check_rcm_required(root, state);
100 if ((rv = rcm_resources(root, &rsrcs)) != 0) {
103 hp_fini(root);
109 ((rv = rcm_offline(rsrcs, flags, root)) != 0)) {
114 *resultsp = root;
120 hp_fini(root);
228 * Given the root o
232 check_rcm_required(hp_node_t root, int target_state) argument
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/installf/
H A Dinstallf.c287 char *root; local
300 if ((root = get_inst_root()) == NULL)
302 if (strcmp(root, "/") != 0) {
303 rootLen = strlen(root);
304 if (strncmp(argv[0], root, rootLen) == 0) {
/illumos-gate/usr/src/tools/chk4ubin/
H A Dchk4ubin.c125 chk4ubin(char *root, char *binary) argument
142 if (root == NULL) {
145 (void) snprintf(path, sizeof (path), "%s/%s", root, binary);
235 "usage: %s [-n] [-v] [-r <root>] [<binary>] ...\n", whoami);
252 char *root = NULL; local
270 root = optarg;
280 if (chk4ubin(root, argv[i]) != 0)
285 if (root == NULL)
286 root = "/";
287 if (chk4ubin(root, sun4u_bootable
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/sbin/netstrategy/
H A Dnetstrategy.c37 * stdout: <root fs type> <interface name> <net config strategy>.
39 * <root fs type> - "nfs", "ufs" or "zfs"
48 * <root fs type> identifies the system's root file system type.
50 * <interface name> is the 16 char name of the root interface, and is only
111 /* root location */
257 char *root, *interface, *strategy, dummy; local
261 root = interface = strategy = NULL;
264 root = get_root_fstype();
276 if ((strcmp(root, "nf
[all...]
/illumos-gate/usr/src/boot/sys/boot/i386/loader/
H A Dmain.c257 new_currdev.d_kind.zfs.root_guid = zargs->root;
383 char *root; local
393 root = getenv("zfs_be_root");
394 if (root == NULL) {
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/
H A Dmain.c165 /* Leave the pool/root guid's unassigned */
250 char *root; local
260 root = getenv("zfs_be_root");
261 if (root == NULL) {
264 err = zfs_bootenv(root);
/illumos-gate/usr/src/lib/scsi/libses/common/
H A Dses_node.c138 ses_node_t *np, *pnp, *cnp, *root; local
158 * Start with the root of the tree, which is a target node, containing
161 if ((root = ses_node_alloc(sp, sp->ss_root)) == NULL)
164 root->sn_type = SES_NODE_TARGET;
165 SES_NV_ADD(string, err, root->sn_props, SCSI_PROP_VENDOR,
167 SES_NV_ADD(string, err, root->sn_props, SCSI_PROP_PRODUCT,
169 SES_NV_ADD(string, err, root->sn_props, SCSI_PROP_REVISION,
200 if ((np = ses_node_alloc(sp, root)) == NULL)
215 if (root->sn_first_child == NULL)
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_int.h40 struct profile_node *root; member in struct:_prf_data_t
140 (FILE *f, struct profile_node **root);
143 (struct profile_node *root, FILE *dstfile);
146 (struct profile_node *root, char **buf);
H A Dprof_parse.c79 return profile_create_node("(root)", 0, &state->root_section);
231 errcode_t profile_parse_file(FILE *f, struct profile_node **root) argument
309 *root = state.root_section;
384 static void dump_profile(struct profile_node *root, int level, argument
395 retval = profile_find_node_relation(root, 0, &iter,
416 retval = profile_find_node_subsection(root, 0, &iter,
449 errcode_t profile_write_tree_file(struct profile_node *root, FILE *dstfile) argument
451 dump_profile(root, 0, dump_profile_to_file_cb, dstfile);
487 errcode_t profile_write_tree_to_buffer(struct profile_node *root, argument
492 dump_profile(root,
[all...]

Completed in 183 milliseconds

1234567891011