crypto/heimdal/lib/krb5/salt-des.c
145
unsigned char swap[] = { 0x0, 0x8, 0x4, 0xc, 0x2, 0xa, 0x6, 0xe,
crypto/heimdal/lib/krb5/salt-des.c
155
*--p ^= (swap[tmp & 0xf] << 4) | swap[(tmp & 0xf0) >> 4];
crypto/heimdal/lib/roken/qsort.c
131
swap(pl, pl - es);
crypto/heimdal/lib/roken/qsort.c
146
swap(a, pm);
crypto/heimdal/lib/roken/qsort.c
154
swap(pa, pb);
crypto/heimdal/lib/roken/qsort.c
162
swap(pc, pd);
crypto/heimdal/lib/roken/qsort.c
169
swap(pb, pc);
crypto/heimdal/lib/roken/qsort.c
179
swap(pl, pl - es);
crypto/krb5/src/lib/gssapi/krb5/gssapi_krb5.c
285
char *swap = NULL;
crypto/krb5/src/lib/gssapi/krb5/gssapi_krb5.c
298
swap = kg_ccache_name;
crypto/krb5/src/lib/gssapi/krb5/gssapi_krb5.c
300
new_name = swap;
crypto/libecc/src/nn/nn_div.c
1051
int ret, swap, iszero;
crypto/libecc/src/nn/nn_div.c
1118
swap = 0;
crypto/libecc/src/nn/nn_div.c
1137
swap = 1;
crypto/libecc/src/nn/nn_div.c
1154
swap = 0;
crypto/libecc/src/nn/nn_div.c
1161
if (swap) {
crypto/libecc/src/nn/nn_div.c
1172
(*sign) = swap ? -1 : 1;
crypto/libecc/src/nn/nn_modinv.c
130
swap = isodd & (cmp == -1);
crypto/libecc/src/nn/nn_modinv.c
132
ret = nn_cnd_swap(swap, &a, &b); EG(ret, err);
crypto/libecc/src/nn/nn_modinv.c
154
ret = nn_cnd_swap(swap, &u, uu); EG(ret, err);
crypto/libecc/src/nn/nn_modinv.c
51
int isodd, swap, smaller, ret, cmp, iszero, tmp_isodd;
crypto/openssh/openbsd-compat/getopt_long.c
157
char *swap;
crypto/openssh/openbsd-compat/getopt_long.c
175
swap = nargv[pos];
crypto/openssh/openbsd-compat/getopt_long.c
179
((char **)nargv)[cstart] = swap;
crypto/openssh/sntrup761.c
1843
int sign, swap, t, i, loop, delta = 1;
crypto/openssh/sntrup761.c
1856
swap = crypto_int16_negative_mask(-delta) & crypto_int16_nonzero_mask(g[0]);
crypto/openssh/sntrup761.c
1857
delta ^= swap & (delta ^ -delta);
crypto/openssh/sntrup761.c
1860
t = swap & (f[i] ^ g[i]);
crypto/openssh/sntrup761.c
1863
t = swap & (v[i] ^ r[i]);
crypto/openssh/sntrup761.c
1905
int swap, t, i, loop, delta = 1;
crypto/openssh/sntrup761.c
1918
swap = crypto_int16_negative_mask(-delta) & crypto_int16_nonzero_mask(g[0]);
crypto/openssh/sntrup761.c
1919
delta ^= swap & (delta ^ -delta);
crypto/openssh/sntrup761.c
1922
t = swap & (f[i] ^ g[i]);
crypto/openssh/sntrup761.c
1925
t = swap & (v[i] ^ r[i]);
crypto/openssl/crypto/ec/curve25519.c
215
unsigned swap = 0;
crypto/openssl/crypto/ec/curve25519.c
231
swap ^= b;
crypto/openssl/crypto/ec/curve25519.c
232
fe64_cswap(x2, x3, swap);
crypto/openssl/crypto/ec/curve25519.c
233
fe64_cswap(z2, z3, swap);
crypto/openssl/crypto/ec/curve25519.c
234
swap = b;
crypto/openssl/crypto/ec/curve25519.c
4530
unsigned swap = 0;
crypto/openssl/crypto/ec/curve25519.c
4545
swap ^= b;
crypto/openssl/crypto/ec/curve25519.c
4546
fe_cswap(x2, x3, swap);
crypto/openssl/crypto/ec/curve25519.c
4547
fe_cswap(z2, z3, swap);
crypto/openssl/crypto/ec/curve25519.c
4548
swap = b;
crypto/openssl/crypto/ec/curve25519.c
732
unsigned swap = 0;
crypto/openssl/crypto/ec/curve25519.c
755
swap ^= b;
crypto/openssl/crypto/ec/curve25519.c
756
fe51_cswap(x2, x3, swap);
crypto/openssl/crypto/ec/curve25519.c
757
fe51_cswap(z2, z3, swap);
crypto/openssl/crypto/ec/curve25519.c
758
swap = b;
crypto/openssl/crypto/ec/curve448/curve448.c
386
mask_t swap = 0;
crypto/openssl/crypto/ec/curve448/curve448.c
408
swap ^= k_t;
crypto/openssl/crypto/ec/curve448/curve448.c
409
gf_cond_swap(x2, x3, swap);
crypto/openssl/crypto/ec/curve448/curve448.c
410
gf_cond_swap(z2, z3, swap);
crypto/openssl/crypto/ec/curve448/curve448.c
411
swap = k_t;
crypto/openssl/crypto/ec/curve448/curve448.c
441
gf_cond_swap(x2, x3, swap);
crypto/openssl/crypto/ec/curve448/curve448.c
442
gf_cond_swap(z2, z3, swap);
crypto/openssl/crypto/ec/curve448/field.h
158
static ossl_inline void gf_cond_swap(gf x, gf_s *RESTRICT y, mask_t swap)
crypto/openssl/crypto/ec/curve448/field.h
164
constant_time_cond_swap_32(swap, &(x[0].limb[i]), &(y->limb[i]));
crypto/openssl/crypto/ec/curve448/field.h
167
constant_time_cond_swap_64(swap, &(x[0].limb[i]), &(y->limb[i]));
crypto/openssl/include/openssl/bn.h
358
void BN_consttime_swap(BN_ULONG swap, BIGNUM *a, BIGNUM *b, int nwords);
lib/libc/stdlib/getopt_long.c
151
char *swap;
lib/libc/stdlib/getopt_long.c
169
swap = nargv[pos];
lib/libc/stdlib/getopt_long.c
173
((char **)nargv)[cstart] = swap;
lib/libc/stdlib/merge.c
302
swap (f1, f1 + size);
lib/libc/stdlib/merge.c
327
swap(f1, f1 + size);
lib/libc/stdlib/merge.c
347
swap(u, t);
lib/libc/stdlib/radixsort.c
200
swap(*sp0, *sp1, temp); /* Play it safe -- biggest bin last. */
lib/libc/stdlib/radixsort.c
216
swap(*ak, r, t);
lib/libc/stdlib/radixsort.c
281
swap(*sp0, *sp1, temp);
lib/libc/stdlib/radixsort.c
305
swap(ai[0], ai[-1], s);
lib/libusb/libusb20.c
881
uint8_t swap;
lib/libusb/libusb20.c
917
swap = 3;
lib/libusb/libusb20.c
927
if (((c & 0xff00) == 0) && (swap & 1)) {
lib/libusb/libusb20.c
930
swap = 1;
lib/libusb/libusb20.c
931
} else if (((c & 0x00ff) == 0) && (swap & 2)) {
lib/libusb/libusb20.c
934
swap = 2;
sbin/hastd/nv.c
623
bool swap;
sbin/hastd/nv.c
638
swap = ((nvh->nvh_type & NV_ORDER_MASK) == NV_ORDER_NETWORK);
sbin/hastd/nv.c
650
printf("(int16): %jd", swap ?
sbin/hastd/nv.c
655
printf("(uint16): %ju", swap ?
sbin/hastd/nv.c
660
printf("(int32): %jd", swap ?
sbin/hastd/nv.c
665
printf("(uint32): %ju", swap ?
sbin/hastd/nv.c
670
printf("(int64): %jd", swap ?
sbin/hastd/nv.c
675
printf("(uint64): %ju", swap ?
sbin/hastd/nv.c
692
printf(" %jd", swap ?
sbin/hastd/nv.c
700
printf(" %ju", swap ?
sbin/hastd/nv.c
708
printf(" %jd", swap ?
sbin/hastd/nv.c
716
printf(" %ju", swap ?
sbin/hastd/nv.c
724
printf(" %ju", swap ?
sbin/hastd/nv.c
732
printf(" %ju", swap ?
sbin/natd/icmp.c
101
ip->ip_src = swap;
sbin/natd/icmp.c
46
struct in_addr swap;
sbin/natd/icmp.c
99
swap = ip->ip_dst;
sbin/routed/table.c
1819
struct rt_spare swap;
sbin/routed/table.c
1837
swap = rt->rt_spares[0];
sbin/routed/table.c
1840
if (swap.rts_metric == HOPCNT_INFINITY) {
sbin/routed/table.c
1843
*rts = swap;
stand/ficl/words.c
1115
swap(pVM);
stand/ficl/words.c
4984
dictAppendWord(dp, "swap", swap, FW_DEFAULT);
sys/arm/nvidia/drm2/tegra_dc.c
104
uint32_t swap; /* DC_WIN_BYTE_SWAP */
sys/arm/nvidia/drm2/tegra_dc.c
258
win->swap = sw;
sys/arm/nvidia/drm2/tegra_dc.c
365
win->bits_per_pixel, win->color_mode, win->swap);
sys/arm/nvidia/drm2/tegra_dc.c
453
WR4(sc, DC_WIN_BYTE_SWAP, win->swap);
sys/cam/cam_queue.c
340
swap(queue_array, parent, child);
sys/cam/cam_queue.c
367
swap(queue_array, child, parent);
sys/cam/scsi/scsi_ses.h
994
GEN_SES_STATUS_COMMON_ACCESSORS(swap, SWAP)
sys/compat/linuxkpi/common/include/linux/sort.h
36
#define sort(base, num, size, cmp, swap) do { \
sys/compat/linuxkpi/common/include/linux/sort.h
37
BUILD_BUG_ON(swap); \
sys/dev/aic7xxx/aic79xx.c
9982
int swap;
sys/dev/aic7xxx/aic79xx.c
9989
swap = cur_channel != channel;
sys/dev/aic7xxx/aic79xx.c
9992
if (swap)
sys/dev/aic7xxx/aic79xx.c
9998
if (swap)
sys/dev/aic7xxx/aic7xxx.c
7479
int swap;
sys/dev/aic7xxx/aic7xxx.c
7486
swap = cur_channel != channel;
sys/dev/aic7xxx/aic7xxx.c
7492
if (swap)
sys/dev/aic7xxx/aic7xxx.c
7498
if (swap)
sys/dev/bnxt/bnxt_re/ib_verbs.c
3363
wqe->atomic.swap_data = atomic_wr(wr)->swap;
sys/dev/drm2/ttm/ttm_bo.c
1259
INIT_LIST_HEAD(&bo->swap);
sys/dev/drm2/ttm/ttm_bo.c
173
list_add_tail(&bo->swap, &bo->glob->swap_lru);
sys/dev/drm2/ttm/ttm_bo.c
1812
list_for_each_entry(bo, &glob->swap_lru, swap) {
sys/dev/drm2/ttm/ttm_bo.c
183
if (!list_empty(&bo->swap)) {
sys/dev/drm2/ttm/ttm_bo.c
184
list_del_init(&bo->swap);
sys/dev/drm2/ttm/ttm_bo_api.h
228
struct list_head swap;
sys/dev/drm2/ttm/ttm_bo_util.c
417
INIT_LIST_HEAD(&fbo->swap);
sys/dev/drm2/ttm/ttm_bo_util.c
536
MPASS(list_empty(&bo->swap));
sys/dev/lge/if_lge.c
243
lge_read_eeprom(struct lge_softc *sc, caddr_t dest, int off, int cnt, int swap)
sys/dev/lge/if_lge.c
251
if (swap)
sys/dev/mlx4/mlx4_core/mlx4_profile.c
133
swap(profile[j], profile[j - 1]);
sys/dev/mlx4/mlx4_core/mlx4_qp.c
786
swap(sort[j], sort[j - 1]);
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2751
aseg->swap_add = cpu_to_be64(wr->swap);
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2766
aseg->swap_add = cpu_to_be64(wr->swap);
sys/dev/mthca/mthca_profile.c
139
swap(profile[j], profile[j - 1]);
sys/dev/mthca/mthca_qp.c
1581
aseg->swap_add = cpu_to_be64(wr->swap);
sys/dev/qat/qat_api/common/crypto/sym/qat/lac_sym_qat_cipher.c
1002
swap = pArc4CipherState[i];
sys/dev/qat/qat_api/common/crypto/sym/qat/lac_sym_qat_cipher.c
1004
pArc4CipherState[j] = swap;
sys/dev/qat/qat_api/common/crypto/sym/qat/lac_sym_qat_cipher.c
992
Cpa8U swap = 0;
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
4499
atomic_wr(wr)->swap);
sys/dev/rl/if_rl.c
339
rl_read_eeprom(struct rl_softc *sc, uint8_t *dest, int off, int cnt, int swap)
sys/dev/rl/if_rl.c
347
if (swap)
sys/dev/sis/if_sis.c
330
sis_read_eeprom(struct sis_softc *sc, caddr_t dest, int off, int cnt, int swap)
sys/dev/sis/if_sis.c
338
if (swap)
sys/dev/usb/usb_request.c
1117
uint8_t swap;
sys/dev/usb/usb_request.c
1159
swap = 3;
sys/dev/usb/usb_request.c
1166
if (((c & 0xff00) == 0) && (swap & 1)) {
sys/dev/usb/usb_request.c
1169
swap = 1;
sys/dev/usb/usb_request.c
1170
} else if (((c & 0x00ff) == 0) && (swap & 2)) {
sys/dev/usb/usb_request.c
1173
swap = 2;
sys/dev/vge/if_vge.c
283
vge_read_eeprom(struct vge_softc *sc, caddr_t dest, int off, int cnt, int swap)
sys/dev/vge/if_vge.c
292
if (swap)
sys/dev/xl/if_xl.c
549
xl_read_eeprom(struct xl_softc *sc, caddr_t dest, int off, int cnt, int swap)
sys/dev/xl/if_xl.c
581
if (swap)
sys/kern/subr_atomic64.c
103
ATOMIC64_EMU_BIN(swap, uint64_t, tmp = *p; *p = v; v = tmp, return(v));
sys/libkern/qsort.c
126
swap(pl, pl - es);
sys/libkern/qsort.c
142
swap(a, pm);
sys/libkern/qsort.c
149
swap(pa, pb);
sys/libkern/qsort.c
156
swap(pc, pd);
sys/libkern/qsort.c
163
swap(pb, pc);
sys/net80211/ieee80211_regdomain.c
211
swap(u, t, size);
sys/netpfil/ipfilter/netinet/ip_nat.c
4305
u_int swap;
sys/netpfil/ipfilter/netinet/ip_nat.c
4307
swap = hv0;
sys/netpfil/ipfilter/netinet/ip_nat.c
4309
hv1 = swap;
sys/netpfil/ipfilter/netinet/ip_nat.c
6914
u_short swap;
sys/netpfil/ipfilter/netinet/ip_nat.c
7064
swap = frnat.fin_data[0];
sys/netpfil/ipfilter/netinet/ip_nat.c
7066
frnat.fin_data[1] = swap;
sys/netpfil/ipfilter/netinet/ip_nat.c
7081
swap = frnat.fin_data[0];
sys/netpfil/ipfilter/netinet/ip_nat.c
7083
frnat.fin_data[1] = swap;
sys/netpfil/ipfilter/netinet/ip_nat6.c
3353
u_short swap;
sys/netpfil/ipfilter/netinet/ip_nat6.c
3505
swap = frnat.fin_data[0];
sys/netpfil/ipfilter/netinet/ip_nat6.c
3507
frnat.fin_data[1] = swap;
sys/netpfil/ipfilter/netinet/ip_nat6.c
3524
swap = frnat.fin_data[0];
sys/netpfil/ipfilter/netinet/ip_nat6.c
3526
frnat.fin_data[1] = swap;
sys/ofed/drivers/infiniband/core/ib_user_mad.c
1065
swap(props.set_port_cap_mask, props.clr_port_cap_mask);
sys/ofed/drivers/infiniband/core/ib_uverbs_cmd.c
2111
atomic->swap = user_wr->wr.atomic.swap;
sys/ofed/include/rdma/ib_verbs.h
1270
u64 swap;
sys/ofed/include/uapi/rdma/ib_user_verbs.h
816
__aligned_u64 swap;
sys/powerpc/fpu/fpu_emu.h
132
struct fpn *swap; \
sys/powerpc/fpu/fpu_emu.h
133
swap = (x), (x) = (y), (y) = swap; \
sys/sys/atomic_san.h
110
ATOMIC_SAN_READ(sp, swap, name, type); \
sys/vm/swap_pager.c
168
static SYSCTL_NODE(_vm_stats, OID_AUTO, swap, CTLFLAG_RD | CTLFLAG_MPSAFE, 0,
tools/test/stress2/include/stress.h
62
extern int64_t swap(void);
tools/test/stress2/testcases/swap/swap.c
58
swapinfo = swap();
tools/test/stress2/tools/swap.c
176
s = swap();
tools/tools/netmap/nmreplay.c
238
int swap; /* need to swap fields ? */
tools/tools/netmap/nmreplay.c
274
cvt(const void *src, int size, char swap)
tools/tools/netmap/nmreplay.c
282
if (swap) {
tools/tools/netmap/nmreplay.c
303
ret = cvt(pf->cur, size, pf->swap);
tools/tools/netmap/nmreplay.c
347
pf->swap = 0; /* default, same endianness when read magic */
tools/tools/netmap/nmreplay.c
353
pf->swap = 0;
tools/tools/netmap/nmreplay.c
357
pf->swap = 1;
tools/tools/netmap/nmreplay.c
361
pf->swap = 0;
tools/tools/netmap/nmreplay.c
365
pf->swap = 1;
tools/tools/netmap/nmreplay.c
373
ED("swap %d res %d\n", pf->swap, pf->resolution);
usr.bin/top/machine.c
1254
if (ps.swap) {
usr.bin/top/machine.c
492
if (ps.swap) {
usr.bin/top/machine.c
648
si->swap = swap_stats;
usr.bin/top/machine.h
51
int *swap;
usr.bin/top/machine.h
74
bool swap; /* show swap usage */
usr.bin/top/top.c
1127
ps.swap = !ps.swap;
usr.bin/top/top.c
1130
ps.swap ? "D" : "Not d");
usr.bin/top/top.c
285
ps.swap = false;
usr.bin/top/top.c
457
ps.swap = 1;
usr.bin/top/top.c
634
(*d_swap)(system_info.swap);