Searched refs:mode (Results 51 - 75 of 2146) sorted by relevance

1234567891011>>

/freebsd-13-stable/sys/dev/ata/chipsets/
H A Data-cyrix.c58 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 Data-national.c58 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 D11.t5 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 D08.t29 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 Dhw_features.h20 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 Dtftp-file.h31 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 Dsigaction.c55 _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 Dalpine_serdes.h34 /* 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 Dmfi_bbu.c88 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 Dcreate.cc45 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 Dterminal.c147 * 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 Dhardware.h34 extern uint64_t hardware_memlimit_get(enum operation_mode mode);
/freebsd-13-stable/crypto/openssl/crypto/
H A Do_fopen.c38 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 Dscriptdump.pl9 $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 Dtrc_cmp_cfg_etmv3.cpp55 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 Dt_mkdirat.c58 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 Dt_mkfifoat.c58 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 Dip_ecn.c97 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 Dstdbuf.c57 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 D02.t16 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 Dnfs_kdtrace.h62 #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 Dhrtimer.h58 #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 Dnfs_kdtrace.h54 #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 De_padlock-x86_64.pl282 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 Dsysmouse.c137 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...]

Completed in 242 milliseconds

1234567891011>>