/freebsd-13-stable/contrib/gdtoa/ |
H A D | g_ffmt.c | 44 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 D | g_xLfmt.c | 60 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 D | g_xfmt.c | 65 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 D | cvmx-thunder.h | 90 * 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 D | ata-acard.c | 59 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 D | ata-amd.c | 58 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 D | gzclose.c | 21 return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
|
/freebsd-13-stable/sys/contrib/zstd/zlibWrapper/ |
H A D | gzclose.c | 24 return state.state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
|
/freebsd-13-stable/contrib/openbsm/compat/ |
H A D | flopen.h | 42 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 D | 02.t | 21 expect 0620 stat ${nx} mode 28 expect 0620 stat ${nx} mode
|
H A D | 03.t | 23 expect 0642 stat ${nx} mode 30 expect 0642 stat ${nx} mode
|
/freebsd-13-stable/contrib/ntp/sntp/libopts/compat/ |
H A D | windows-config.h | 107 # 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 D | i8253.h | 29 unsigned int mode : 3; member in struct:__anon5246::__anon5247
|
/freebsd-13-stable/contrib/ntp/lib/isc/unix/ |
H A D | fsaccess.c | 38 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 D | sigact.c | 67 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 D | libfifolog_int.h | 44 const char *fifolog_int_open(struct fifolog_file **ff, const char *fname, int mode);
|
/freebsd-13-stable/usr.sbin/ppp/ |
H A D | async.h | 34 int mode; member in struct:async
|
/freebsd-13-stable/tests/sys/cddl/zfs/tests/acl/trivial/ |
H A D | zfs_acl_chmod_001_pos.ksh | 102 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 D | hw_features_common.c | 19 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 D | des_crypt.c | 72 * 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 D | mkdir.c | 69 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 D | ar5212_power.c | 51 * 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 D | file.c | 99 * @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 D | t_umask.c | 67 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 D | common_kvm.c | 146 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...] |