HomeSort by: relevance | last modified time | path
    Searched refs:stat (Results 1 - 25 of 1650) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/tools/stat/
Makefile 3 HOSTPROGNAME= ${_TOOL_PREFIX}stat
4 HOST_SRCDIR= usr.bin/stat
  /src/tests/usr.bin/stat/
t_stat.sh 39 stat -f 'plain <%SN>' 'Ümläute'
42 stat -f 'right-aligned <%20SN>' 'Ümläute'
45 stat -f 'left-aligned <%-20SN>' 'Ümläute'
47 atf_check -s exit:1 -o ignore -e 'inline:stat: % SN: bad format\n' \
48 stat -f 'string-space <% SN>' 'Ümläute'
50 atf_check -s exit:1 -o ignore -e 'inline:stat: %+SN: bad format\n' \
51 stat -f 'string-plus <%+SN>' 'Ümläute'
53 atf_check -s exit:1 -o ignore -e 'inline:stat: %0SN: bad format\n' \
54 stat -f 'string-zero <%0SN>' 'Ümläute'
57 stat -f 'vis <%#SN>' 'Ümläute
    [all...]
Makefile 3 TESTSDIR= ${TESTSBASE}/usr.bin/stat
  /src/usr.bin/stat/
Makefile 3 PROG= stat
6 LINKS= ${BINDIR}/stat ${BINDIR}/readlink
7 MAN= stat.1 readlink.1
13 COPTS.stat.c+= ${CC_WNO_IMPLICIT_FALLTHROUGH}
15 COPTS.stat.c += -Wno-format-nonliteral
  /src/sys/net/
net_stats.h 47 #define _NET_STAT_GETREF(stat) ((net_stat_ref_t)percpu_getref((stat)))
48 #define _NET_STAT_PUTREF(stat) percpu_putref((stat))
56 #define _NET_STATINC(stat, x) \
58 net_stat_ref_t _nsr_ = _NET_STAT_GETREF(stat); \
60 _NET_STAT_PUTREF(stat); \
69 #define _NET_STATDEC(stat, x) \
71 net_stat_ref_t _nsr_ = _NET_STAT_GETREF(stat); \
73 _NET_STAT_PUTREF(stat); \
    [all...]
  /src/sys/lib/libsa/
