Searched refs:st (Results 201 - 225 of 829) sorted by relevance

1234567891011>>

/freebsd-11-stable/crypto/openssh/
H A Dauth.c105 struct stat st; local
173 if (stat(shell, &st) != 0) {
179 if (S_ISREG(st.st_mode) == 0 ||
180 (st.st_mode & (S_IXOTH|S_IXUSR|S_IXGRP)) == 0) {
440 struct stat st; local
450 (stat(user_hostfile, &st) == 0) &&
451 ((st.st_uid != 0 && st.st_uid != pw->pw_uid) ||
452 (st.st_mode & 022) != 0)) {
500 struct stat st; local
561 struct stat st; local
577 struct stat st; local
[all...]
/freebsd-11-stable/lib/libufs/
H A Dtype.c93 struct stat st; local
103 again: if ((ret = stat(name, &st)) < 0) {
116 if (ret >= 0 && S_ISREG(st.st_mode)) {
119 } else if (ret >= 0 && S_ISCHR(st.st_mode)) {
133 } else if (ret >= 0 && S_ISDIR(st.st_mode)) {
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_read_open_file.c67 struct stat st; local
90 if (fstat(fileno(mine->f), &st) == 0 && S_ISREG(st.st_mode)) {
91 archive_read_extract_set_skip_file(a, st.st_dev, st.st_ino);
H A Darchive_read_data_into_fd.c83 struct stat st; local
97 can_lseek = (fstat(fd, &st) == 0) && S_ISREG(st.st_mode);
/freebsd-11-stable/contrib/lua/src/
H A Dlstate.h130 #define setoah(st,v) ((st) = ((st) & ~CIST_OAH) | (v))
131 #define getoah(st) ((st) & CIST_OAH)
/freebsd-11-stable/usr.sbin/usbconfig/
H A Ddump.c490 struct libusb20_device_stats st; local
492 if (libusb20_dev_get_stats(pdev, &st)) {
505 (unsigned long long)st.xfer_ok[0],
506 (unsigned long long)st.xfer_ok[1],
507 (unsigned long long)st.xfer_ok[2],
508 (unsigned long long)st.xfer_ok[3],
509 (unsigned long long)st.xfer_fail[0],
510 (unsigned long long)st.xfer_fail[1],
511 (unsigned long long)st.xfer_fail[2],
512 (unsigned long long)st
[all...]
/freebsd-11-stable/crypto/openssl/crypto/bn/asm/
H A Dsparcv9-mont.pl140 st $car1,[$tp]
155 st $car1,[$tp]
163 st $car1,[$tp+4]
167 st $car1,[$tp+8]
214 st $car1,[$tp] ! tp[j-1]
231 st $car1,[$tp] ! tp[j-1]
239 st $car1,[$tp+4] ! tp[j-1]
247 st $car1,[$tp+8]
271 st %o1,[$i]
278 st
[all...]
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_dispatch.cpp87 // ub (upper bound), and st (stride). nproc is the number of threads relevant
99 typename traits_t<T>::signed_t st,
121 "pr:%%p lb:%%%s ub:%%%s st:%%%s "
126 KD_TRACE(10, (buff, gtid, pr, lb, ub, st, schedule, chunk, nproc, tid));
285 if (st == 0) {
291 if (st == 1) { // most common case
297 } else if (st < 0) {
301 tc = (UT)(lb - ub) / (-st) + 1;
305 } else { // st > 0
309 tc = (UT)(ub - lb) / st
96 __kmp_dispatch_init_algorithm(ident_t *loc, int gtid, dispatch_private_info_template<T> *pr, enum sched_type schedule, T lb, T ub, typename traits_t<T>::signed_t st, kmp_uint64 *cur_chunk, typename traits_t<T>::signed_t chunk, T nproc, T tid) argument
709 __kmp_dispatch_init_hier_runtime(ident_t *loc, kmp_int32 lb, kmp_int32 ub, kmp_int32 st) argument
717 __kmp_dispatch_init_hier_runtime(ident_t *loc, kmp_uint32 lb, kmp_uint32 ub, kmp_int32 st) argument
725 __kmp_dispatch_init_hier_runtime(ident_t *loc, kmp_int64 lb, kmp_int64 ub, kmp_int64 st) argument
733 __kmp_dispatch_init_hier_runtime(ident_t *loc, kmp_uint64 lb, kmp_uint64 ub, kmp_int64 st) argument
760 __kmp_dispatch_init(ident_t *loc, int gtid, enum sched_type schedule, T lb, T ub, typename traits_t<T>::signed_t st, typename traits_t<T>::signed_t chunk, int push_ws) argument
[all...]
/freebsd-11-stable/sys/fs/nfsclient/
H A Dnfs_clcomsubs.c521 nfsv4stateid_t *st; local
523 NFSM_BUILD(st, nfsv4stateid_t *, NFSX_STATEID);
525 st->seqid = 0;
526 st->other[0] = 0;
527 st->other[1] = 0;
528 st->other[2] = 0;
530 st->seqid = 0xffffffff;
531 st->other[0] = 0xffffffff;
532 st->other[1] = 0xffffffff;
533 st
[all...]
/freebsd-11-stable/sys/dev/streams/
H A Dstreams.c184 struct svr4_strm *st; local
258 st = malloc(sizeof(struct svr4_strm), M_TEMP, M_WAITOK);
259 st->s_family = so->so_proto->pr_domain->dom_family;
260 st->s_cmd = ~0;
261 st->s_afd = -1;
262 st->s_eventmask = 0;
263 so->so_emuldata = st;
/freebsd-11-stable/crypto/openssl/crypto/sha/asm/
H A Dsha1-s390x.pl185 st${g} $ctx,`2*$SIZE_T`($sp)
189 st${g} %r0,0($sp)
226 st $A,0($ctx)
227 st $B,4($ctx)
228 st $C,8($ctx)
229 st $D,12($ctx)
230 st $E,16($ctx)
/freebsd-11-stable/usr.sbin/ctm/ctm/
H A Dctm_pass2.c28 struct stat st; local
102 if(-1 != stat(name,&st)) {
109 if(-1 == stat(name,&st)) {
118 if (SetTime && getuid() && (getuid() != st.st_uid)) {
125 if((st.st_mode & S_IFMT) != S_IFDIR) {
134 if((st.st_mode & S_IFMT) != S_IFREG) {
153 if(match && (st.st_mode & S_IFMT) == S_IFREG &&
/freebsd-11-stable/lib/libc/stdio/
H A Dfseek.c99 struct stat st; local
175 fp->_file < 0 || _fstat(fp->_file, &st) ||
176 (st.st_mode & S_IFMT) != S_IFREG) {
180 fp->_blksize = st.st_blksize;
191 if (_fstat(fp->_file, &st))
193 if (offset > 0 && st.st_size > OFF_MAX - offset) {
197 target = st.st_size + offset;
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/
H A Dt_glob.c148 gl_stat(const char *name , __gl_stat_t *st) argument
152 memset(st, 0, sizeof(*st));
155 st->st_mode |= S_IFDIR;
177 DPRINTF(("stat %s %d\n", buf, st->st_mode));
183 gl_lstat(const char *name , __gl_stat_t *st) argument
185 return gl_stat(name, st);
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_mincore.c151 struct stat st; local
164 (void)memset(&st, 0, sizeof(struct stat));
176 ATF_REQUIRE(fstat(fd, &st) == 0);
178 addr = mmap(NULL, (size_t)st.st_size, PROT_READ,
185 npgs = st.st_size / page;
187 if (st.st_size % page != 0)
195 ATF_REQUIRE(munmap(addr, st.st_size) == 0);
/freebsd-11-stable/usr.sbin/cpucontrol/
H A Damd10h.c93 struct stat st; local
155 error = fstat(fd, &st);
160 if (st.st_size < 0 || (size_t)st.st_size <
165 fw_size = st.st_size;
170 fw_image = (uint8_t *)mmap(NULL, st.st_size, PROT_READ,
304 if (munmap(fw_image, st.st_size) != 0)
/freebsd-11-stable/contrib/wpa/src/crypto/
H A Daes_i.h111 #define PUTU32(ct, st) { *((u32 *)(ct)) = SWAP((st)); }
115 #define PUTU32(ct, st) { \
116 (ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); \
117 (ct)[2] = (u8)((st) >> 8); (ct)[3] = (u8)(st); }
/freebsd-11-stable/usr.bin/grep/
H A Dfile.c286 struct stat st; local
288 if ((fstat(f->fd, &st) == -1) || (st.st_size > OFF_MAX) ||
289 (!S_ISREG(st.st_mode)))
296 fsiz = st.st_size;
302 bufrem = st.st_size;
304 madvise(buffer, st.st_size, MADV_SEQUENTIAL);
/freebsd-11-stable/sys/kern/
H A Dkern_clocksource.c955 struct pcpu_state *st; local
959 st = DPCPU_ID_PTR(c, timerstate);
966 c, st->action, st->handle, st->ipi, st->idle,
967 (uintmax_t)st->now,
968 (uintmax_t)st->nextevent,
969 (uintmax_t)(st->nextevent - st
[all...]
/freebsd-11-stable/contrib/dma/
H A Dspool.c75 struct stat st; local
97 if (fstat(fd, &st) != 0)
99 if (asprintf(&queue->id, "%"PRIxMAX, (uintmax_t)st.st_ino) < 0)
234 struct stat st; local
252 if (stat(it->queuefn, &st) == 0 || stat(it->mailfn, &st) == 0)
403 struct stat st; local
409 if (stat(flushfn, &st) < 0) {
419 if (st.st_mtim.tv_sec + (int)period >= now.tv_sec)
/freebsd-11-stable/contrib/opie/
H A Dopieauto.c249 struct stat st; local
317 if (stat(sockpath, &st) < 0)
320 if ((st.st_uid != myuid) || (!S_ISSOCK(st.st_mode)) || ((st.st_mode & 07777) != 0600))
364 if (stat(sockpath, &st) < 0)
367 if ((st.st_uid != myuid) || (!S_ISSOCK(st.st_mode)) || ((st.st_mode & 07777) != 0600))
/freebsd-11-stable/lib/libc/gen/
H A Dnlist.c116 struct stat st; local
119 if ((_fstat(fd, &st) < 0) || (st.st_size < sizeof(struct exec)))
123 if (st.st_size > SIZE_T_MAX) {
139 a_out_mmap = mmap(NULL, (size_t)st.st_size, PROT_READ, MAP_PRIVATE, fd, (off_t)0);
145 munmap(a_out_mmap, (size_t)st.st_size);
195 munmap(a_out_mmap, (size_t)st.st_size);
249 struct stat st; local
255 _fstat(fd, &st) < 0)
/freebsd-11-stable/lib/libc/regex/
H A Dengine.c90 states st; /* current states */ member in struct:match
118 static void print(struct match *m, const char *caption, states st, int ch, FILE *d);
237 SETUP(m->st);
248 SP("mloop", m->st, *start);
766 states st = m->st; local
779 CLEAR(st);
780 SET1(st, startst);
781 SP("sstart", st, *p);
782 st
1010 print(struct match *m, const char *caption, states st, int ch, FILE *d) argument
[all...]
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/c063/
H A Dt_symlinkat.c110 struct stat st; local
118 ATF_REQUIRE(lstat(LINK, &st) == 0);
119 ATF_REQUIRE(stat(LINK, &st) == -1);
H A Dt_mknodat.c55 struct stat st; local
57 if (stat(_PATH_DEVNULL, &st) != 0)
60 return st.st_rdev;

Completed in 146 milliseconds

1234567891011>>