Searched refs:mode (Results 126 - 150 of 2146) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/gdtoa/
H A Dg_ffmt.c44 int decpt, ex, i, mode; local
84 mode = 2;
88 mode = 0;
91 s = gdtoa(fpi, ex, bits, &i, mode, ndig, &decpt, &se);
H A Dg_xLfmt.c60 int decpt, ex, i, mode; local
105 mode = 2;
109 mode = 0;
111 s = gdtoa(fpi, ex, bits, &i, mode, ndig, &decpt, &se);
H A Dg_xfmt.c65 int decpt, ex, i, mode; local
111 mode = 2;
115 mode = 0;
117 s = gdtoa(fpi, ex, bits, &i, mode, ndig, &decpt, &se);
/freebsd-13-stable/sys/contrib/octeon-sdk/
H A Dcvmx-thunder.h90 * Set LAN bypass mode.
98 * When transitioning to this mode, default is LAN bypass enabled
107 * @param mode LAN bypass mode
111 int cvmx_lan_bypass_mode_set(cvmx_lan_bypass_mode_t mode);
/freebsd-13-stable/sys/dev/ata/chipsets/
H A Data-acard.c59 static int ata_acard_850_setmode(device_t dev, int target, int mode);
60 static int ata_acard_86X_setmode(device_t dev, int target, int mode);
152 ata_acard_850_setmode(device_t dev, int target, int mode) argument
159 mode = min(mode, ctlr->chip->max_dma);
161 if (mode >= ATA_WDMA2) {
165 if (mode >= ATA_UDMA0)
166 reg54 |= (((mode & ATA_MODE_MASK) + 1) << (devno << 1));
171 /* we could set PIO mode timings, but we assume the BIOS did that */
172 return (mode);
176 ata_acard_86X_setmode(device_t dev, int target, int mode) argument
[all...]
H A Data-amd.c58 static int ata_amd_setmode(device_t dev, int target, int mode);
110 ata_amd_setmode(device_t dev, int target, int mode) argument
123 mode = min(mode, ctlr->chip->max_dma);
125 if (ata_dma_check_80pin && mode > ATA_UDMA2 &&
128 mode = ATA_UDMA2;
132 if (mode >= ATA_UDMA0) {
133 pci_write_config(parent, reg, modes[mode & ATA_MODE_MASK], 1);
137 piomode = mode;
141 return (mode);
[all...]
/freebsd-13-stable/sys/contrib/zlib/
H A Dgzclose.c21 return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
/freebsd-13-stable/sys/contrib/zstd/zlibWrapper/
H A Dgzclose.c24 return state.state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
/freebsd-13-stable/contrib/openbsm/compat/
H A Dflopen.h42 mode_t mode; local
48 mode = 0;
53 mode = (mode_t)va_arg(ap, int); /* mode_t promoted to int */
65 if ((fd = open(path, flags, mode)) == -1)
/freebsd-13-stable/contrib/pjdfstest/tests/chmod/
H A D02.t21 expect 0620 stat ${nx} mode
28 expect 0620 stat ${nx} mode
H A D03.t23 expect 0642 stat ${nx} mode
30 expect 0642 stat ${nx} mode
/freebsd-13-stable/contrib/ntp/sntp/libopts/compat/
H A Dwindows-config.h107 # define S_ISREG(mode) (((mode) & S_IFREG) == S_IFREG)
112 # define S_ISDIR(mode) (((mode) & S_IFDIR) == S_IFDIR)
/freebsd-13-stable/contrib/ntp/kernel/sys/
H A Di8253.h29 unsigned int mode : 3; member in struct:__anon5246::__anon5247
/freebsd-13-stable/contrib/ntp/lib/isc/unix/
H A Dfsaccess.c38 mode_t mode; local
58 mode = 0;
62 mode |= modebit; \
89 if (chmod(path, mode) < 0)
/freebsd-13-stable/crypto/openssh/openbsd-compat/
H A Dsigact.c67 sigprocmask (int mode, sigset_t *mask, sigset_t *omask) argument
79 if (mode == SIG_BLOCK)
81 else if (mode == SIG_UNBLOCK)
83 else if (mode == SIG_SETMASK)
/freebsd-13-stable/usr.sbin/fifolog/lib/
H A Dlibfifolog_int.h44 const char *fifolog_int_open(struct fifolog_file **ff, const char *fname, int mode);
/freebsd-13-stable/usr.sbin/ppp/
H A Dasync.h34 int mode; member in struct:async
/freebsd-13-stable/tests/sys/cddl/zfs/tests/acl/trivial/
H A Dzfs_acl_chmod_001_pos.ksh102 typeset mode
103 mode=$(get_mode ${node})
105 if [[ $mode != "-${argv[((i + 2))]}"* && \
106 $mode != "d${argv[((i + 2))]}"* ]]
/freebsd-13-stable/contrib/wpa/src/common/
H A Dhw_features_common.c19 struct hostapd_channel_data * hw_get_channel_chan(struct hostapd_hw_modes *mode, argument
27 if (!mode)
30 for (i = 0; i < mode->num_channels; i++) {
31 struct hostapd_channel_data *ch = &mode->channels[i];
43 struct hostapd_channel_data * hw_get_channel_freq(struct hostapd_hw_modes *mode, argument
51 if (!mode)
54 for (i = 0; i < mode->num_channels; i++) {
55 struct hostapd_channel_data *ch = &mode->channels[i];
67 int hw_get_freq(struct hostapd_hw_modes *mode, int chan) argument
71 hw_get_channel_chan(mode, cha
77 hw_get_chan(struct hostapd_hw_modes *mode, int freq) argument
87 allowed_ht40_channel_pair(struct hostapd_hw_modes *mode, int pri_chan, int sec_chan) argument
179 check_40mhz_5g(struct hostapd_hw_modes *mode, struct wpa_scan_results *scan_res, int pri_chan, int sec_chan) argument
276 check_40mhz_2g4(struct hostapd_hw_modes *mode, struct wpa_scan_results *scan_res, int pri_chan, int sec_chan) argument
361 hostapd_set_freq_params(struct hostapd_freq_params *data, 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, u32 vht_caps, struct he_capabilities *he_cap) argument
[all...]
/freebsd-13-stable/lib/libc/rpc/
H A Ddes_crypt.c72 * CBC mode encryption
75 cbc_crypt(char *key, char *buf, unsigned len, unsigned mode, char *ivec) argument
87 err = common_crypt(key, buf, len, mode, &dp);
94 * ECB mode encryption
97 ecb_crypt(char *key, char *buf, unsigned len, unsigned mode) argument
107 return(common_crypt(key, buf, len, mode, &dp));
116 common_crypt(char *key, char *buf, unsigned len, unsigned mode, argument
125 ((mode & DES_DIRMASK) == DES_ENCRYPT) ? ENCRYPT : DECRYPT;
127 desdev = mode & DES_DEVMASK;
/freebsd-13-stable/bin/mkdir/
H A Dmkdir.c69 char *mode; local
72 mode = NULL;
76 mode = optarg;
94 if (mode == NULL) {
97 if ((set = setmode(mode)) == NULL)
98 errx(1, "invalid file mode: %s", mode);
121 * nine bits, so if you try to set a mode including the
123 * this unless the user has specifically requested a mode,
127 if (success == 1 && mode !
[all...]
/freebsd-13-stable/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_power.c51 * Be careful setting the AWAKE mode. When we are called
106 * fames. If request, set power mode of chip to
118 * Set power mgt to the requested mode, and conditionally set
122 ar5212SetPowerMode(struct ath_hal *ah, HAL_POWER_MODE mode, int setChip) argument
135 modes[ah->ah_powerMode], modes[mode],
137 switch (mode) {
140 ah->ah_powerMode = mode;
146 ah->ah_powerMode = mode;
151 ah->ah_powerMode = mode;
154 HALDEBUG(ah, HAL_DEBUG_ANY, "%s: unknown power mode
[all...]
/freebsd-13-stable/contrib/ntp/sntp/libopts/
H A Dfile.c99 * @param mode the open mode (uses int flags value)
102 open_file_fd(tOptions * pOpts, tOptDesc * pOD, tuFileMode mode) argument
104 int fd = open(pOD->optArg.argString, mode.file_flags);
123 * @param mode the open mode (uses "char *" mode value)
126 fopen_file_fp(tOptions * pOpts, tOptDesc * pOD, tuFileMode mode) argument
128 FILE * fp = fopen(pOD->optArg.argString, mode.file_mode);
149 * arg: + tuFileMode + mode
159 optionFileCheck(tOptions * pOpts, tOptDesc * pOD, teOptFileType ftype, tuFileMode mode) argument
[all...]
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_umask.c67 mode_t mode; local
83 mode = umask(mask[i]);
85 if (mode != (mask[i] | mask[i + 1]))
173 mode_t mode; local
178 mode = umask(mask[i]);
179 mode = umask(mask[i]);
181 if (mode != mask[i])
/freebsd-13-stable/lib/libprocstat/
H A Dcommon_kvm.c146 mode_t mode; local
157 mode = (mode_t)nfsnode.n_vattr.va_mode;
160 mode |= S_IFREG;
163 mode |= S_IFDIR;
166 mode |= S_IFBLK;
169 mode |= S_IFCHR;
172 mode |= S_IFLNK;
175 mode |= S_IFSOCK;
178 mode |= S_IFIFO;
183 vn->vn_mode = mode;
[all...]

Completed in 320 milliseconds

1234567891011>>