Searched refs:mode (Results 276 - 300 of 2233) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/contrib/pjdfstest/tests/mknod/
H A D00.t19 # mode. The file permission bits of the mode argument shall be modified by the
22 expect fifo,0755 lstat ${n0} type,mode
25 expect fifo,0151 lstat ${n0} type,mode
28 expect fifo,0100 lstat ${n0} type,mode
31 expect fifo,0305 lstat ${n0} type,mode
34 expect fifo,0244 lstat ${n0} type,mode
/freebsd-11-stable/sys/dev/ipmi/
H A Dipmi_isa.c100 const char *mode, *name; local
103 /* We require at least a "mode" hint. */
106 if (resource_string_value(name, unit, "mode", &mode) != 0)
109 /* Set the mode and default I/O resources for each mode. */
111 if (strcasecmp(mode, "KCS") == 0) {
116 } else if (strcasecmp(mode, "SMIC") == 0) {
121 } else if (strcasecmp(mode, "BT") == 0) {
127 device_printf(dev, "Invalid mode
175 const char *mode; local
[all...]
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dport-tun.c59 sys_tun_open(int tun, int mode) argument
73 if (mode == SSH_TUNMODE_ETHERNET) {
92 debug("%s: failed to configure tunnel (mode %d): %s", __func__,
93 mode, strerror(errno));
98 debug("%s: tunnel mode %d fd %d", __func__, mode, fd);
100 debug("%s: %s mode %d fd %d", __func__, ifr.ifr_name, mode, fd);
119 sys_tun_open(int tun, int mode) argument
126 if (mode
[all...]
/freebsd-11-stable/libexec/flua/modules/
H A Dlfs.c111 * mode: directory
236 mode_t mode; local
238 mode = (sb->st_mode & S_IFMT);
239 if (S_ISREG(mode))
241 else if (S_ISDIR(mode))
243 else if (S_ISLNK(mode))
245 else if (S_ISSOCK(mode))
247 else if (S_ISFIFO(mode))
249 else if (S_ISCHR(mode))
251 else if (S_ISBLK(mode))
[all...]
/freebsd-11-stable/sys/dev/ata/chipsets/
H A Data-sis.c57 static int ata_sis_setmode(device_t dev, int target, int mode);
239 ata_sis_setmode(device_t dev, int target, int mode) argument
246 mode = min(mode, ctlr->chip->max_dma);
249 if (ata_dma_check_80pin && mode > ATA_UDMA2 &&
252 mode = ATA_UDMA2;
255 if (ata_dma_check_80pin && mode > ATA_UDMA2 &&
258 mode = ATA_UDMA2;
271 pci_write_config(parent, reg, timings[ata_mode2idx(mode)], 4);
281 pci_write_config(parent, reg, timings[ata_mode2idx(mode)],
[all...]
/freebsd-11-stable/sys/powerpc/powermac/
H A Data_kauai.c87 static int ata_kauai_setmode(device_t dev, int target, int mode);
302 /* Set up initial mode */
319 ata_kauai_setmode(device_t dev, int target, int mode) argument
323 mode = min(mode,sc->shasta ? ATA_UDMA6 : ATA_UDMA5);
326 switch (mode & ATA_DMA_MASK) {
329 = udma_timing_shasta[mode & ATA_MODE_MASK];
334 = dma_timing_shasta[mode & ATA_MODE_MASK];
338 = pio_timing_shasta[(mode & ATA_MODE_MASK) -
343 switch (mode
[all...]
H A Data_macio.c114 static int ata_macio_setmode(device_t dev, int target, int mode);
259 ata_macio_setmode(device_t dev, int target, int mode) argument
266 mode = min(mode, sc->max_mode);
268 if ((mode & ATA_DMA_MASK) == ATA_UDMA0) {
269 min_cycle = udma_timings[mode & ATA_MODE_MASK].cycle;
270 min_active = udma_timings[mode & ATA_MODE_MASK].active;
278 } else if ((mode & ATA_DMA_MASK) == ATA_WDMA0) {
279 min_cycle = dma_timings[mode & ATA_MODE_MASK].cycle;
280 min_active = dma_timings[mode
[all...]
/freebsd-11-stable/contrib/gcc/
H A Dcse.c103 REG expressions with qty_table `mode' must be in the hash table for both
107 any mode, two REG expressions might be equivalent in the hash table
109 of the registers is not the same mode as those expressions.
125 Integer constants don't have a machine mode. However, cse
126 determines the intended machine mode from the destination
127 of the instruction that moves the constant. The machine mode
223 `mode' contains the machine mode of this quantity.
251 code and mode fields of struct rtx_def (see rtl.h). */
253 ENUM_BITFIELD(machine_mode) mode
747 enum machine_mode mode; local
981 make_new_qty(unsigned int reg, enum machine_mode mode) argument
1408 lookup(rtx x, unsigned int hash, enum machine_mode mode) argument
1424 lookup_for_remove(rtx x, unsigned int hash, enum machine_mode mode) argument
1510 insert(rtx x, struct table_elt *classp, unsigned int hash, enum machine_mode mode) argument
1704 enum machine_mode mode = elt->mode; local
1763 enum machine_mode mode; member in struct:check_dependence_data
1946 remove_invalid_subreg_refs(unsigned int regno, unsigned int offset, enum machine_mode mode) argument
2179 hash_rtx(rtx x, enum machine_mode mode, int *do_not_record_p, int *hash_arg_in_memory_p, bool have_reg_qty) argument
2468 canon_hash(rtx x, enum machine_mode mode) argument
2477 safe_hash(rtx x, enum machine_mode mode) argument
2853 find_best_addr(rtx insn, rtx *loc, enum machine_mode mode) argument
3261 enum machine_mode mode = GET_MODE (x); local
3460 enum machine_mode mode = GET_MODE (x); local
3683 enum machine_mode mode; local
4532 enum machine_mode mode, mode0, mode1; local
4584 record_jump_cond_subreg(enum machine_mode mode, rtx op) argument
4598 record_jump_cond(enum rtx_code code, enum machine_mode mode, rtx op0, rtx op1, int reversed_nonequality) argument
5083 enum machine_mode mode; local
6025 enum machine_mode mode local
6083 enum machine_mode mode; local
7680 enum machine_mode mode; local
7882 enum machine_mode mode; local
[all...]
H A Dunwind-pe.h190 unsigned u2 __attribute__ ((mode (HI)));
191 unsigned u4 __attribute__ ((mode (SI)));
192 unsigned u8 __attribute__ ((mode (DI)));
193 signed s2 __attribute__ ((mode (HI)));
194 signed s4 __attribute__ ((mode (SI)));
195 signed s8 __attribute__ ((mode (DI)));
H A Dtarget.h156 /* Return a section for X. MODE is X's mode and ALIGN is its
394 /* Return machine mode for filter value. */
441 enum machine_mode mode, int ignore);
522 unsigned HOST_WIDE_INT (* shift_truncation_mask) (enum machine_mode mode);
527 unsigned int (* min_divisions_for_recip_mul) (enum machine_mode mode);
530 always sign-extended to a wider mode MODE_REP then return
534 int (* mode_rep_extended) (enum machine_mode mode,
537 /* True if MODE is valid for a pointer in __attribute__((mode("MODE"))). */
538 bool (* valid_pointer_mode) (enum machine_mode mode);
543 bool (* scalar_mode_supported_p) (enum machine_mode mode);
[all...]
/freebsd-11-stable/sys/dev/firewire/
H A Dfirewire.c201 tcode = fp->mode.common.tcode & 0xf;
210 ((tcode != FWTCODE_RREQQ) || (fp->mode.rreqq.dest_hi != 0xffff) ||
211 (fp->mode.rreqq.dest_lo < 0xf0000000) ||
212 (fp->mode.rreqq.dest_lo >= 0xf0001000))) {
228 len = fp->mode.stream.len;
230 len = fp->mode.rresb.len;
1011 fp->mode.hdr.dst & 0x3f,
1012 fp->mode.hdr.tlrt >> 2, fp->mode.hdr.tlrt & 3,
1013 fp->mode
2359 fw_modevent(module_t mode, int type, void *data) argument
[all...]
/freebsd-11-stable/contrib/gdb/gdb/tui/
H A Dtui-winsource.c402 int mode; local
412 mode = 0;
425 mode |= TUI_BP_DISABLED;
427 mode |= TUI_BP_ENABLED;
429 mode |= TUI_BP_HIT;
431 mode |= TUI_BP_CONDITIONAL;
433 mode |= TUI_BP_HARDWARE;
436 if (line->has_break != mode)
438 line->has_break = mode;
471 int mode; local
[all...]
/freebsd-11-stable/tools/tools/net80211/wlantxtime/
H A Dwlantxtime.c431 mode2table(const char *mode) argument
433 if (strcasecmp(mode, "half") == 0)
435 else if (strcasecmp(mode, "quarter") == 0)
437 else if (strcasecmp(mode, "hta") == 0)
439 else if (strcasecmp(mode, "htg") == 0)
441 else if (strcasecmp(mode, "108g") == 0)
443 else if (strcasecmp(mode, "sturbo") == 0)
445 else if (strcasecmp(mode, "turbo") == 0)
447 else if (strcasecmp(mode, "11a") == 0)
449 else if (strcasecmp(mode, "1
512 const char *mode; local
[all...]
/freebsd-11-stable/sys/dev/vt/
H A Dvt_sysmouse.c382 mousemode_t *mode = (mousemode_t *)data; local
384 mode->rate = -1;
385 mode->resolution = -1;
386 mode->accelfactor = 0;
387 mode->level = sysmouse_level;
389 switch (mode->level) {
391 mode->protocol = MOUSE_PROTO_MSC;
392 mode->packetsize = MOUSE_MSC_PACKETSIZE;
393 mode->syncmask[0] = MOUSE_MSC_SYNCMASK;
394 mode
429 mousemode_t *mode = (mousemode_t *)data; local
[all...]
/freebsd-11-stable/tests/sys/audit/
H A Dfile-create.c39 static mode_t mode = 0777; variable
58 ATF_REQUIRE_EQ(0, mkdir(path, mode));
77 ATF_REQUIRE_EQ(0, mkdir(path, mode));
80 ATF_REQUIRE_EQ(-1, mkdir(path, mode));
100 ATF_REQUIRE_EQ(0, mkdirat(AT_FDCWD, path, mode));
119 ATF_REQUIRE_EQ(0, mkdirat(AT_FDCWD, path, mode));
122 ATF_REQUIRE_EQ(-1, mkdirat(AT_FDCWD, path, mode));
142 ATF_REQUIRE_EQ(0, mkfifo(path, mode));
161 ATF_REQUIRE_EQ(0, mkfifo(path, mode));
164 ATF_REQUIRE_EQ(-1, mkfifo(path, mode));
[all...]
/freebsd-11-stable/sys/arm/ti/am335x/
H A Dam335x_lcd.c187 #define MODE_HBP(mode) ((mode)->htotal - (mode)->hsync_end)
188 #define MODE_HFP(mode) ((mode)->hsync_start - (mode)->hdisplay)
189 #define MODE_HSW(mode) ((mode)->hsync_end - (mode)->hsync_start)
190 #define MODE_VBP(mode) ((mod
283 am335x_mode_vrefresh(const struct videomode *mode) argument
300 am335x_mode_is_valid(const struct videomode *mode) argument
[all...]
/freebsd-11-stable/contrib/groff/src/libs/libgroff/
H A Dsearchpath.cpp147 const char *mode)
149 if (!mode)
150 mode = "r";
151 bool reading = (strchr(mode, 'r') != 0);
158 FILE *fp = fopen(name, mode);
187 FILE *fp = fopen(path, mode);
146 open_file_cautious(const char *name, char **pathp, const char *mode) argument
/freebsd-11-stable/lib/libc/stdio/
H A Dfmemopen.c53 fmemopen(void * __restrict buf, size_t size, const char * __restrict mode) argument
68 * Retrieve the flags as used by open(2) from the mode argument, and
71 rc = __sflags(mode, &flags);
79 * in write-only mode.
108 if (ck->own || mode[0] == 'w') {
112 /* Check for binary mode. */
113 ck->bin = strchr(mode, 'b') != NULL;
117 * mode:
119 * for append (text-mode), the position of the first NULL byte, or the
122 * for append (binary-mode), th
[all...]
/freebsd-11-stable/contrib/ntp/sntp/libopts/compat/
H A Dpathfind.c12 char const * mode );
20 char const * mode )
34 * @param[in] mode the required file mode
40 char const * mode )
47 if (strchr( mode, 'r' )) mode_bits |= R_OK;
48 if (strchr( mode, 'w' )) mode_bits |= W_OK;
49 if (strchr( mode, 'x' )) mode_bits |= X_OK;
290 * mode: C
292 * indent-tabs-mode
[all...]
/freebsd-11-stable/tools/regression/tmpfs/
H A Dt_setattr82 test_name "File mode can be changed"
83 mkdir mode || die
84 chmod 0000 mode || die
85 eval $(stat -s mode)
90 test_name "Updating a file's mode raises NOTE_ATTRIB on it"
/freebsd-11-stable/crypto/openssl/crypto/evp/
H A De_aes.c272 int ret, mode; local
275 mode = ctx->cipher->flags & EVP_CIPH_MODE;
276 if ((mode == EVP_CIPH_ECB_MODE || mode == EVP_CIPH_CBC_MODE)
280 dat->stream.cbc = mode == EVP_CIPH_CBC_MODE ?
285 if (mode == EVP_CIPH_CBC_MODE)
287 else if (mode == EVP_CIPH_CTR_MODE)
441 # define BLOCK_CIPHER_generic(nid,keylen,blocksize,ivlen,nmode,mode,MODE,flags) \
442 static const EVP_CIPHER aesni_##keylen##_##mode = { \
446 aesni_##mode##_ciphe
552 int ret, mode, bits; local
926 int ret, mode; local
[all...]
/freebsd-11-stable/stand/liblua/
H A Dlstd.c35 fopen(const char *filename, const char *mode) argument
41 if (mode == NULL)
44 switch (*mode++) {
56 default: /* illegal mode */
60 if (*mode == '+')
88 freopen(const char *filename, const char *mode, FILE *stream) argument
91 return (fopen(filename, mode));
/freebsd-11-stable/usr.bin/tftp/
H A Dtftp.c70 xmitfile(int peer, char *port, int fd, char *name, char *mode) argument
100 n = send_wrq(peer, name, mode);
153 if (read_init(fd, NULL, mode) < 0) {
172 recvfile(int peer, char *port, int fd, char *name, char *mode) argument
200 n = send_rrq(peer, name, mode);
239 if (write_init(fd, NULL, mode) < 0) {
/freebsd-11-stable/contrib/elftoolchain/ar/
H A Dread.c51 ar_read_archive(struct bsdar *bsdar, int mode) argument
70 assert(mode == 'p' || mode == 't' || mode == 'x');
139 if (mode == 't') {
168 /* mode == 'x' || mode = 'p' */
169 if (mode == 'p') {
177 /* mode == 'x' */
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-gpio.h81 /* If Multicast mode is enabled, and GPIO interrupt is enabled for
107 * @param mode Drive GPIO as output pin or not.
110 static inline void cvmx_gpio_cfg(int bit, int mode) argument
119 if (mode)
132 if (mode)

Completed in 309 milliseconds

<<11121314151617181920>>