Searched refs:d_name (Results 151 - 175 of 323) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/svr4pkg/pkginfo/
H A Dpkginfo.c610 if (drp->d_name[0] == '.')
613 if (pkgcnt && (selectp(drp->d_name) < 0))
616 if (!pkginfofind(path, pkgdir, drp->d_name))
619 (void) fpkg(drp->d_name);
/illumos-gate/usr/src/uts/common/fs/ctfs/
H A Dctfs_all.c141 numtos(next, odp->d_name);
H A Dctfs_tdir.c129 numtos(next, odp->d_name);
/illumos-gate/usr/src/uts/common/fs/objfs/
H A Dobjfs_root.c148 (void) strncpy(odp->d_name, mp->mod_modname, OBJFS_NAME_MAX);
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dpc_dir.h251 * d_name is 512 bytes long to accomodate 256 UTF-16 characters.
257 char d_name[PCMAXNAM_UTF16]; member in struct:pc_dirent
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dgetcwd.c253 memcpy(d, entry->d_name, namlen + 1);
270 memcpy(p, entry->d_name, namlen);
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_ufs.c259 if (dp->d_ino && substring(name, dp->d_name) == 0)
/illumos-gate/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_sata.c302 if (strcmp(dep->d_name, ".") == 0 ||
303 strcmp(dep->d_name, "..") == 0)
307 "%s/%s", basedir, dep->d_name);
1297 if (strcmp(dep->d_name, ".") == 0 ||
1298 strcmp(dep->d_name, "..") == 0 ||
1299 (minor_portion = strchr(dep->d_name,
1304 if (strcmp(dep->d_name, name_part) != 0)
1309 "%s/%s", devpath, dep->d_name);
/illumos-gate/usr/src/lib/libproc/common/
H A Dproc_arg.c449 if (dirent->d_name[0] == '.') /* skip . and .. */
451 pid = (id_t)strtol(dirent->d_name, &errptr, 10);
/illumos-gate/usr/src/cmd/enhance/
H A Denhance.c288 if(strncmp(file->d_name, PTY_CNTRL, sizeof(PTY_CNTRL)-1) == 0) {
292 const char *ext = file->d_name + sizeof(PTY_CNTRL)-1;
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dufsread.c121 printf("%s ", d->d_name);
122 else if (!strcmp(name, d->d_name)) {
/illumos-gate/usr/src/cmd/priocntl/
H A Dpriocntl.c552 if (dentp->d_name[0] == '.') /* skip . and .. */
556 procdir, dentp->d_name);
561 cmdpath, dentp->d_name);
818 if (dentp->d_name[0] == '.') /* skip . and .. */
822 procdir, dentp->d_name);
827 cmdpath, dentp->d_name);
/illumos-gate/usr/src/cmd/fwflash/common/
H A Dfwflash.c331 if ((plugdir->d_name[0] == '.') ||
332 (strstr(plugdir->d_name, ".so") == NULL)) {
345 fwplugdirpath, plugdir->d_name);
393 if (strncmp((char *)sym, plugdir->d_name,
397 (void) memcpy(tempnm, plugdir->d_name,
401 strlen(plugdir->d_name) + 1);
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_thread.c1213 if (ep->d_ino == 0 || (ep->d_name[0] == '.' &&
1214 ep->d_name[1] == '\0') ||
1215 (ep->d_name[0] == '.' && ep->d_name[1] == '.' &&
1216 ep->d_name[2] == '\0')) {
1234 dnlc_remove(ITOV(dp), ep->d_name);
H A Dufs_dir.c454 caching = (dnlc_dir_add_entry(dcap, ep->d_name,
469 *namep == *ep->d_name && /* fast chk 1st chr */
470 bcmp(namep, ep->d_name, (int)ep->d_namlen) == 0) {
1322 caching = (dnlc_dir_add_entry(dcap, ep->d_name,
1363 *namep == *ep->d_name && /* fast chk 1st char */
1364 bcmp(namep, ep->d_name, namlen) == 0) {
1820 (void) strncpy(ep->d_name, namep, (size_t)((namlen + 4) & ~3));
1861 dnlc_dir_update(dcap, nep->d_name,
2628 (dnlc_dir_update(dcap, nep->d_name,
2820 ep->d_ino && dirbadname(ep->d_name, (in
[all...]
/illumos-gate/usr/src/uts/common/fs/
H A Dlookup.c860 if (strcmp(dp->d_name, ".") == 0 ||
861 strcmp(dp->d_name, "..") == 0) {
867 error = VOP_LOOKUP(dvp, dp->d_name, &cmpvp, &pnp, 0,
903 (void) strcpy(dp->d_name, ".zfs");
1207 complen = strlen(dp->d_name);
1213 bcopy(dp->d_name, bufloc, complen);
/illumos-gate/usr/src/common/ficl/
H A Dloader.c601 if (d != NULL && strcmp(d->d_name, ".") == 0)
603 if (d != NULL && strcmp(d->d_name, "..") == 0)
612 if (d != NULL && strcmp(d->d_name, ".") == 0)
614 if (d != NULL && strcmp(d->d_name, "..") == 0)
620 ficlStackPushPointer(ficlVmGetDataStack(pVM), d->d_name);
622 strlen(d->d_name));
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dqueue.c2574 sm_dprintf("gatherq: checking %s..", d->d_name);
2578 d->d_name[0] == NORMQF_LETTER) ||
2580 d->d_name[0] == QUARQF_LETTER) ||
2582 d->d_name[0] == LOSEQF_LETTER)) &&
2583 d->d_name[1] == 'f'))
2592 if (strlen(d->d_name) >= MAXQFNAME)
2597 d->d_name, MAXQFNAME);
2601 d->d_name, MAXQFNAME);
2610 d->d_name) != check->queue_negate)
2639 (void) sm_strlcpyn(qf, sizeof(qf), 3, qd, "/", d->d_name);
[all...]
/illumos-gate/usr/src/cmd/fm/fmdump/common/
H A Dfmdump.c539 if (strlen(dp->d_name) < len + 2 ||
540 strncmp(dp->d_name, logname, len) != 0 ||
541 dp->d_name[len] != '.')
551 if (strcmp(dp->d_name + len + 1, "0-") == 0)
552 addlink(&head, dirname, dp->d_name, -1);
553 else if ((suffix = strtol(dp->d_name + len + 1,
555 addlink(&head, dirname, dp->d_name, suffix);
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Ddir.c254 dp->d_name[0] = '\0';
355 for (cp = dp->d_name, size = 0; size < (size_t)dp->d_namlen;
367 dp->d_ino, dp->d_reclen, dp->d_namlen, dp->d_name);
494 (void) memmove(dirp->d_name, idesc->id_name,
505 if (memcmp(dirp->d_name, idesc->id_name,
/illumos-gate/usr/src/cmd/syseventadm/
H A Dsyseventadm.c475 if (dp->d_name[0] == '.')
477 if ((strlen(dp->d_name) == 0) ||
478 (strcmp(dp->d_name, "lost+found") == 0))
480 suffix = strrchr(dp->d_name, ',');
484 (void) strcat(fname, dp->d_name);
/illumos-gate/usr/src/boot/lib/libstand/
H A Dext2fs.c300 char d_name[EXT2_MAXNAMLEN]; member in struct:ext2dirent
780 strncmp(name, dp->d_name, length) == 0) {
905 strncpy(d->d_name, ed->d_name, ed->d_namlen);
906 d->d_name[ed->d_namlen] = '\0';
/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_files.c372 if (nwam_ncp_file_to_name(dp->d_name, &ncpname) != NWAM_SUCCESS)
375 filenamelen = strlen(NWAM_CONF_DIR) + strlen(dp->d_name) + 1;
383 dp->d_name, filenamelen - strlen(NWAM_CONF_DIR));
/illumos-gate/usr/src/common/fs/
H A Dufsops.c306 if (dp->d_namlen == len && strcmp(path, dp->d_name) == 0) {
311 dprintf("%s\n", dp->d_name);
355 dprintf("readdir: name = %s\n", dp->d_name);
/illumos-gate/usr/src/cmd/picl/plugins/common/memcfg/
H A Dpiclmemcfg_comm.c724 if (strcmp(retp->d_name, ".") == 0 ||
725 strcmp(retp->d_name, "..") == 0)
729 (void) strcat(path, retp->d_name);

Completed in 227 milliseconds

1234567891011>>