Searched defs:component (Results 1 - 25 of 60) sorted by relevance

123

/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dftw.c115 char *subpath, *component; local
178 /* Create a prefix to which we will append component names */
182 component = &subpath[n];
185 * Read the directory one component at a time.
194 /* Append component name to the working path */
195 (void)strcpy(component, dp->d_name);
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dmakepath.c63 register char *component, local
78 for (len = strlen(s) + 1; (component = va_arg(ap, char *)); )
79 len += strlen(component) + 1;
100 p = ret, component = s;
101 component;
102 component = va_arg(ap, char *)
104 for (q = component; *q; )
H A Dmakestr.c60 register char *component, local
75 for (len = strlen(s); (component = va_arg(ap, char *)); )
76 len += strlen(component);
97 p = ret, component = s;
98 component;
99 component = va_arg(ap, char *)
101 for (q = component; *q; )
H A Dgetpaths.c83 getprinterfile(char *name, char *component) argument
90 path = makepath(Lp_A_Printers, name, component, NULL);
100 getsystemfile(char *name, char *component) argument
107 path = makepath(Lp_A_Systems, name, component, NULL);
151 getformfile(char *name, char *component) argument
158 path = makepath(Lp_A_Forms, name, component, NULL);
/illumos-gate/usr/src/cmd/backup/dump/
H A Dlftw.c141 char *subpath, *component; local
227 /* Create a prefix to which we will append component names */
231 component = &subpath[n];
233 sublen -= component - subpath;
236 * Read the directory one component at a time.
245 /* Append component name to the working path */
246 (void) strncpy(component, dp->d_name, sublen);
247 component[sublen - 1] = '\0';
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_trap.c39 int alertlevel, char *component, dev_info_t *info_dip)
66 SVE_CACHE_CLASS, component, attr_list, NULL, DDI_SLEEP);
69 SVE_STE_CLASS, component, attr_list, NULL, DDI_SLEEP);
72 SVE_II_CLASS, component, attr_list, NULL, DDI_SLEEP);
38 nsc_do_sysevent(char *driver_name, char *trap_messages, int errorno, int alertlevel, char *component, dev_info_t *info_dip) argument
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dcharsets.c75 * Removes the "%" escape sequences from a URL component.
79 unpercent(char *component) argument
84 if (component == NULL)
85 return (component);
87 for (s = component; (c = *s) != 0; s++) {
101 return (component);
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dpathname.c52 * link processing), and peeling off the first component
123 * Get next component off a pathname and leave in
126 * If PEEK is set in flags, just peek at the component,
130 stpn_getcomponent(struct st_pathname *pnp, char *component, int flags) argument
142 *component++ = *cp++;
149 *component = 0;
H A Dlookup.c101 char component[NFS_MAXNAMLEN+1]; /* buffer for component */ local
117 component[0] = '\0';
134 * Process the next component of the pathname.
136 error = stpn_stripcomponent(pnp, component);
145 if (component[0] == '\0')
157 if (strcmp(component, "..") == 0) {
167 cino = get_dcache(mac_get_dev(), component, dino);
171 dprintf("lookup: component %s pathleft %s\n", component, pn
225 set_dcache(mac_get_dev(), component, dino, -1); local
238 set_dcache(mac_get_dev(), component, dino, cino); local
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dsmp_transport.c64 char *component; local
116 /* Establish 'component' property. */
121 /* component value format is '%s.%05d.%03d' */
123 component = kmem_zalloc(clen, KM_SLEEP);
125 component, ilen);
126 (void) snprintf(&component[ilen], clen - ilen,
131 "component") == 0)
133 smp_sd->smp_sd_dev, "component", component);
134 kmem_free(component, cle
[all...]
/illumos-gate/usr/src/cmd/pools/poolcfg/
H A Dpoolcfg.y81 " transfer to resource name [component-list]\n" \
102 "component-list:\n" \
104 " where multiple uses of the same component cause the last provided\n" \
106 " There is no deletion syntax for component lists.\n" \
239 %type <ival> resource component
639 component_assign: component name
645 component: PCE_CPU {$$ = PCE_CPU;}; label
1424 * transfer_list_walk() walks the component assign requests and attempts
1425 * to assign the component with the specified resource.
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dlpfsck.c322 char *component; local
327 while ((component = va_arg((*pap), char *)) != NULL) {
328 if (strlcat(buf, component, sizeof (buf)) >= sizeof (buf) ||
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_lookup.c62 * Leave pathname of final component in pnp, return the vnode
63 * for the final component in *compvpp, and return the vnode
64 * for the parent of the final component in dirvpp.
86 vnode_t *cvp; /* current component vp */
88 char component[MAXNAMELEN]; /* buffer for component (incl null) */ local
113 * Also, we must guarantee that the last component is a directory.
136 * Process the next component of the pathname.
138 if (error = pn_getcomponent(pnp, component)) {
151 if (component[
[all...]
/illumos-gate/usr/src/uts/common/fs/
H A Dpathname.c61 * link processing), and peeling off the first component
183 * Partial path, replace only last component
226 * Get next component from a path name and leave in
227 * buffer "component" which should have room for
231 pn_getcomponent(struct pathname *pnp, char *component) argument
242 *component++ = c;
249 *component++ = c;
255 *component = '\0';
272 * Sets pn_path to the last component in the pathname, updating
327 * Move the component t
[all...]
/illumos-gate/usr/src/lib/libfru/libnvfru/
H A Dnvfru.c201 const fru_regdef_t *component; local
213 data += component->payloadLen) {
214 component = fru_reg_lookup_def_by_name(
216 convert_element(data, component, "", nv_record,
/illumos-gate/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_hsp.c77 devconfig_t *component,
386 * the unique component sizes which need to be spared.
394 * If a spare cannot be found for any device component,
491 * examine device component slices and see if the HSP already
734 * FUNCTION: find_spare_for_component(devconfig_t *component,
742 * hbas - pointer to a list of HBAs the component's
744 * disks - pointer to a list of disks the component's
752 * PURPOSE: Find a spare for the input component.
758 * for the input component and not on the same disk as any
762 * as the component an
766 find_spare_for_component( devconfig_t *component, dlist_t *all_spares, dlist_t *hbas, dlist_t *disks, boolean_t *found) argument
853 choose_spare_for_component( devconfig_t *component, dlist_t **all_spares, dlist_t **new_spares, dlist_t **avail, dlist_t *used_hbas, dlist_t *used_disks, uint16_t npaths) argument
[all...]
/illumos-gate/usr/src/uts/common/io/pciex/
H A Dpcie_pwr.c107 pcie_power(dev_info_t *dip, int component, int level) argument
/illumos-gate/usr/src/cmd/lvm/metassist/common/
H A Dvolume_defaults.c40 component_type_t type, devconfig_t **component, boolean_t create);
258 * Get the first component of the given type from the given disk set.
259 * If not found, create the component if requested.
263 * but the requested component does not exist under it
267 * if the requested component exists or was created
270 * if the requested component does not exist and could
278 devconfig_t **component,
296 * Get the singleton component under this disk set, create if
299 return (devconfig_get_component(diskset, type, component, create));
274 defaults_get_singleton_component( defaults_t *defaults, char *disksetname, component_type_t type, devconfig_t **component, boolean_t create) argument
/illumos-gate/usr/src/boot/include/isofs/cd9660/
H A Dcd9660_rrip.h75 u_char component [ISODCL ( 5, 5)]; member in struct:__anon14
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dinuse_svm.c359 md_comp_t *component; local
361 component = &rowp->comps.comps_val[j];
362 if (new_entry(component->compnamep->bname, "stripe",
/illumos-gate/usr/src/lib/libproject/common/
H A Dsetproject.c74 build_rctlblk(rctlblk_t *blk, int comp_num, char *component) argument
84 xstrtolower(component);
86 if (strcmp("basic", component) == 0) {
91 if (strcmp("priv", component) == 0 ||
92 strcmp("privileged", component) == 0) {
109 if (strchr(component, '-') != NULL)
113 val = strtoull(component, &t, 10);
114 if (errno != 0 || t == component || *t != '\0')
125 if (strcmp("none", component) == 0) {
130 if (strcmp("deny", component)
193 uint_t component = 0; local
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnftw.c171 walk(char *component, argument
211 * Determine the type of the component.
213 * Note that if the component is a trigger mount, this
300 * If current component is not a directory, call user
311 if (vp->tmppath[0] != '\0' && component[-1] != '/')
312 *component++ = '/';
313 *component = 0;
331 this.comp = component;
368 vp->state.base = (int)(component - vp->tmppath);
383 base_component = component
[all...]
/illumos-gate/usr/src/uts/common/io/1394/targets/dcam1394/
H A Ddcam.c68 /* for power management (we have only one component) */
384 dcam_power(dev_info_t *dip, int component, int level) argument
/illumos-gate/usr/src/cmd/prtfru/
H A Dprtfru.c952 * Print each component of the iteration
966 const fru_regdef_t *component; local
974 * Print each component of the record
977 i++, data += component->payloadLen) {
978 component = fru_reg_lookup_def_by_name(
980 assert(component != NULL);
981 print_element(data, component, path, indent);
/illumos-gate/usr/src/cmd/sh/
H A Dname.c282 patheq(unsigned char *component, char *dir) argument
288 c = *component++;
290 c = '\0'; /* end of component of path */

Completed in 93 milliseconds

123