/freebsd-13-stable/sys/dev/ata/chipsets/ |
H A D | ata-cyrix.c | 58 static int ata_cyrix_setmode(device_t dev, int target, int mode); 99 ata_cyrix_setmode(device_t dev, int target, int mode) argument 112 mode = min(mode, ATA_UDMA2); 113 /* dont try to set the mode if we dont have the resource */ 115 if (mode >= ATA_UDMA0) { 118 0x24 + (devno << 3), udmatiming[mode & ATA_MODE_MASK]); 120 } else if (mode >= ATA_WDMA0) { 121 /* Set WDMA timings, and respective PIO mode. */ 123 0x24 + (devno << 3), dmatiming[mode [all...] |
H A D | ata-national.c | 58 static int ata_national_setmode(device_t dev, int target, int mode); 101 ata_national_setmode(device_t dev, int target, int mode) argument 115 mode = min(mode, ATA_UDMA2); 117 if (mode >= ATA_UDMA0) { 119 udmatiming[mode & ATA_MODE_MASK], 4); 121 } else if (mode >= ATA_WDMA0) { 123 dmatiming[mode & ATA_MODE_MASK], 4); 124 piomode = mode; 129 piomode = mode; [all...] |
/freebsd-13-stable/contrib/pjdfstest/tests/chmod/ |
H A D | 11.t | 5 desc="chmod returns EFTYPE if the effective user ID is not the super-user, the mode includes the sticky bit (S_ISVTX), and path does not refer to a directory" 28 expect 01621 stat ${n1} mode 31 expect 01700 stat ${n1} mode 43 expect 01621 lstat ${n1} mode 55 expect 01755 stat ${n1} mode 58 expect 01700 stat ${n1} mode 69 expect 01644 stat ${n1} mode 71 expect 01640 stat ${n1} mode 75 expect 0640 stat ${n1} mode 77 expect 0640 stat ${n1} mode [all...] |
H A D | 08.t | 29 expect 0644 stat ${n0} mode 32 expect 0600 stat ${n0} mode 34 supported lchmod && expect 0400 stat ${n0} mode 40 expect 0600 stat ${n0} mode 42 supported lchmod && expect 0400 stat ${n0} mode 51 expect 0600 stat ${n0} mode 53 supported lchmod && expect 0500 stat ${n0} mode 56 expect 0400 stat ${n0} mode 64 expect 0644 stat ${n0} mode 67 expect 0600 stat ${n0} mode [all...] |
/freebsd-13-stable/contrib/wpa/src/ap/ |
H A D | hw_features.h | 20 const char * hostapd_hw_mode_txt(int mode); 25 struct hostapd_hw_modes *mode); 49 static inline const char * hostapd_hw_mode_txt(int mode) argument 65 struct hostapd_hw_modes *mode) 64 hostapd_prepare_rates(struct hostapd_iface *iface, struct hostapd_hw_modes *mode) argument
|
/freebsd-13-stable/libexec/tftpd/ |
H A D | tftp-file.h | 31 int write_init(int fd, FILE *f, const char *mode); 35 int read_init(int fd, FILE *f, const char *mode);
|
/freebsd-13-stable/contrib/ncurses/ncurses/base/ |
H A D | sigaction.c | 55 _nc_sigprocmask(int mode, sigset_t * mask, sigset_t * omask) argument 62 if (mode == SIG_BLOCK) 64 else if (mode == SIG_UNBLOCK) 66 else if (mode == SIG_SETMASK)
|
/freebsd-13-stable/sys/arm/annapurna/alpine/ |
H A D | alpine_serdes.h | 34 /* SerDes ETH mode */ 48 * Set SerDes ETH mode for an entire group, unless already set 53 enum alpine_serdes_eth_mode mode);
|
/freebsd-13-stable/usr.sbin/mfiutil/ |
H A D | mfi_bbu.c | 88 mfi_autolearn_mode(uint8_t mode, char *buf, size_t sz) argument 91 switch (mode) { 102 snprintf(buf, sz, "mode 0x%02x", mode); 164 char *mode, *endptr; local 200 } else if (strcmp(av[1], "autolearn-mode") == 0) { 201 mode = av[2]; 207 else if (mode[0] >= '0' && mode[0] <= '2' && mode[ [all...] |
/freebsd-13-stable/tests/sys/fs/fusefs/ |
H A D | create.cc | 45 void expect_create(const char *relpath, mode_t mode, ProcessMockerT r) argument 55 in.body.create.mode == mode && 73 void expect_create(const char *relpath, mode_t mode, ProcessMockerT r) argument 80 in.body.create.mode == mode && 97 void expect_create(const char *relpath, mode_t mode, ProcessMockerT r) argument 104 in.body.create.mode == mode && 122 mode_t mode local 155 mode_t mode = S_IFREG | 0755; local 202 mode_t mode = S_IFREG | 0755; local 219 mode_t mode = S_IFREG | 0755; local 268 mode_t mode = S_IFREG | 0755; local 302 mode_t mode = S_IFREG | 0755; local 339 mode_t mode = S_IFREG | 0755; local 353 mode_t mode = S_IFREG | 0755; local 385 mode_t mode = S_IFREG | 0444; local 409 mode_t mode = S_IFREG | 0755; local 433 mode_t mode = S_IFREG | 0755; local [all...] |
/freebsd-13-stable/crypto/heimdal/appl/telnet/telnet/ |
H A D | terminal.c | 147 * These routines decides on what the mode should be (based on the values 155 int mode = 0; 158 mode |= MODE_ECHO; 161 mode |= MODE_FLOW; 164 mode |= MODE_INBIN; 167 mode |= MODE_OUT8; 169 mode |= MODE_OUTBIN; 174 mode |= (MODE_TRAPSIG|MODE_EDIT); 176 mode &= ~MODE_ECHO; 179 return(mode); 154 int mode = 0; local [all...] |
/freebsd-13-stable/contrib/xz/src/xz/ |
H A D | hardware.h | 34 extern uint64_t hardware_memlimit_get(enum operation_mode mode);
|
/freebsd-13-stable/crypto/openssl/crypto/ |
H A D | o_fopen.c | 38 FILE *openssl_fopen(const char *filename, const char *mode) argument 68 MultiByteToWideChar(CP_UTF8, 0, mode, strlen(mode) + 1, 77 file = fopen(filename, mode); 80 file = fopen(filename, mode); 109 file = fopen(filename, mode); 114 file = fopen(filename, mode); 121 void *openssl_fopen(const char *filename, const char *mode) argument
|
/freebsd-13-stable/sbin/setkey/ |
H A D | scriptdump.pl | 9 $mode = 'add'; 12 $mode = 'delete'; 23 } elsif (/^\t(esp|ah) mode=(\S+) spi=(\d+).*reqid=(\d+)/) { 36 print "$mode $src $dst $proto $spi"; 39 if ($mode eq 'add') {
|
/freebsd-13-stable/contrib/opencsd/decoder/source/etmv3/ |
H A D | trc_cmp_cfg_etmv3.cpp | 55 int mode = 0 + ( isDataValTrace() ? 1 : 0 ) + (isDataAddrTrace() ? 2 : 0) + (isInstrTrace() ? 0 : 3); local 56 return (EtmTraceMode)mode;
|
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/c063/ |
H A D | t_mkdirat.c | 58 mode_t mode = 0755; local 62 ATF_REQUIRE(mkdirat(dfd, BASESDIR, mode) != -1); 75 mode_t mode = 0755; local 78 ATF_REQUIRE(mkdirat(AT_FDCWD, SDIR, mode) != -1); 90 mode_t mode = 0755; local 92 ATF_REQUIRE(mkdirat(AT_FDCWD, SDIRERR, mode) == -1); 103 mode_t mode = 0755; local 108 ATF_REQUIRE(mkdirat(-1, SDIR, mode) == -1);
|
H A D | t_mkfifoat.c | 58 mode_t mode = 0600; local 62 ATF_REQUIRE(mkfifoat(dfd, BASEFIFO, mode) != -1); 75 mode_t mode = 0600; local 78 ATF_REQUIRE(mkfifoat(AT_FDCWD, FIFO, mode) != -1); 90 mode_t mode = 0600; local 92 ATF_REQUIRE(mkfifoat(AT_FDCWD, FIFOERR, mode) == -1); 103 mode_t mode = 0600; local 108 ATF_REQUIRE(mkfifoat(-1, FIFO, mode) == -1);
|
/freebsd-13-stable/sys/netinet/ |
H A D | ip_ecn.c | 97 ip_ecn_ingress(int mode, u_int8_t *outer, const u_int8_t *inner) argument 104 switch (mode) { 129 ip_ecn_egress(int mode, const u_int8_t *outer, u_int8_t *inner) argument 135 switch (mode) { 163 ip6_ecn_ingress(int mode, u_int32_t *outer, const u_int32_t *inner) argument 171 ip_ecn_ingress(mode, &outer8, &inner8); 177 ip6_ecn_egress(int mode, const u_int32_t *outer, u_int32_t *inner) argument 186 if (ip_ecn_egress(mode, &outer8, &inner8) == 0)
|
/freebsd-13-stable/lib/libstdbuf/ |
H A D | stdbuf.c | 57 int mode; local 61 mode = _IONBF; 63 mode = _IOLBF; 65 mode = _IOFBF; 76 warn("Wrong buffer mode '%s' for %s", bufmode, 95 mode = _IOFBF; 97 if (setvbuf(s, NULL, mode, bufsize) != 0) 98 warn("Cannot set buffer mode '%s' for %s", bufmode,
|
/freebsd-13-stable/contrib/pjdfstest/tests/mknod/ |
H A D | 02.t | 16 expect fifo,0644 stat ${nx} type,mode 21 expect block,0644 stat ${nx} type,mode 26 expect char,0644 stat ${nx} type,mode
|
/freebsd-13-stable/sys/fs/nfsclient/ |
H A D | nfs_kdtrace.h | 62 #define KDTRACE_NFS_ACCESSCACHE_GET_HIT(vp, uid, mode) do { \ 66 (mode)); \ 69 #define KDTRACE_NFS_ACCESSCACHE_GET_MISS(vp, uid, mode) do { \ 73 (mode)); \ 111 #define KDTRACE_NFS_ACCESSCACHE_GET_HIT(vp, uid, mode) 112 #define KDTRACE_NFS_ACCESSCACHE_GET_MISS(vp, uid, mode)
|
/freebsd-13-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | hrtimer.h | 58 #define hrtimer_init(hrtimer, clock, mode) do { \ 60 CTASSERT((mode) == HRTIMER_MODE_REL); \ 67 #define hrtimer_start(hrtimer, time, mode) do { \ 68 CTASSERT((mode) == HRTIMER_MODE_REL); \ 72 #define hrtimer_start_range_ns(hrtimer, time, prec, mode) do { \ 73 CTASSERT((mode) == HRTIMER_MODE_REL); \
|
/freebsd-13-stable/sys/nfs/ |
H A D | nfs_kdtrace.h | 54 #define KDTRACE_NFS_ACCESSCACHE_GET_HIT(vp, uid, mode) do { \ 58 (mode)); \ 61 #define KDTRACE_NFS_ACCESSCACHE_GET_MISS(vp, uid, mode) do { \ 65 (mode)); \ 111 #define KDTRACE_NFS_ACCESSCACHE_GET_HIT(vp, uid, mode) 112 #define KDTRACE_NFS_ACCESSCACHE_GET_MISS(vp, uid, mode)
|
/freebsd-13-stable/crypto/openssl/engines/asm/ |
H A D | e_padlock-x86_64.pl | 282 my ($mode,$opcode) = @_; 286 .globl padlock_${mode}_encrypt 287 .type padlock_${mode}_encrypt,\@function,4 289 padlock_${mode}_encrypt: 295 jnz .L${mode}_abort 297 jnz .L${mode}_abort 306 jnz .L${mode}_aligned 312 jnz .L${mode}_aligned 327 $code.=<<___ if ($mode eq "ctr32"); 328 .L${mode}_reente [all...] |
/freebsd-13-stable/sys/dev/syscons/ |
H A D | sysmouse.c | 137 mousemode_t *mode; local 149 case MOUSE_GETMODE: /* get protocol/mode */ 150 mode = (mousemode_t *)data; 151 mode->level = mouse_level; 152 switch (mode->level) { 154 mode->protocol = MOUSE_PROTO_MSC; 155 mode->rate = -1; /* unknown */ 156 mode->resolution = -1; /* unknown */ 157 mode->accelfactor = 0; /* disabled */ 158 mode [all...] |