Home
last modified time | relevance | path

Searched refs:d_name (Results 51 – 75 of 317) sorted by relevance

12345678910>>...13

/illumos-gate/usr/src/lib/sun_fc/common/
H A DHBAPort.cc229 if (strcmp(dirp->d_name, ".") == 0 || in lookupControllerPath()
230 strcmp(dirp->d_name, "..") == 0) { in lookupControllerPath()
233 sprintf(node, "%s/%s", dir, dirp->d_name); in lookupControllerPath()
239 cfg_path += dirp->d_name; in lookupControllerPath()
/illumos-gate/usr/src/cmd/bnu/
H A Dgnamef.c50 if (dp->d_ino != 0 && dp->d_name[0] != '.')
54 (void) strncpy(filename, dp->d_name, MAXBASENAME);
/illumos-gate/usr/src/cmd/backup/dump/
H A Dlftw.c241 if (strcmp(dp->d_name, ".") != 0 && in lf_xftw()
242 strcmp(dp->d_name, "..") != 0) { in lf_xftw()
246 (void) strncpy(component, dp->d_name, sublen); in lf_xftw()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dast_dir.h56 #define D_NAMLEN(d) (strlen((d)->d_name))
65 #define D_RECSIZ(d,n) (sizeof(*(d))-sizeof((d)->d_name)+((n)+sizeof(char*))&~(sizeof(char*)-1))
/illumos-gate/usr/src/cmd/csh/
H A Dsh.exec.c422 if (dp->d_name[0] == '.' && in dohash()
423 (dp->d_name[1] == '\0' || in dohash()
424 dp->d_name[1] == '.' && dp->d_name[2] == '\0')) in dohash()
426 hashval = hash(hashname(strtots(curdir_, dp->d_name)), in dohash()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Ddaemon.c203 Daemons[idx].d_name,
1078 d->d_name,
1094 d->d_name);
1110 d->d_name);
1161 d->d_name,
1215 d->d_name);
1222 d->d_name);
1572 d->d_name = v;
1821 char *d_name; member
1884 Daemons[NDaemons].d_name = newstr(Daemons[NDaemons].d_name);
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/pkgremove/
H A Dcheck.c223 if ((strcmp(dp->d_name, "preremove") == 0) || in rckpriv()
224 (strcmp(dp->d_name, "postremove") == 0) || in rckpriv()
225 (strncmp(dp->d_name, "r.", 2) == 0)) { in rckpriv()
/illumos-gate/usr/src/lib/libc/port/gen/
H A D_xftw.c206 if (strcmp(direntp->d_name, ".") == 0 || in fwalk()
207 strcmp(direntp->d_name, "..") == 0) in fwalk()
212 subpath = malloc(n + strlen(direntp->d_name) + 2); in fwalk()
223 (void) strlcpy(&subpath[n], direntp->d_name, MAXNAMELEN); in fwalk()
/illumos-gate/usr/src/tools/protocmp/
H A Dprotodir.c720 if ((strcmp(dp->d_name, ".") == 0) || in read_in_protodir()
721 (strcmp(dp->d_name, "..") == 0) || in read_in_protodir()
722 (strncmp(dp->d_name, ".del-", 5) == 0) || in read_in_protodir()
723 (strcmp(dp->d_name, "SCCS") == 0)) in read_in_protodir()
727 dp->d_name); in read_in_protodir()
740 count += process_dependencies(dp->d_name, dir_name, list, in read_in_protodir()
743 count += process_package_dir(dp->d_name, protodir, list, in read_in_protodir()
/illumos-gate/usr/src/lib/varpd/libvarpd/common/
H A Dlibvarpd_persist.c509 if (strcmp(dp->d_name, ".") == 0 || in libvarpd_persist_restore()
510 strcmp(dp->d_name, "..") == 0) in libvarpd_persist_restore()
518 id = strtoull(dp->d_name, &eptr, 10); in libvarpd_persist_restore()
526 fd = openat(vip->vdi_persistfd, dp->d_name, O_RDONLY); in libvarpd_persist_restore()
540 "%d\n", dp->d_name, fd, errno); in libvarpd_persist_restore()
547 "%d\n", dp->d_name, fd, errno); in libvarpd_persist_restore()
553 if (unlinkat(vip->vdi_persistfd, dp->d_name, 0) != 0) { in libvarpd_persist_restore()
/illumos-gate/usr/src/cmd/fs.d/ufs/ncheck/
H A Dncheck.c434 nmlen = strlen(dp->d_name); in pass2()
444 (void) strcpy(&strngtab[strngloc], dp->d_name); in pass2()
480 (void) printf("/%s", dp->d_name); in pass3()
526 if (dp->d_name[0] == '.') { in dotname()
527 if (dp->d_name[1] == 0 || in dotname()
528 (dp->d_name[1] == '.' && dp->d_name[2] == 0)) in dotname()
/illumos-gate/usr/src/cmd/cron/
H A Dfuncs.c206 p = direntry->d_name; in filewanted()
208 if (p == direntry->d_name) in filewanted()
215 if (audit_cron_is_anc_name(direntry->d_name)) in filewanted()
/illumos-gate/usr/src/cmd/sh/
H A Dexpand.c173 if (e->d_name[0] == '.' && *cs != '.') in expand()
176 if (gmatch(e->d_name, cs)) { in expand()
177 addg(s, (unsigned char *)e->d_name, rescan, in expand()
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_project.c235 if (strcmp(ent->d_name, ".") == 0 || in zfs_project_handle_dir()
236 strcmp(ent->d_name, "..") == 0) in zfs_project_handle_dir()
239 if (strlen(ent->d_name) + strlen(name) >= in zfs_project_handle_dir()
245 (void) sprintf(fullname, "%s/%s", name, ent->d_name); in zfs_project_handle_dir()
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_dir.c19 # define NAMLEN(dirent) strlen((dirent)->d_name)
70 if ((ret = __os_strdup(dp->d_name, &names[cnt])) != 0)
/illumos-gate/usr/src/cmd/svr4pkg/pkgchk/
H A Dckentry.c226 if (strcmp(drp->d_name, ".") == 0 || in xdir()
227 strcmp(drp->d_name, "..") == 0) in xdir()
230 dirname, drp->d_name); in xdir()
248 if (strcmp(drp->d_name, &mine.path[len+1]) == in xdir()
/illumos-gate/usr/src/cmd/news/
H A Dnews.c191 strncpy (fname, nf->d_name, (unsigned) strlen(nf->d_name) + 1); in read_dir()
196 while (*p && strncmp (*p, nf->d_name, MAXNAMLEN)) in read_dir()
216 nf->d_name, MAXNAMLEN); in read_dir()
/illumos-gate/usr/src/stand/lib/fs/ufs/
H A Dufsops.c365 if (dp->d_namlen == len && strcmp(path, dp->d_name) == 0) in dlook()
372 printf("%s\n", dp->d_name); in dlook()
383 (get_dcache(devp->di_dcookie, dp->d_name, dp->d_ino) != 0)) in dlook()
386 if (set_rdcache(devp->di_dcookie, dp->d_name, ip->i_number, in dlook()
865 #define SLOP (sizeof (struct dirent) - offsetof(struct dirent, d_name[1])) in boot_ufs_getdents()
935 n = strlen(dp->d_name); in boot_ufs_getdents()
948 (void) strlcpy(dep->d_name, dp->d_name, in boot_ufs_getdents()
949 strlen(dp->d_name) + 1); in boot_ufs_getdents()
/illumos-gate/usr/src/cmd/nohup/
H A Dnohup.c229 if (dentp->d_name[0] == '.') in Pfd_iter()
232 if ((ret = cb(data, atoi(dentp->d_name))) != 0) in Pfd_iter()
731 if (dent->d_name[0] == '.') in pnohup()
734 if (proc_arg_psinfo(dent->d_name, in pnohup()
747 if ((P = proc_arg_grab(dent->d_name, in pnohup()
751 dent->d_name, Pgrab_error(gcode)); in pnohup()
/illumos-gate/usr/src/lib/sun_sas/common/
H A Ddevlink_disco.c193 if (strcmp(dirp->d_name, ".") == 0 || in lookupLink()
194 strcmp(dirp->d_name, "..") == 0) { in lookupLink()
201 charptr = dirp->d_name; in lookupLink()
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_ffs.c271 && (!*dirname || substring (dirname, dp->d_name) <= 0)) in ffs_dir()
276 print_a_completion (dp->d_name); in ffs_dir()
280 while (!dp->d_ino || (substring (dirname, dp->d_name) != 0 in ffs_dir()
/illumos-gate/usr/src/cmd/backup/restore/
H A Drestore.c998 if ((dp->d_name[0] == '.' && dp->d_name[1] == '\0') || in movexattrs()
999 (dp->d_name[0] == '.' && dp->d_name[1] == '.' && in movexattrs()
1000 dp->d_name[2] == '\0')) in movexattrs()
1002 if ((renameat(fromdir, dp->d_name, todir, dp->d_name)) == -1) { in movexattrs()
1005 from, dp->d_name); in movexattrs()
/illumos-gate/usr/src/cmd/fs.d/ufs/ff/
H A Dff.c474 nmlen = strlen(dp->d_name); in pass2()
484 (void) strcpy(&strngtab[strngloc], dp->d_name); in pass2()
529 (void) printf("/%s", dp->d_name); in pass3()
545 (void) fprintf(Lfile, "/%s\n", dp->d_name); in pass3()
586 if (dp->d_name[0] == '.') in dotname()
587 if (dp->d_name[1] == 0 || in dotname()
588 (dp->d_name[1] == '.' && dp->d_name[2] == 0)) in dotname()
/illumos-gate/usr/src/lib/libreparse/common/
H A Dfs_reparse_lib.c335 if (rp_is_dot_or_dotdot(dent->d_name)) in rp_plugin_init()
339 "%s/%s", dirpath, dent->d_name); in rp_plugin_init()
354 dent->d_name, dlerror()); in rp_plugin_init()
364 dent->d_name); in rp_plugin_init()
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Ddockdeps.c387 if (drp->d_name[0] == '.') in ckrdeps()
390 if (strcmp(drp->d_name, rmpkginst) == 0) in ckrdeps()
393 "%s/%s/%s", pkgdir, drp->d_name, DEPEND_FILE); in ckrdeps()
397 ckpreq(fp, drp->d_name, a_preinstallCheck); in ckrdeps()

12345678910>>...13