HomeSort by: relevance | last modified time | path
    Searched defs:stb (Results 1 - 25 of 27) sorted by relevancy

1 2

  /src/lib/libc/gen/
scandir.c 65 struct stat stb; local in function:dirsize
68 if (fstat(fd, &stb) == -1)
74 nlen = (size_t)(stb.st_size / _DIRENT_MINSIZE((struct dirent *)0));
81 nlen = (size_t)(stb.st_size ? stb.st_size : 10);
  /src/usr.sbin/videomode/
videomode.c 93 struct stat stb; local in function:get_grf
98 if (fstat(0, &stb) == -1)
100 if (!S_ISCHR(stb.st_mode) || !isatty(0))
102 if (major(stb.st_rdev) != 13)
105 (u_int)minor(stb.st_rdev) & 0x7);
  /src/bin/rcp/
util.c 90 struct stat stb; local in function:verifydir
92 if (!stat(cp, &stb)) {
93 if (S_ISDIR(stb.st_mode))
151 struct stat stb; local in function:allocbuf
155 if (fstat(fd, &stb) < 0) {
159 size = roundup(stb.st_blksize, blksize);
rcp.c 333 struct stat stb; local in function:source
347 if (fstat(fd, &stb)) {
351 switch (stb.st_mode & S_IFMT) {
356 rsource(name, &stb);
374 (long long)stb.st_mtimespec.tv_sec,
375 (long)stb.st_mtimespec.tv_nsec / 1000,
376 (long long)stb.st_atimespec.tv_sec,
377 (long)stb.st_atimespec.tv_nsec / 1000);
384 stb.st_mode & RCPMODEMASK, (long long)stb.st_size, last)
486 struct stat stb; local in function:sink
    [all...]
  /src/sys/arch/atari/stand/libsa/
diskio.c 96 daddr_t stb = dd->rst + dblk; local in function:rootstrategy
99 if ((flag == F_READ) && !(size & 511) && (stb + nb <= dd->rend)) {
100 if (!dd->rds(buf, stb, nb)) {
  /src/usr.bin/ftp/
ruserpass.c 103 struct stat stb; local in function:ruserpass
160 fstat(fileno(cfile), &stb) >= 0 &&
161 (stb.st_mode & 077) != 0) {
172 if (fstat(fileno(cfile), &stb) >= 0
173 && (stb.st_mode & 077) != 0) {
  /src/bin/csh/
sem.c 638 struct stat stb; local in function:chkclob
640 if (stat(cp, &stb) < 0)
642 if (S_ISCHR(stb.st_mode))
exp.c 474 struct stat stb; local in function:exp6
485 if (isa(**vp, ANYOP) && stat(short2str(**vp), &stb))
504 lstat(short2str(ep), &stb) : stat(short2str(ep), &stb)) {
510 i = S_ISDIR(stb.st_mode);
516 i = S_ISREG(stb.st_mode);
520 i = S_ISLNK(stb.st_mode);
526 i = stb.st_uid == (uid_t)uid;
530 i = S_ISFIFO(stb.st_mode);
537 i = S_ISSOCK(stb.st_mode)
    [all...]
csh.c 793 struct stat stb; local in function:srcunit
795 if (fstat(unit, &stb) < 0) {
1257 struct stat stb; local in function:mailchk
1276 if (stat(short2str(*vp), &stb) < 0)
1278 new = stb.st_mtime > time0.tv_sec;
1279 if (stb.st_size == 0 || stb.st_atime > stb.st_mtime ||
1280 (stb.st_atime < chktim && stb.st_mtime < chktim) |
1408 struct stat stb; local in function:defaultpath
    [all...]
  /src/usr.bin/last/
want.c 72 struct stat stb; /* stat of file for sz */ local in function:wtmp
129 if (fstat(wfd, &stb) == -1)
131 if (!S_ISREG(stb.st_mode))
134 seentime = stb.st_mtime;
138 offset = stb.st_size;
  /src/usr.sbin/lpr/lpd/
recvjob.c 88 struct stat stb; local in function:recvjob
105 if (stat(LO, &stb) == 0) {
106 if (stb.st_mode & 010) {
111 } else if (stat(SD, &stb) < 0)
printjob.c 147 struct stat stb; local in function:printjob
183 if (stat(LO, &stb) == 0 && (stb.st_mode & S_IXUSR))
229 if (stb.st_mode & S_IXOTH) { /* reset queue flag */
230 stb.st_mode &= ~S_IXOTH;
231 if (fchmod(lfd, stb.st_mode & 0777) < 0)
243 if (stat(q->q_name, &stb) < 0)
259 if (fstat(lfd, &stb) == 0) {
261 if (stb.st_mode & S_IXUSR)
264 if (stb.st_mode & S_IXOTH)
545 struct stat stb; local in function:print
888 struct stat stb; local in function:sendfile
1128 struct stat stb; local in function:sendmail
    [all...]
  /src/lib/libcompat/4.3/
ruserpass.c 101 struct stat stb; local in function:ruserpass
171 fstat(fileno(cfile), &stb) >= 0 &&
172 (stb.st_mode & 077) != 0) {
184 if (fstat(fileno(cfile), &stb) >= 0
185 && (stb.st_mode & 077) != 0) {
  /src/libexec/comsat/
comsat.c 224 struct stat stb; local in function:notify
238 if (stat(tty, &stb) == -1 || !(stb.st_mode & S_IEXEC)) {
  /src/sys/miscfs/fdesc/
fdesc_vnops.c 331 struct stat stb; local in function:fdesc_attr
352 memset(&stb, 0, sizeof(stb));
353 error = (*fp->f_ops->fo_stat)(fp, &stb);
370 vap->va_mode = stb.st_mode;
371 vap->va_nlink = stb.st_nlink;
372 vap->va_uid = stb.st_uid;
373 vap->va_gid = stb.st_gid;
374 vap->va_fsid = stb.st_dev;
375 vap->va_fileid = stb.st_ino
    [all...]
  /src/usr.bin/rdist/
docmd.c 381 struct stat stb; local in function:dodcolon
390 if (stat(stamp, &stb) < 0) {
395 printf("%s: %lu\n", stamp, (u_long)stb.st_mtime);
398 lastmod = stb.st_mtime;
436 struct stat stb; local in function:cmptime
459 if (access(name, 4) < 0 || stat(name, &stb) < 0) {
464 switch (stb.st_mode & S_IFMT) {
469 rcmptime(&stb);
477 if (stb.st_mtime > lastmod)
528 struct stat stb; local in function:notify
    [all...]
expand.c 269 struct stat stb; local in function:expsh
275 if (!expany || stat(path, &stb) >= 0) {
304 struct stat stb; local in function:matchdir
314 if (fstat(dirp->dd_fd, &stb) < 0)
316 if (!S_ISDIR(stb.st_mode)) {
443 struct stat stb; local in function:amatch
510 if (stat(path, &stb) == 0 && S_ISDIR(stb.st_mode)) {
server.c 333 struct stat stb; local in function:sendf
347 if ((opts & FOLLOW ? stat(target, &stb) : lstat(target, &stb)) < 0) {
351 if ((u = update(rname, opts, &stb)) == 0) {
352 if (S_ISREG(stb.st_mode) && stb.st_nlink > 1)
353 (void) savelink(&stb);
357 if (pw == NULL || pw->pw_uid != stb.st_uid)
358 if ((pw = getpwuid(stb.st_uid)) == NULL) {
360 target, stb.st_uid)
710 struct stat stb; local in function:query
756 struct stat stb; local in function:recvf
996 struct stat stb; local in function:hardlink
1052 struct stat stb; local in function:chkparent
1147 struct stat stb; local in function:rmchk
1230 struct stat stb; local in function:clean
1304 struct stat stb; local in function:removeit
    [all...]
  /src/usr.sbin/lpr/lpr/
lpr.c 128 struct stat stb; local in function:main
298 if (userid && stat(buf, &stb) == 0 && (stb.st_mode & S_IXGRP))
  /src/sys/arch/powerpc/booke/
trap.c 148 pmap_segtab_t * const stb = stbs[(tf->tf_srr1 / psl_mask) & 1]; local in function:trap_pte_lookup
149 if (__predict_false(stb == NULL))
152 pmap_ptpage_t * const ppg = stb->seg_ppg[va >> SEGSHIFT];
booke_pmap.c 128 pmap_kvtopte(const pmap_segtab_t *stb, vaddr_t va)
132 pmap_ptpage_t * const ppg = stb->seg_ppg[idx];
143 pmap_segtab_t * const stb = &pmap_kern_segtab; local in function:pmap_kvptefill
145 pt_entry_t *ptep = pmap_kvtopte(stb, sva);
161 pmap_segtab_t * const stb = &pmap_kern_segtab; local in function:pmap_bootstrap
235 pmap_ptpage_t **ppg_p = &stb->seg_ppg[VM_MIN_KERNEL_ADDRESS >> SEGSHIFT];
253 ppg_p = stb->seg_ppg;
  /src/usr.sbin/rwhod/
rwhod.c 364 struct stat stb; local in function:send_host_information
404 if (stat(we->we_utmp.out_line, &stb) >= 0)
405 we->we_idle = htonl(now - stb.st_atime);
  /src/sys/arch/mips/mips/
pmap_machdep.c 447 pmap_segtab_t *stb = (pmap_segtab_t *) local in function:pmap_bootstrap
449 for (size_t i = 1; i <= xsegs; i++, stb++) {
450 pmap_kern_segtab.seg_seg[i] = stb;
456 pmap_segtab_t * const stb = &pmap_kern_segtab; local in function:pmap_bootstrap
462 pmap_segtab_t * const stb = local in function:pmap_bootstrap
473 stb->seg_ppg[j] = (pmap_ptpage_t *)&sysmap[i];
  /src/sys/uvm/pmap/
pmap_segtab.c 196 * This is used when allocating or freeing a pmap_segtab_t. The stb
205 pmap_check_stb(pmap_segtab_t *stb, const char *caller, const char *why)
209 if (stb->seg_ppg[i] != NULL) {
213 UVMHIST_CALLARGS(pmapxtabhist, "stb=%#jx",
214 (uintptr_t)stb, 0, 0, 0);
216 if (stb->seg_ppg[j] != NULL)
217 printf("%s: stb->seg_ppg[%zu] = %p\n",
218 caller, j, stb->seg_ppg[j]);
221 caller, i, stb->seg_ppg[i], why);
302 pmap_segtab_t *stb = pmap->pm_segtab
644 pmap_segtab_t *stb; local in function:pmap_segtab_alloc
820 pmap_segtab_t *stb = *stb_p; local in function:pmap_segtab_release
1085 pmap_segtab_t *stb = pmap->pm_segtab; local in function:pmap_pdetab_reserve
    [all...]
  /src/usr.bin/mail/
lex.c 209 struct stat stb; local in function:setfile
225 if (fstat(fileno(ibuf), &stb) < 0) {
231 switch (stb.st_mode & S_IFMT) {

Completed in 29 milliseconds

1 2