/illumos-gate/usr/src/cmd/tic/ |
H A D | tic_read.c | 100 #define swap(x) (((x >> 8) & 0377) + 256 * (x & 0377)) macro 153 header.magic = swap(header.magic); 154 header.name_size = swap(header.name_size); 155 header.bool_count = swap(header.bool_count); 156 header.num_count = swap(header.num_count); 157 header.str_count = swap(header.str_count); 158 header.str_size = swap(header.str_size);
|
H A D | tic_parse.c | 663 #define swap(x) (((x >> 8) & 0377) + 256 * (x & 0377)) macro 665 #define might_swap(x) (must_swap() ? swap(x) : (x)) 691 header.magic = swap(MAGIC); 692 header.name_size = swap(namelen); 693 header.bool_count = swap(BoolCount); 694 header.num_count = swap(NumCount); 695 header.str_count = swap(StrCount); 696 header.str_size = swap(l_next_free); 721 Numbers[i] = swap(Numbers[i]); 723 Strings[i] = swap(String [all...] |
/illumos-gate/usr/src/lib/libxcurses/src/tic/ |
H A D | tic.h | 64 #define swap(x) (((x >> 8) & 0377) + 256 * (x & 0377)) macro
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | gssapi_krb5.c | 273 char *swap = NULL; local 287 swap = kg_ccache_name; 289 new_name = swap;
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | invlib.h | 70 int swap; /* file endian mistmatch? */ member in struct:__anon4455
|
/illumos-gate/usr/src/uts/common/io/1394/adapters/ |
H A D | hci1394_s1394if.c | 79 uint_t offset, uint32_t compare, uint32_t swap, uint32_t *old); 1150 uint32_t compare, uint32_t swap, uint32_t *old) 1211 OHCI_CSR_SEL_BUS_MGR_ID, compare, swap, old); 1216 OHCI_CSR_SEL_BANDWIDTH_AVAIL, compare, swap, old); 1221 OHCI_CSR_SEL_CHANS_AVAIL_HI, compare, swap, old); 1226 OHCI_CSR_SEL_CHANS_AVAIL_LO, compare, swap, old); 1149 hci1394_s1394if_csr_cswap32(void *hal_private, uint_t generation, uint_t offset, uint32_t compare, uint32_t swap, uint32_t *old) argument
|
H A D | hci1394_ohci.c | 47 * Data swap macros used to swap config rom data that is going to be placed 53 * registers. On an x86 machine, this means we have to byte swap them first. 332 * the determination if we should swap data is made during the PCI 337 * most hba's don't swap data. It will be swapped in the 338 * global swap for SPARC. Enable Link Power(LPS). Enable 1801 * swap value. 1823 * Perform a compare/swap on one of the HW implemented CSR registers. These 1831 uint_t offset, uint32_t compare, uint32_t swap, uint32_t *old) 1858 &ohci_hdl->ohci_regs->csr_data, swap); 1830 hci1394_ohci_csr_cswap(hci1394_ohci_handle_t ohci_hdl, uint_t generation, uint_t offset, uint32_t compare, uint32_t swap, uint32_t *old) argument [all...] |
/illumos-gate/usr/src/lib/librsm/common/ |
H A D | rsmloopback.c | 64 boolean_t swap) 72 swap = swap; 107 boolean_t swap) 116 swap = swap; 151 boolean_t swap) 160 swap = swap; 195 boolean_t swap) 61 loopback_get8(rsm_memseg_import_handle_t im_memseg, off_t off, uint8_t *datap, ulong_t rep_cnt, boolean_t swap) argument 104 loopback_get16(rsm_memseg_import_handle_t im_memseg, off_t off, uint16_t *datap, ulong_t rep_cnt, boolean_t swap) argument 148 loopback_get32(rsm_memseg_import_handle_t im_memseg, off_t off, uint32_t *datap, ulong_t rep_cnt, boolean_t swap) argument 192 loopback_get64(rsm_memseg_import_handle_t im_memseg, off_t off, uint64_t *datap, ulong_t rep_cnt, boolean_t swap) argument 236 loopback_put8(rsm_memseg_import_handle_t im_memseg, off_t off, uint8_t *datap, ulong_t rep_cnt, boolean_t swap) argument 279 loopback_put16(rsm_memseg_import_handle_t im_memseg, off_t off, uint16_t *datap, ulong_t rep_cnt, boolean_t swap) argument 323 loopback_put32(rsm_memseg_import_handle_t im_memseg, off_t off, uint32_t *datap, ulong_t rep_cnt, boolean_t swap) argument 367 loopback_put64(rsm_memseg_import_handle_t im_memseg, off_t off, uint64_t *datap, ulong_t rep_cnt, boolean_t swap) argument [all...] |
H A D | rsmgen.c | 107 boolean_t swap) 115 swap = swap; 150 boolean_t swap) 159 swap = swap; 194 boolean_t swap) 203 swap = swap; 238 boolean_t swap) 104 __rsm_get8x8(rsm_memseg_import_handle_t im_memseg, off_t off, uint8_t *datap, ulong_t rep_cnt, boolean_t swap) argument 147 __rsm_get16x16(rsm_memseg_import_handle_t im_memseg, off_t off, uint16_t *datap, ulong_t rep_cnt, boolean_t swap) argument 191 __rsm_get32x32(rsm_memseg_import_handle_t im_memseg, off_t off, uint32_t *datap, ulong_t rep_cnt, boolean_t swap) argument 235 __rsm_get64x64(rsm_memseg_import_handle_t im_memseg, off_t off, uint64_t *datap, ulong_t rep_cnt, boolean_t swap) argument 294 __rsm_put8x8(rsm_memseg_import_handle_t im_memseg, off_t off, uint8_t *datap, ulong_t rep_cnt, boolean_t swap) argument 337 __rsm_put16x16(rsm_memseg_import_handle_t im_memseg, off_t off, uint16_t *datap, ulong_t rep_cnt, boolean_t swap) argument 381 __rsm_put32x32(rsm_memseg_import_handle_t im_memseg, off_t off, uint32_t *datap, ulong_t rep_cnt, boolean_t swap) argument 425 __rsm_put64x64(rsm_memseg_import_handle_t im_memseg, off_t off, uint64_t *datap, ulong_t rep_cnt, boolean_t swap) argument [all...] |
/illumos-gate/usr/src/lib/libkvm/common/ |
H A D | test.c | 69 char *swap; variable 109 fprintf(stderr, "usage: %s [-w] [name] [core] [swap]\n", 126 swap = argv[optind++]; 127 if (*swap == '\0') 128 swap = NULL; 130 swap = NULL; 132 tst_open(name, core, swap, (wflag ? O_RDWR : O_RDONLY));
|
/illumos-gate/usr/src/uts/common/io/1394/ |
H A D | s1394_isoch.c | 319 uint32_t swap; local 359 /* Send compare-swap to CHANNELS_AVAILABLE */ 377 swap = old_value & (~channel_mask); 381 offset, compare, swap, &old_value); 525 uint32_t swap; local 565 /* Send compare-swap to CHANNELS_AVAILABLE */ 583 swap = old_value | channel_mask; 587 offset, compare, swap, &old_value); 709 uint32_t swap; local 741 /* Send compare-swap t 931 uint32_t swap; local [all...] |
H A D | s1394_csr.c | 1166 uint32_t swap; local 1214 swap = req->cmd_u.l32.data_value; 1225 offset, compare, swap, &old);
|
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | findlib.h | 65 int swap; member in struct:__anon2637
|
H A D | magic.c | 43 #include <swap.h> 96 char swap; /* forced swap order */ member in struct:Entry 174 int swap; /* swap() operation */ \ 346 n = swapget(mp->swap, p, 2); 354 n = swapget(mp->swap, p, 8); 362 n = swapget(mp->swap, p, 4); 491 mp->swap = 0; 521 mp->swap [all...] |
/illumos-gate/usr/src/boot/sys/boot/arm/at91/libat91/ |
H A D | sd-card.c | 105 swap(unsigned int v) function 236 // Fix erratum in MCI part - endian-swap all data. 239 *walker = swap(*walker);
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getopt_long.c | 188 char *swap; local 206 swap = nargv[pos]; 208 ((char **)nargv)[cstart] = swap;
|
/illumos-gate/usr/src/cmd/file/ |
H A D | file.c | 1624 print_dumphdr(const int fd, const dumphdr_t *dhp, uint32_t (*swap)(uint32_t), argument 1633 if (swap(dhp->dump_version) > 8 && pread(fd, &dh, sizeof (dumphdr_t), 1635 const char *c = swap(dh.dump_flags) & DF_COMPRESSED ? 1637 const char *l = swap(dh.dump_flags) & DF_LIVE ? 1643 dh.dump_utsname.version, swap(dh.dump_wordsize), isa, 1647 swap(dhp->dump_wordsize), isa);
|
/illumos-gate/usr/src/cmd/sort/common/ |
H A D | utility.c | 97 swap(void **a, void **b) function
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | thread.c | 728 caddr_t swap = t->t_swap; local 801 if (swap) { 802 segkp_release(segkp, swap);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | sysinfo.h | 141 int swap; /* XXX: UNUSED */ member in struct:cpu_syswait 181 uint64_t swap_resv; /* (1 sec) += reserved swap in pages */ 182 uint64_t swap_alloc; /* (1 sec) += allocated swap in pages */ 183 uint64_t swap_avail; /* (1 sec) += unreserved swap in pages */ 184 uint64_t swap_free; /* (1 sec) += unallocated swap in pages */
|
/illumos-gate/usr/src/uts/intel/pcbe/ |
H A D | p123_pcbe.c | 965 ptm_pcbe_config_t *swap; local 983 swap = pic0; 985 pic1 = swap;
|
/illumos-gate/usr/src/common/ficl/ |
H A D | vm.c | 622 ficlCell swap; local 624 swap = dataTop[0]; 626 dataTop[-1] = swap; 725 * Do stack 2swap 726 * 2swap ( 1 2 3 4 -- 3 4 1 2 ) 1732 * Do float stack swap. 1858 * Do float stack 2swap
|
/illumos-gate/usr/src/lib/efcode/include/fcode/ |
H A D | proto.h | 93 FNPROTO(swap); variable
|
/illumos-gate/usr/src/cmd/ptools/pmap/ |
H A D | pmap.c | 224 case 'S': /* show swap reservations */ 278 "\t\t(show swap reservations)\n\n"); 997 ulong_t swap = 0; local 1001 * Calculate swap reservations 1006 swap = pmp->pr_size / pmp->pr_pagesize; 1010 swap = pmp->pr_anon; 1013 swap = pmp->pr_size / pmp->pr_pagesize; 1041 t->total_swap += swap * kperpage; 1058 prev_swap = swap * kperpage; 1074 prev_swap += swap * kperpag [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | table.c | 2435 struct rt_spare swap; local 2451 swap = rt->rt_spares[0]; 2456 if (swap.rts_metric == HOPCNT_INFINITY) { 2459 *rts = swap;
|