/freebsd-9.3-release/bin/pax/ |
H A D | file_subs.c | 755 char *st = str; local 783 pt = st; 784 end = st + wcnt; 801 st = pt; 813 if (write(fd, st, wcnt) != wcnt) { 817 st += wcnt; 819 return(st - str);
|
/freebsd-9.3-release/lib/libc/nls/ |
H A D | msgcat.c | 365 struct stat st; local 392 if (_fstat(fd, &st) != 0) { 403 if (st.st_size > SIZE_T_MAX) { 409 if ((data = mmap(0, (size_t)st.st_size, PROT_READ, 420 munmap(data, (size_t)st.st_size); 426 munmap(data, (size_t)st.st_size); 432 catd->__size = (int)st.st_size;
|
/freebsd-9.3-release/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp_proc.c | 75 struct sdp_iter_state *st = seq->private; local 77 st->num = 0; 93 struct sdp_iter_state *st = seq->private; local 106 st->num++; 119 struct sdp_iter_state *st; local 137 st = seq->private; 149 st->num, src, srcp, dest, destp, uid, inode,
|
/freebsd-9.3-release/lib/libutil/ |
H A D | quotafile.c | 118 struct stat st; local 128 if (stat(qf->fsname, &st) != 0) 130 qf->dev = st.st_dev; 240 struct stat st; local 242 if (stat(path, &st) == -1) 244 return (st.st_dev == qf->dev); 250 struct stat st; local 253 if (stat(qf->qfname, &st) < 0) 257 maxid = st.st_size / sizeof(struct dqblk32) - 1; 260 maxid = st [all...] |
/freebsd-9.3-release/usr.bin/ctlstat/ |
H A D | ctlstat.c | 502 #define ADD_STATS_BYTES(st, p, i, j) \ 503 ctx->cur_total_stats[st].ports[p].bytes[j] += \ 505 #define ADD_STATS_OPERATIONS(st, p, i, j) \ 506 ctx->cur_total_stats[st].ports[p].operations[j] += \ 508 #define ADD_STATS_NUM_DMAS(st, p, i, j) \ 509 ctx->cur_total_stats[st].ports[p].num_dmas[j] += \ 511 #define ADD_STATS_TIME(st, p, i, j) \ 512 bintime_add(&ctx->cur_total_stats[st].ports[p].time[j], \ 514 #define ADD_STATS_DMA_TIME(st, p, i, j) \ 515 bintime_add(&ctx->cur_total_stats[st] [all...] |
/freebsd-9.3-release/contrib/binutils/binutils/ |
H A D | strings.c | 359 struct stat st; 361 if (bfd_stat (abfd, &st)) 365 *filesizep = st.st_size; 433 statbuf st; 435 if (file_stat (file, &st) < 0) 356 struct stat st; local 430 statbuf st; local
|
/freebsd-9.3-release/contrib/gcc/ |
H A D | c-incpath.c | 190 struct stat st; local 198 if (stat (cur->name, &st)) 212 else if (!S_ISDIR (st.st_mode)) 217 INO_T_COPY (cur->ino, st.st_ino); 218 cur->dev = st.st_dev;
|
/freebsd-9.3-release/contrib/tcp_wrappers/ |
H A D | tcpdchk.c | 100 struct stat st; local 134 if (check_path(REAL_DAEMON_DIR, &st) < 0) { 136 } else if (!S_ISDIR(st.st_mode)) { 158 (void) check_path(hosts_allow_table, &st); 159 (void) check_path(hosts_deny_table, &st);
|
/freebsd-9.3-release/tools/regression/geom/ConfCmp/ |
H A D | ConfCmp.c | 175 struct stat st; local 194 fstat(fd, &st); 195 p = mmap(NULL, st.st_size, PROT_READ, MAP_NOCORE|MAP_PRIVATE, fd, 0); 196 i = XML_Parse(parser, p, st.st_size, 1); 199 munmap(p, st.st_size);
|
/freebsd-9.3-release/tools/regression/geom/MdLoad/ |
H A D | MdLoad.c | 205 struct stat st; local 220 fstat(fd, &st); 221 p = mmap(NULL, st.st_size, PROT_READ, MAP_NOCORE|MAP_PRIVATE, fd, 0); 222 i = XML_Parse(parser, p, st.st_size, 1); 225 munmap(p, st.st_size);
|
/freebsd-9.3-release/usr.bin/killall/ |
H A D | killall.c | 124 int st, nprocs; local 292 st = sysctl(mib, miblen, NULL, &size, NULL, 0); 301 st = sysctl(mib, miblen, procs, &size, NULL, 0); 302 } while (st == -1 && errno == ENOMEM); 303 if (st == -1)
|
/freebsd-9.3-release/usr.bin/tail/ |
H A D | forward.c | 324 forward(file->fp, file->file_name, style, off, &file->st); 349 fstat(fileno(file->fp), &file->st) 372 if (sb2.st_ino != file->st.st_ino || 373 sb2.st_dev != file->st.st_dev || 379 memcpy(&file->st, &sb2,
|
/freebsd-9.3-release/gnu/lib/libodialog/ |
H A D | radiolist.c | 222 int st; local 226 st = ditems[OK_BUTTON].fire(&ditems[OK_BUTTON]); 227 if (st & DITEM_RESTORE) { 251 int st; local 255 st = ditems[CANCEL_BUTTON].fire(&ditems[CANCEL_BUTTON]); 256 if (st & DITEM_RESTORE) { 359 int st; local 363 st = ditems[scroll + choice].fire(&ditems[scroll + choice]); 364 if (st & DITEM_RESTORE) { 369 if (st 522 int st; local [all...] |
/freebsd-9.3-release/sys/geom/ |
H A D | geom_io.c | 140 struct stack st; local 143 stack_save(&st); 144 CTRSTACK(KTR_GEOM, &st, 3, 0); 158 struct stack st; local 161 stack_save(&st); 162 CTRSTACK(KTR_GEOM, &st, 3, 0); 173 struct stack st; local 176 stack_save(&st); 177 CTRSTACK(KTR_GEOM, &st, 3, 0); 214 struct stack st; local 243 struct stack st; local [all...] |
/freebsd-9.3-release/contrib/ofed/management/opensm/libvendor/ |
H A D | osm_vendor_mlx_ibmgt.c | 106 ib_api_status_t st = IB_SUCCESS; local 195 st = IB_ERROR; 209 st = IB_ERROR; 246 st = IB_ERROR; 274 st = IB_ERROR; 289 st = IB_ERROR; 330 st = IB_ERROR; 339 st = IB_ERROR; 353 return (ib_api_status_t) st;
|
/freebsd-9.3-release/usr.bin/catman/ |
H A D | catman.c | 280 struct stat st; local 282 if (stat(dir, &st) < 0) { 290 if (find_hashtable(visited, st.st_ino, st.st_dev) != NULL) { 298 insert_hashtable(visited, st.st_ino, st.st_dev, ""); 333 struct stat st; local 335 return lstat(path, &st) >= 0 && S_ISLNK(st.st_mode);
|
/freebsd-9.3-release/usr.bin/csup/ |
H A D | lister.c | 111 struct status *st; local 120 st = status_open(coll, -1, &l->errmsg); 121 if (st == NULL) 130 error = lister_coll(l, coll, st); 131 status_close(st, NULL); 146 lister_coll(struct lister *l, struct coll *coll, struct status *st) argument 159 while ((ret = status_get(st, NULL, 0, 0, &sr)) == 1) { 217 l->errmsg = status_errmsg(st); 221 assert(status_eof(st));
|
/freebsd-9.3-release/contrib/llvm/lib/Support/ |
H A D | Path.cpp | 781 file_status st; 782 if (error_code ec = status(path, st)) 784 result = is_directory(st); 793 file_status st; 794 if (error_code ec = status(path, st)) 796 result = is_regular_file(st); 805 file_status st; 806 if (error_code ec = status(path, st)) 808 result = is_symlink(st); 819 void directory_entry::replace_filename(const Twine &filename, file_status st) { [all...] |
/freebsd-9.3-release/sys/contrib/ipfilter/netinet/ |
H A D | ip_sync.c | 918 synctcp_update_t *st; local 942 st->stu_len[0] = 0; 943 st->stu_len[1] = 0; 956 st = &slu->sup_tcp; 959 st->stu_age = htonl(ips->is_die); 960 st->stu_data[0].td_end = ips->is_send; 961 st->stu_data[0].td_maxend = ips->is_maxsend; 962 st->stu_data[0].td_maxwin = ips->is_maxswin; 963 st->stu_state[0] = ips->is_state[0]; 964 st [all...] |
/freebsd-9.3-release/usr.sbin/makefs/cd9660/ |
H A D | iso9660_rrip.c | 349 S_ISLNK(node->node->inode->st.st_mode)) 354 ((S_ISCHR(node->node->inode->st.st_mode) || 355 S_ISBLK(node->node->inode->st.st_mode)))) { 639 cd9660_bothendian_dword(pxinfo->inode->st.st_mode, 641 cd9660_bothendian_dword(pxinfo->inode->st.st_nlink, 643 cd9660_bothendian_dword(pxinfo->inode->st.st_uid, 645 cd9660_bothendian_dword(pxinfo->inode->st.st_gid, 647 cd9660_bothendian_dword(pxinfo->inode->st.st_ino, 659 if (sizeof (fnode->inode->st.st_dev) > 32) 660 cd9660_bothendian_dword((uint64_t)fnode->inode->st [all...] |
/freebsd-9.3-release/crypto/heimdal/lib/krb5/ |
H A D | keytab_krb4.c | 363 struct stat st; local 385 if(fstat(fd, &st) < 0) { 391 st.st_size -= data.length; 393 while(st.st_size > 0) { 394 n = min(st.st_size, sizeof(buf)); 403 st.st_size -= n;
|
/freebsd-9.3-release/crypto/openssh/ |
H A D | sftp-client.c | 284 get_decode_statvfs(struct sftp_conn *conn, struct sftp_statvfs *st, argument 313 memset(st, 0, sizeof(*st)); 314 st->f_bsize = buffer_get_int64(&msg); 315 st->f_frsize = buffer_get_int64(&msg); 316 st->f_blocks = buffer_get_int64(&msg); 317 st->f_bfree = buffer_get_int64(&msg); 318 st->f_bavail = buffer_get_int64(&msg); 319 st->f_files = buffer_get_int64(&msg); 320 st 958 do_statvfs(struct sftp_conn *conn, const char *path, struct sftp_statvfs *st, int quiet) argument 985 do_fstatvfs(struct sftp_conn *conn, const char *handle, u_int handle_len, struct sftp_statvfs *st, int quiet) argument 1040 struct stat st; local [all...] |
/freebsd-9.3-release/usr.sbin/bluetooth/bthidd/ |
H A D | kbd.c | 515 vkbd_status_t st; local 524 memcpy(&st, data, sizeof(st)); 545 if (st.leds & LED_NUM) 550 if (st.leds & LED_CAP) 555 if (st.leds & LED_SCR)
|
/freebsd-9.3-release/usr.sbin/pw/ |
H A D | pw_user.c | 107 struct stat st; local 175 if (stat(cnf->home, &st) == -1) { 199 if (stat(dbuf, &st) == -1) { 202 if (stat(dbuf, &st) == -1) { 206 } else if (!S_ISDIR(st.st_mode)) 211 if (stat(dbuf, &st) == -1) { 217 } else if (!S_ISDIR(st.st_mode)) 260 if (stat(cnf->dotdir = arg->val, &st) == -1 || !S_ISDIR(st.st_mode)) 445 if (stat(home, &st) ! 1226 struct stat st; local [all...] |
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/Bin/ |
H A D | statsnoop | 82 while getopts aAcef:ghln:p:st:vxZ name
|