Searched refs:mode (Results 726 - 750 of 2233) sorted by relevance

<<21222324252627282930>>

/freebsd-11-stable/sys/dev/smartpqi/
H A Dsmartpqi_ioctl.c39 void *src_buf, int size, int mode)
48 void *src_buf, int size, int mode)
218 pqisrc_passthru_ioctl(struct pqisrc_softstate *softs, void *arg, int mode) argument
277 iocommand->buf_size, mode)) != 0) {
374 (void*)drv_buf, iocommand->buf_size, mode)) != 0) {
38 os_copy_to_user(struct pqisrc_softstate *softs, void *dest_buf, void *src_buf, int size, int mode) argument
47 os_copy_from_user(struct pqisrc_softstate *softs, void *dest_buf, void *src_buf, int size, int mode) argument
/freebsd-11-stable/crypto/openssl/crypto/evp/
H A Dp_lib.c99 int EVP_PKEY_save_parameters(EVP_PKEY *pkey, int mode) argument
105 if (mode >= 0)
106 pkey->save_parameters = mode;
114 if (mode >= 0)
115 pkey->save_parameters = mode;
/freebsd-11-stable/usr.sbin/watch/
H A Dwatch.c156 int f, mode; local
159 mode = O_RDWR;
161 mode = O_RDONLY;
164 f = open(_PATH_DEV "snp", mode);
166 f = open(opt_snpdev, mode);
/freebsd-11-stable/sys/dev/usb/video/
H A Dudl.c382 * Select edid mode.
386 /* Allow default mode to be overwritten */
388 CTLFLAG_RWTUN, &sc->sc_def_mode, 0, "mode");
390 /* Export current mode */
391 SYSCTL_ADD_INT(ctx, SYSCTL_CHILDREN(tree), OID_AUTO, "mode",
392 CTLFLAG_RD, &sc->sc_cur_mode, 0, "mode");
397 device_printf(dev, "Forcing mode to %d\n", i);
401 /* Printout current mode */
480 udl_fb_setblankmode(void *arg, int mode) argument
484 switch (mode) {
1058 struct udl_mode mode; local
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Utility/
H A DReproducer.cpp23 llvm::Error Reproducer::Initialize(ReproducerMode mode, argument
28 // The environment can override the capture mode.
29 if (mode != ReproducerMode::Replay) {
33 mode = ReproducerMode::Off;
35 mode = ReproducerMode::Capture;
38 switch (mode) {
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A DMakefile.in200 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
207 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libtest_la_CFLAGS) \
241 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(parse_reply_test_CFLAGS) \
259 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(snprintf_test_CFLAGS) \
265 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(strpftime_test_CFLAGS) \
275 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(tsearch_test_CFLAGS) \
283 --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
287 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
686 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
687 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode
[all...]
/freebsd-11-stable/sys/dev/cx/
H A Dif_cx.c3 * Supports PPP/HDLC and Cisco/HDLC protocol in synchronous mode,
220 static int cx_open (struct cdev *dev, int flag, int mode, struct thread *td);
221 static int cx_close (struct cdev *dev, int flag, int mode, struct thread *td);
900 if (c->mode == M_ASYNC && d->tty && (d->tty->t_state & TS_ISOPEN) &&
1056 /* No socket ioctls while the channel is in async mode. */
1057 if (d->chan->type == T_NONE || d->chan->mode == M_ASYNC)
1242 if (c->mode == M_ASYNC && d->tty) {
1275 if (c->mode == M_ASYNC && d->tty) {
1349 if (c->mode == M_ASYNC && d->tty && (d->tty->t_state & TS_ISOPEN)
1365 if (c->mode
1512 cx_open(struct cdev *dev, int flag, int mode, struct thread *td) argument
1530 cx_close(struct cdev *dev, int flag, int mode, struct thread *td) argument
[all...]
/freebsd-11-stable/sys/kern/
H A Dsysv_shm.c124 int mode);
126 int mode, int segnum);
206 if ((shmsegs[i].u.shm_perm.mode & SHMSEG_ALLOCATED) &&
228 if ((shmseg->u.shm_perm.mode & SHMSEG_ALLOCATED) == 0 ||
230 (shmseg->u.shm_perm.mode & SHMSEG_REMOVED) != 0) ||
249 shmseg->u.shm_perm.mode = SHMSEG_FREE;
279 (shmseg->u.shm_perm.mode & SHMSEG_REMOVED)) {
291 shmseg->u.shm_perm.mode |= SHMSEG_REMOVED;
561 shmseg->u.shm_perm.mode =
562 (shmseg->u.shm_perm.mode
645 shmget_existing(struct thread *td, size_t size, int shmflg, int mode, int segnum) argument
671 shmget_allocate_segment(struct thread *td, key_t key, size_t size, int mode) argument
773 int segnum, mode; local
[all...]
H A Duipc_sem.c115 static struct ksem *ksem_alloc(struct ucred *ucred, mode_t mode,
118 semid_t *semidp, mode_t mode, unsigned int value,
193 ksem_chmod(struct file *fp, mode_t mode, struct ucred *active_cred, argument
203 error = mac_posixsem_check_setmode(active_cred, ks, mode);
211 ks->ks_mode = mode & ACCESSPERMS;
296 ksem_alloc(struct ucred *ucred, mode_t mode, unsigned int value) argument
310 ks->ks_mode = mode;
458 ksem_create(struct thread *td, const char *name, semid_t *semidp, mode_t mode, argument
474 mode = (mode
622 mode_t mode; member in struct:ksem_open_args
[all...]
H A Dvfs_syscalls.c94 SDT_PROBE_DEFINE2(vfs, , stat, mode, "char *", "int");
375 int mode; member in struct:getfsstat_args
387 UIO_USERSPACE, uap->mode);
400 size_t *countp, enum uio_seg bufseg, int mode)
407 switch (mode) {
449 if (mode == MNT_WAIT) {
481 if (mode != MNT_NOWAIT) {
587 int mode; member in struct:freebsd4_getfsstat_args
605 uap->mode);
876 int mode; member in struct:open_args
399 kern_getfsstat(struct thread *td, struct statfs **buf, size_t bufsize, size_t *countp, enum uio_seg bufseg, int mode) argument
892 int mode; member in struct:openat_args
905 kern_openat(struct thread *td, int fd, char *path, enum uio_seg pathseg, int flags, int mode) argument
1050 int mode; member in struct:ocreat_args
1068 int mode; member in struct:mknod_args
1084 mode_t mode; member in struct:mknodat_args
1097 kern_mknodat(struct thread *td, int fd, char *path, enum uio_seg pathseg, int mode, int dev) argument
1200 int mode; member in struct:mkfifo_args
1215 mode_t mode; member in struct:mkfifoat_args
1227 kern_mkfifoat(struct thread *td, int fd, char *path, enum uio_seg pathseg, int mode) argument
2423 setfmode(struct thread *td, struct ucred *cred, struct vnode *vp, int mode) argument
2450 int mode; member in struct:chmod_args
2465 mode_t mode; member in struct:fchmodat_args
2475 mode_t mode = uap->mode; local
2489 int mode; member in struct:lchmod_args
2501 kern_fchmodat(struct thread *td, int fd, char *path, enum uio_seg pathseg, mode_t mode, int flag) argument
2526 int mode; member in struct:fchmod_args
3335 int mode; member in struct:mkdir_args
3350 mode_t mode; member in struct:mkdirat_args
3361 kern_mkdirat(struct thread *td, int fd, char *path, enum uio_seg segflg, int mode) argument
[all...]
/freebsd-11-stable/sys/dev/syscons/
H A Dscvidctl.c136 sc_set_text_mode(scr_stat *scp, struct tty *tp, int mode, int xsize, int ysize, argument
146 if (vidd_get_info(scp->sc->adp, mode, &info))
210 scp->mode = mode;
245 sc_set_graphics_mode(scr_stat *scp, struct tty *tp, int mode) argument
255 if (vidd_get_info(scp->sc->adp, mode, &info))
273 scp->mode = mode;
319 if (vidd_get_info(scp->sc->adp, scp->mode, &info))
544 case CONS_GET: /* get current video mode */
865 sc_render_match(scr_stat *scp, char *name, int mode) argument
[all...]
/freebsd-11-stable/lib/libsysdecode/
H A Dflags.c382 sysdecode_access_mode(FILE *fp, int mode, int *rem) argument
385 return (print_mask_int(fp, accessmode, mode, rem));
421 int mode; local
424 mode = flags & O_ACCMODE;
426 switch (mode) {
434 mode = 0;
439 mode = 0;
444 mode = 0;
452 *rem = val | mode;
492 sysdecode_getfsstat_mode(int mode) argument
630 sysdecode_lio_listio_mode(int mode) argument
672 sysdecode_filemode(FILE *fp, int mode, int *rem) argument
[all...]
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_ipc.c65 l_ushort mode; member in struct:l_ipc_perm
142 bpp->mode = lpp->mode;
155 lpp->mode = bpp->mode & (S_IRWXU|S_IRWXG|S_IRWXO);
287 out->mode = in->mode;
293 out->mode != in->mode)
316 linux_msqid64->msg_perm.mode
[all...]
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dap_drv_ops.c542 int hostapd_set_freq(struct hostapd_data *hapd, enum hostapd_hw_mode mode, argument
551 if (hostapd_set_freq_params(&data, mode, freq, channel, ht_enabled,
793 enum hostapd_hw_mode mode, int freq,
813 if (hostapd_set_freq_params(&data, mode, freq, channel, ht_enabled,
844 struct hostapd_hw_modes *mode,
850 for (i = 0; i < mode->num_channels; i++) {
851 struct hostapd_channel_data *chan = &mode->channels[i];
884 struct hostapd_hw_modes *mode; local
900 mode = hapd->iface->current_mode;
901 if (mode) {
792 hostapd_start_dfs_cac(struct hostapd_iface *iface, enum hostapd_hw_mode mode, int freq, int channel, int ht_enabled, int vht_enabled, int he_enabled, int sec_channel_offset, int oper_chwidth, int center_segment0, int center_segment1) argument
843 hostapd_get_hw_mode_any_channels(struct hostapd_data *hapd, struct hostapd_hw_modes *mode, int acs_ch_list_all, int **freq_list) argument
[all...]
/freebsd-11-stable/usr.bin/ar/
H A Dwrite.c70 static void write_archive(struct bsdar *bsdar, char mode);
178 * will be replaced with 0, and file mode with 644. This ensures that
271 * ADDLIB command (ar script mode), in this case argv array possibly
382 write_archive(struct bsdar *bsdar, char mode) argument
406 /* We do not create archive in mode 'd', 'm' and 's'. */
407 if (mode != 'r' && mode != 'q') {
425 * For mode 's', no member will be moved, deleted or replaced.
427 if (mode == 's')
431 * For mode '
[all...]
/freebsd-11-stable/sys/libkern/
H A Dzlib.c159 # define FOPEN(name, mode) \
160 fopen((name), (mode), "mbc=60", "ctx=stm", "rfm=fix", "mrs=512")
184 # define fdopen(fd,mode) NULL /* No fdopen() */
194 # define FOPEN(name, mode) fopen((name), (mode))
3060 /* mode */
3076 mode; /* current inflate mode */ member in struct:internal_state
3078 /* mode dependent information */
3088 /* mode independen
3558 inflate_block_mode mode; /* current inflate_block mode */ member in struct:inflate_blocks_state
4640 mode; /* current inflate_codes mode */ member in struct:inflate_codes_state
[all...]
/freebsd-11-stable/contrib/libarchive/libarchive/test/
H A Dmain.c133 mode_t mode = umask(0); local
134 umask(mode);
135 return expected_mode & ~mode;
1409 /* Verify mode of 'pathname'. */
1413 int mode; local
1419 (void)mode; /* UNUSED */
1427 mode = (int)(st.st_mode & 0777);
1429 if (r == 0 && mode == expected_mode)
1431 failure_start(file, line, "File %s has mode %o, expected %o",
1432 pathname, mode, expected_mod
1516 assertion_is_dir(const char *file, int line, const char *pathname, int mode) argument
1554 assertion_is_reg(const char *file, int line, const char *pathname, int mode) argument
1648 assertion_make_dir(const char *file, int line, const char *dirname, int mode) argument
1670 assertion_make_file(const char *file, int line, const char *path, int mode, int csize, const void *contents) argument
2486 archive_test_compare_acls(struct archive_entry *ae, struct archive_test_acl_t *acls, int cnt, int want_type, int mode) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dnetbsd_syscall_hooks.h61 #define __sanitizer_syscall_pre_open(path, flags, mode) \
63 (long long)(mode))
64 #define __sanitizer_syscall_post_open(res, path, flags, mode) \
66 (long long)(flags), (long long)(mode))
80 #define __sanitizer_syscall_pre_compat_43_ocreat(path, mode) \
82 (long long)(mode))
83 #define __sanitizer_syscall_post_compat_43_ocreat(res, path, mode) \
85 (long long)(mode))
103 #define __sanitizer_syscall_pre_compat_50_mknod(path, mode, dev) \
105 (long long)(path), (long long)(mode), (lon
[all...]
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_misc.c42 u_int mode; local
46 mode = ar5212GetWirelessModes(ah);
49 if (pCap->halHTSupport == AH_TRUE && (mode & HAL_MODE_11A))
50 mode |= HAL_MODE_11NA_HT20
54 if (pCap->halHTSupport == AH_TRUE && (mode & HAL_MODE_11G))
55 mode |= HAL_MODE_11NG_HT20
59 return mode;
83 * Set the blink operating mode.
88 /* XXX Blink slow mode? */
124 * timestamping packets in monitor mode
355 ar5416Set11nMac2040(struct ath_hal *ah, HAL_HT_MACMODE mode) argument
[all...]
/freebsd-11-stable/sys/mips/rmi/
H A Dboard.c246 blk0->mode = XLR_PORT0_RGMII;
318 blk0->mode = XLR_XAUI;
329 blk0->mode = XLR_PORT0_RGMII;
344 blk1->mode = XLR_XAUI;
455 blk0->mode = XLR_SGMII;
484 blk1->mode = XLR_SGMII;
527 blk0->mode = XLR_RGMII;
549 blk1->mode = XLR_XGMII;
569 blk2->mode = XLR_XGMII;
/freebsd-11-stable/usr.sbin/makefs/
H A Dwalk.c419 NODETEST(curnode->flags & F_MODE, "mode");
498 ASEPRINT("mode", "%#o",
596 * for a given inode type `mode', return a descriptive string.
600 inode_type(mode_t mode) argument
602 if (S_ISREG(mode))
604 if (S_ISLNK(mode))
606 if (S_ISDIR(mode))
608 if (S_ISLNK(mode))
610 if (S_ISFIFO(mode))
612 if (S_ISSOCK(mode))
[all...]
/freebsd-11-stable/sys/contrib/zlib/
H A Dgzwrite.c262 if (state->mode != GZ_WRITE || state->err != Z_OK)
292 if (state->mode != GZ_WRITE || state->err != Z_OK)
323 if (state->mode != GZ_WRITE || state->err != Z_OK)
369 if (state->mode != GZ_WRITE || state->err != Z_OK)
397 if (state->mode != GZ_WRITE || state->err != Z_OK)
491 if (state->mode != GZ_WRITE || state->err != Z_OK)
568 if (state->mode != GZ_WRITE || state->err != Z_OK)
603 if (state->mode != GZ_WRITE || state->err != Z_OK)
642 if (state->mode != GZ_WRITE)
/freebsd-11-stable/sys/dev/cxgbe/
H A Dt4_sched.c90 if (p->mode == SCHED_CLASS_MODE_CLASS)
92 else if (p->mode == SCHED_CLASS_MODE_FLOW) {
115 * Valid rate (mode, unit and values) must be provided.
190 tc->mode = fw_mode;
258 FW_SCHED_PARAMS_LEVEL_CL_RL, tc->mode, tc->rateunit,
443 tc->mode = FW_SCHED_PARAMS_MODE_CLASS;
447 tc->mode, tc->maxrate, tc->pktsize, 1) != 0)
510 tc->mode == FW_SCHED_PARAMS_MODE_FLOW &&
529 tc->mode = FW_SCHED_PARAMS_MODE_FLOW;
647 switch (tc.mode) {
[all...]
/freebsd-11-stable/usr.sbin/spi/
H A Dspi.c57 int mode; /* mode (0,1,2,3, -1 == use default) */ member in struct:spi_options
134 " spi [-f device] [-d r|w|rw] [-m mode] [-s max-speed] [-c count]\n"
141 " -m specifies the mode (0, 1, 2, or 3)\n"
154 "NOTE: setting the mode and/or speed is 'sticky'. Subsequent transactions\n"
176 opt.mode = -1;
221 opt.mode = (int)strtol(optarg, &pstr, 10);
223 if (!pstr || *pstr || opt.mode < 0 || opt.mode > 3) {
224 fprintf(stderr, "Invalid mode specifie
[all...]
/freebsd-11-stable/contrib/xz/src/xz/
H A Dfile_io.c369 mode_t mode; local
382 mode = ((pair->src_st.st_mode & 0070) >> 3)
384 mode = (pair->src_st.st_mode & 0700) | (mode << 3) | mode;
387 mode = pair->src_st.st_mode & 0777;
390 if (fchmod(pair->dest_fd, mode))
510 // Try to set stdin to non-blocking mode. It won't work
894 const mode_t mode = S_IRUSR | S_IWUSR; local
895 pair->dest_fd = open(pair->dest_name, flags, mode);
[all...]

Completed in 476 milliseconds

<<21222324252627282930>>