/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | makepath.c | 63 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 D | makestr.c | 60 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 D | getpaths.c | 83 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/stand/lib/fs/nfs/ |
H A D | lookup.c | 101 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...] |
H A D | pathname.c | 52 * 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;
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | charsets.h | 49 extern char *unpercent(char *component);
|
H A D | charsets.c | 75 * 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/uts/common/avs/ns/nsctl/ |
H A D | nsc_trap.c | 39 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/libproject/common/ |
H A D | setproject.c | 74 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/uts/common/io/scsi/impl/ |
H A D | smp_transport.c | 64 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/lib/libbc/libc/gen/common/ |
H A D | ftw.c | 115 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/lib/smbsrv/libfksmbsrv/common/ |
H A D | fake_lookup.c | 62 * 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/sys/ |
H A D | pm.h | 124 int select; /* Selects the component or dependent */ 137 int component; /* Selects the component of the device */ member in struct:pm_req 178 int component; /* which component changed state */ member in struct:pm_state_change 201 int select; /* Selects the component or dependent */ 212 int component; /* selects the component of the device */ member in struct:pm_req32 220 int component; /* which component change member in struct:pm_state_change32 [all...] |
H A D | sunpm.h | 127 int pm_get_current_power(dev_info_t *dip, int component, int *levelp);
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | lftw.c | 141 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/lib/libc/port/gen/ |
H A D | nftw.c | 171 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/fs/ |
H A D | pathname.c | 61 * 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...] |
H A D | lookup.c | 86 vnode_t **compvpp, /* ret for ptr to component vnode */ 196 * Leave pathname of final component in pnp, return the vnode 197 * for the final component in *compvpp, and return the vnode 198 * for the parent of the final component in dirvpp. 220 vnode_t *cvp; /* current component vp */ 221 char component[MAXNAMELEN]; /* buffer for component (incl null) */ local 252 * Also, we must guarantee that the last component is a directory. 275 * Process the next component of the pathname. 277 if (error = pn_getcomponent(pnp, component)) { 929 char component[MAXNAMELEN]; local [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | pm.c | 1002 req.component = req32.component; 1357 int comp = req.component; 1359 PMD(PMD_DPM, ("ioctl: %s: %s component %d to value " 1440 PMD(PMD_NORM, ("ioctl: %s: %s component %d\n", 1441 cmdstr, req.physpath, req.component)) 1442 normal = pm_get_normal_power(dip, req.component); 1459 if (pm_get_current_power(dip, req.component, 1467 cmdstr, req.physpath, req.component, *rval_p)) 1478 int comp = req.component; [all...] |
/illumos-gate/usr/src/cmd/lvm/metassist/xml/ |
H A D | xml_convert.c | 514 devconfig_t *component; local 525 component = removed->obj; 529 dlist_append(dlist_new_item(component), 941 /* For each component of this device... */ 946 devconfig_t *component = (devconfig_t *)components->obj; local 950 if ((error = devconfig_get_type(component, &t)) != 0) { 956 node, elements, component); 1015 devconfig_t *component = NULL; local 1029 device, element->type, &component, B_FALSE); 1032 if (component [all...] |
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_pathname.c | 74 * second-to-last component of the path. It also returns the name of the last 75 * component. Pointers for both of these fields must be supplied by the caller. 112 * Directory for the penultimate component of the original path. 122 * The last component of the path. (This may be different from the name of any 123 * link target to which the last component may resolve.) 139 * with a link in the last component, the directory information of the 266 * last component. (We only need to return an smb_node for 267 * the second to last component; a name is returned for the 268 * last component.) 335 * If any component bu 362 char *component, *real_name, *namep; local [all...] |
/illumos-gate/usr/src/lib/libfru/libnvfru/ |
H A D | nvfru.c | 201 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/boot/include/isofs/cd9660/ |
H A D | cd9660_rrip.h | 75 u_char component [ISODCL ( 5, 5)]; member in struct:__anon14
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | lpfsck.c | 322 char *component; local 327 while ((component = va_arg((*pap), char *)) != NULL) { 328 if (strlcat(buf, component, sizeof (buf)) >= sizeof (buf) ||
|
/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | jtag.c | 141 * 1M, 2M, and 4M Ecache is via the component IDs of the SRAMs. 153 BAD_CID = -3, /* JTAG component ID does not match */ 208 * A jtag_log_comp describes a component as seen by JTAG. 211 * component, this can be a bit complicated... 216 * their component IDs. The field id points to a NULL-terminated list 217 * of component IDs. Allowable component IDs may differ only in the rev 221 * initialize the component. The structure of this byte string is not 231 u_int *id; /* Pointer to component IDs, 0 if no CID */ 234 jtag_instruction id_code; /* instruction to read component I 1820 jtag_init_chip( volatile u_int *jreg, jtag_ring ring, jtag_phys_comp *component, const u_int *pval, u_char scan_out[32]) argument 1891 jtag_scanout_chip( volatile u_int *jreg, jtag_ring ring, jtag_phys_comp *component, u_int *result) argument 2316 jtag_single_IR_DR( volatile u_int *jreg, jtag_phys_comp *component, jtag_instruction instr, u_char *in, int nbits, u_char *out) argument 2352 jtag_rescan_IR_DR( volatile u_int *jreg, jtag_phys_comp *component, jtag_instruction instr, u_char *in, int nbits, u_char *out) argument [all...] |