Searched refs:d_name (Results 176 - 200 of 323) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dcheck.c1003 if (strcmp(dp->d_name, "preinstall") == 0 ||
1004 strcmp(dp->d_name, "postinstall") == 0 ||
1005 strncmp(dp->d_name, "i.", 2) == 0) {
/illumos-gate/usr/src/cmd/luxadm/
H A Dadm.c239 if (strcmp(dirp->d_name, ".") == 0 ||
240 strcmp(dirp->d_name, "..") == 0) {
243 sprintf(file, "%s/%s", dir, dirp->d_name);
H A Dfcalupdate.c899 if (strcmp(dirp->d_name, ".") == 0 ||
900 strcmp(dirp->d_name, "..") == 0)
903 (void) strcpy(ptr, dirp->d_name); /* append name */
/illumos-gate/usr/src/uts/common/fs/bootfs/
H A Dbootfs_vnops.c258 (void) strncpy(dp->d_name, ".", DIRENT64_NAMELEN(dlen));
275 (void) strncpy(dp->d_name, "..", DIRENT64_NAMELEN(dlen));
303 (void) strncpy(dp->d_name, dnp->bvn_name,
/illumos-gate/usr/src/boot/lib/libstand/
H A Dufs.c470 !strcmp(name, dp->d_name)) {
855 strcpy(d->d_name, dp->d_name);
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_backup_reader.c718 if (*dtp->d_name == '.')
721 if (sysattr_rdonly(dtp->d_name))
724 afd = attropen(fnamep, dtp->d_name, O_RDONLY);
732 (void) output_xattr_header(fullname, dtp->d_name, afd,
735 dtp->d_name);
772 sysattr_rw(dtp->d_name)) {
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_readdir.c106 nfs4_readdir_getvp(vnode_t *dvp, char *d_name, vnode_t **vpp, argument
120 if (error = VOP_LOOKUP(dvp, d_name, &vp, NULL, 0, NULL, cs->cr,
704 if (dp->d_ino == 0 || NFS_IS_DOTNAME(dp->d_name)) {
726 error = nfs4_readdir_getvp(dvp, dp->d_name,
782 name = nfscmd_convname(ca, cs->exi, dp->d_name,
809 if (name != dp->d_name)
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A D_open.c355 if (entry->d_name[0] != '.')
356 getPrinterInfo(entry->d_name, fd);
/illumos-gate/usr/src/cmd/power/
H A Dsys-suspend.c535 if (strstr(dp->d_name, ".Xauth") != NULL) {
537 (void) sprintf(filepath, "%s/%s", DT_TMP, dp->d_name);
/illumos-gate/usr/src/cmd/ptools/ptree/
H A Dptree.c189 if (dentp->d_name[0] == '.') /* skip . and .. */
191 (void) strcpy(pname + pdlen, dentp->d_name);
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_readdir.c219 (((int)(((dirent64_t *)0)->d_name) + 1 + (namelen) + 7) & ~ 7)
306 (void) strcpy(dp->d_name, l->name);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dglob.c283 if (match(dp->d_name, pattern)) {
284 Gcat(gpath, dp->d_name);
/illumos-gate/usr/src/cmd/stat/common/
H A Ddsr.c492 (void) strcpy(p, dp->d_name);
502 mdsetname = safe_strdup(dp->d_name);
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_oplerr.c333 if (strncmp(dp->d_name, MC_PHYPREFIX,
338 "%s/%s", MC_PHYDEV_DIR, dp->d_name);
/illumos-gate/usr/src/cmd/priocntl/
H A Dsubr.c339 if (dentp->d_name[0] == '.') /* skip . and .. */
343 procdir, dentp->d_name);
/illumos-gate/usr/src/cmd/vi/port/
H A Dexpreserve.c140 filname = (unsigned char *)direntry->d_name;
/illumos-gate/usr/src/cmd/rcap/rcapd/
H A Drcapd_main.c597 if (strcmp(".", dirent->d_name) == 0 ||
598 strcmp("..", dirent->d_name) == 0)
600 pid = atoi(dirent->d_name);
601 ASSERT(pid != 0 || strcmp(dirent->d_name, "0") == 0);
/illumos-gate/usr/src/cmd/auditreduce/
H A Doption.c779 if (dp->d_name[0] == '.')
784 (void) strcat(f_dir, dp->d_name);
835 if (dp->d_name[0] == '.') /* can't see hidden files */
840 (void) strcat(fname, dp->d_name);
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumptraverse.c699 if (dp->d_name[0] == '.') {
700 if (dp->d_name[1] == '\0') {
711 if (dp->d_name[1] == '.' && dp->d_name[2] == '\0') {
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dinode.c1001 (void) memmove(idesc->id_name, dirp->d_name,
1016 if (strcmp(dirp->d_name, idesc->id_name) == 0 &&
1500 strcmp(dirp->d_name, ".") != 0 &&
1501 strcmp(dirp->d_name, "..") != 0) {
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventd/
H A Dsyseventd.c1243 if (((tmp = strstr(entp->d_name, MODULE_SUFFIX)) == NULL) ||
1249 dirname, entp->d_name) >= sizeof (modpath)) {
1272 mod->name = strdup(entp->d_name);
1345 syseventd_print(3, "loaded module %s\n", entp->d_name);
/illumos-gate/usr/src/tools/cscope-fast/
H A Ddir.c280 (void) sprintf(path, "%s/%s", dir, entry->d_name);
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_mangle_name.c358 * The ed_name/d_name is NULL terminated by the file system.
423 namep = dp->d_name;
/illumos-gate/usr/src/cmd/iconv/
H A Diconv_list.c205 if (strlcpy(namebuf, de->d_name, sizeof (namebuf)) >=
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c801 if (strncmp(dp->d_name, OBJ_PREFIX, OBJ_PREFIX_LEN) != 0)
804 (void) strcpy((char *)ks_handle->name, dp->d_name);
1680 if ((strcmp(pri_ent->d_name, ".") == 0) ||
1681 (strcmp(pri_ent->d_name, "..") == 0) ||
1682 (strncmp(pri_ent->d_name, TMP_OBJ_PREFIX,
1692 "%s/%s", pri_obj_path, pri_ent->d_name);
1695 (pri_ent->d_name) + OBJ_PREFIX_LEN);

Completed in 166 milliseconds

1234567891011>>