stat.c 1 /* $NetBSD: stat.c,v 1.7 2007/11/24 13:20:57 isaki Exp $ */
31 * @(#)stat.c 8.1 (Berkeley) 6/11/93
37 stat(const char *str, struct stat *sb) function in typeref:typename:int
  /src/usr.sbin/tcpdchk/
scaffold.h 16 int check_path(const char *, struct stat *);
  /src/sys/fs/v7fs/
v7fs_superblock_util.c 67 struct v7fs_stat *stat = &fs->stat; local in function:v7fs_superblock_status
69 stat->total_blocks = sb->volume_size - sb->datablock_start_sector;
70 stat->total_inode = V7FS_MAX_INODE(sb);
71 stat->free_inode = sb->total_freeinode;
72 stat->free_blocks = sb->total_freeblock;
73 stat->total_files = stat->total_inode - sb->total_freeinode - 1;
75 DPRINTF("block %d/%d, inode %d/%d\n", stat->free_blocks,
76 stat->total_blocks, stat->free_inode, stat->total_inode)
    [all...]
  /src/bin/cp/
extern.h 52 int copy_fifo(struct stat *, int);
55 int copy_special(struct stat *, int);
56 int set_utimes(const char *, struct stat *);
57 int setfile(struct stat *, int);
58 int preserve_dir_acls(struct stat *, char *, char *);
  /src/sbin/mount_qemufwcfg/
virtdir.h 35 #include <sys/stat.h>
56 struct stat file; /* stat struct for file entries */
57 struct stat dir; /* stat struct for dir entries */
58 struct stat lnk; /* stat struct for symlinks */
69 int virtdir_init(virtdir_t *, const char *, const struct stat *,
70 const struct stat *, const struct stat *);
    [all...]
  /src/share/examples/refuse/virtdir/
virtdir.h 32 #include <sys/stat.h>
56 struct stat file; /* stat struct for file entries */
57 struct stat dir; /* stat struct for dir entries */
58 struct stat lnk; /* stat struct for symlinks */
69 int virtdir_init(virtdir_t *, const char *, struct stat *, struct stat *, struct stat *);
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bus/
nouveau_nvkm_subdev_bus_gf100.c 37 u32 stat = nvkm_rd32(device, 0x001100) & nvkm_rd32(device, 0x001140); local in function:gf100_bus_intr
39 if (stat & 0x0000000e) {
47 (stat & 0x00000002) ? "!ENGINE " : "",
48 (stat & 0x00000004) ? "IBUS " : "",
49 (stat & 0x00000008) ? "TIMEOUT " : "");
52 nvkm_wr32(device, 0x001100, (stat & 0x0000000e));
53 stat &= ~0x0000000e;
56 if (stat) {
57 nvkm_error(subdev, "intr %08x\n", stat);
58 nvkm_mask(device, 0x001140, stat, 0x00000000)
    [all...]
nouveau_nvkm_subdev_bus_nv04.c 39 u32 stat = nvkm_rd32(device, 0x001100) & nvkm_rd32(device, 0x001140); local in function:nv04_bus_intr
41 if (stat & 0x00000001) {
43 stat &= ~0x00000001;
47 if (stat & 0x00000110) {
51 stat &= ~0x00000110;
55 if (stat) {
56 nvkm_error(subdev, "intr %08x\n", stat);
57 nvkm_mask(device, 0x001140, stat, 0x00000000);
  /src/include/
ftw.h 29 #include <sys/stat.h>
39 #define FTW_NS 4 /* Unknown type; stat() failed. */
57 int ftw(const char *, int (*)(const char *, const struct stat *, int), int);
58 int nftw(const char *, int (*)(const char *, const struct stat *, int,
  /src/tests/lib/libc/gen/posix_spawn/
fa_spawn_utils.c 36 #include <sys/stat.h>
49 struct stat st;
51 RL(stat(fname, &st));
  /src/tools/compat/
lchflags.c 38 #include <sys/stat.h>
45 struct stat psb;
lchmod.c 38 #include <sys/stat.h>
45 struct stat psb;
lchown.c 38 #include <sys/stat.h>
45 struct stat psb;
  /src/tests/usr.bin/indent/
lsym_period.c 37 get_time(struct stat st)
45 get_time(struct stat st)
  /src/tests/lib/libposix/
t_rename.c 35 #include <sys/stat.h>
55 struct stat sb;
64 REQUIRE_LIBC(stat("t1", &sb), -1);
70 ATF_REQUIRE_MSG(stat("t1", &sb) != 0, "BSD rename should remove file t1");
74 REQUIRE_LIBC(stat("t1", &sb), -1);
  /src/usr.sbin/sesd/srcs/
chpmon.c 55 ses_encstat stat, *carray; local in function:main
81 stat = 0;
82 if (ioctl(fd, SESIOC_SETENCSTAT, (caddr_t) &stat) < 0) {
91 if (ioctl(fd, SESIOC_GETENCSTAT, (caddr_t) &stat) < 0) {
98 if ((stat & BADSTAT) == 0) {
109 if (stat & SES_ENCSTAT_UNRECOV)
112 if (stat & SES_ENCSTAT_CRITICAL)
115 if (stat & SES_ENCSTAT_NONCRITICAL)
118 stat = SES_ENCSTAT_CRITICAL;
119 if (ioctl(fd, SESIOC_SETENCSTAT, (caddr_t) &stat) < 0)
    [all...]
  /src/sys/arch/next68k/dev/
nextdma.c 320 struct nextdma_status *stat = &nsc->sc_stat; local in function:nextdma_reset
332 if ((stat->nd_map) || (stat->nd_map_cont)) {
333 if (stat->nd_map_cont) {
338 stat->nd_map_cont, nsc->sc_conf.nd_cb_arg);
340 stat->nd_map_cont = 0;
341 stat->nd_idx_cont = 0;
345 stat->nd_map = 0;
346 stat->nd_idx = 0;
362 struct nextdma_status *stat = &nsc->sc_stat local in function:nextdma_rotate
410 struct nextdma_status *stat = &nsc->sc_stat; local in function:nextdma_setup_curr_regs
469 struct nextdma_status *stat = &nsc->sc_stat; local in function:nextdma_setup_cont_regs
559 struct nextdma_status *stat = &nsc->sc_stat; local in function:nextdma_enet_intr
794 struct nextdma_status *stat = &nsc->sc_stat; local in function:nextdma_finished
806 struct nextdma_status *stat = &nsc->sc_stat; local in function:nextdma_start
910 struct nextdma_status *stat = &nsc->sc_stat; local in function:nextdma_print
    [all...]
  /src/games/trek/
shield.c 76 char *stat; local in function:shield
91 stat = &Ship.cloaked;
98 stat = &Ship.shldup;
113 if (*stat)
123 i = !*stat;
125 if (*stat == i) {
142 *stat = i;
  /src/tests/lib/libc/sys/
t_stat.c 34 #include <sys/stat.h>
51 static const char *path = "stat";
56 atf_tc_set_md_var(tc, "descr", "Test chflags(2) with stat(2)");
61 struct stat sa, sb;
64 (void)memset(&sa, 0, sizeof(struct stat));
65 (void)memset(&sb, 0, sizeof(struct stat));
70 ATF_REQUIRE(stat(path, &sa) == 0);
72 ATF_REQUIRE(stat(path, &sb) == 0);
75 atf_tc_fail("stat(2) did not detect chflags(2)");
89 atf_tc_set_md_var(tc, "descr", "Test stat(2) with directories")
    [all...]
  /src/lib/libc/compat/gen/
compat_glob.c 11 #include <sys/stat.h>
13 #include <compat/sys/stat.h>
31 #define stat __compat_stat macro

Completed in 55 milliseconds

1 2 3 4 5 6 7 8 91011>>