Searched refs:bitmap (Results 1 - 25 of 212) sorted by relevance

123456789

/illumos-gate/usr/src/uts/common/sys/
H A Dbitmap.h45 #include <asm/bitmap.h>
50 * A bitmap is a vector of 1 or more ulong_t's.
74 * bitmap is a ulong_t *, bitindex an index_t
83 #define BT_WIM(bitmap, bitindex) \
84 ((bitmap)[(bitindex) >> BT_ULSHIFT])
92 #define BT_WIM32(bitmap, bitindex) \
93 ((bitmap)[(bitindex) >> BT_ULSHIFT32])
108 #define BT_TEST(bitmap, bitindex) \
109 ((BT_WIM((bitmap), (bitindex)) & BT_BIW(bitindex)) ? 1 : 0)
110 #define BT_SET(bitmap, bitinde
[all...]
H A Dbitset.h33 #include <sys/bitmap.h>
/illumos-gate/usr/src/cmd/cdrw/
H A Doptions.c55 msk->bitmap[loc >> 3] |= bitlocation[loc & 7];
70 if (msk->bitmap[i] == specified->bitmap[i])
72 bmap = msk->bitmap[i] | specified->bitmap[i];
73 bmap ^= msk->bitmap[i];
H A Doptions.h39 uchar_t bitmap[16]; member in struct:option_mask
/illumos-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdc_update.h37 uchar_t *bitmap; /* set of changes to be made */ member in struct:rdc_update_s
38 int size; /* size of bitmap in bytes */
H A Drdc_bitmap.c61 * RDC bitmap functions.
82 struct rdc_bitmap_ops *rdc_bitmap_ops; /* the bitmap ops switch */
216 (void) strncpy(header->primary.bitmap, urdc->primary.bitmap,
220 (void) strncpy(header->secondary.bitmap, urdc->secondary.bitmap,
966 * Write a bitmap full of 1's out to disk without touching the
967 * in-memory bitmap.
990 * bitmap size in bytes, vol_size fba's
1058 /* Can't open new bitmap */
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_thread.c52 thread->sign.bitmap = 0;
85 if (!(thread->sign.bitmap & ISCSI_THREAD_SIGNAL_KILL)) {
86 thread->sign.bitmap |= ISCSI_THREAD_SIGNAL_KILL;
136 if (!(thread->sign.bitmap & ISCSI_THREAD_SIGNAL_KILL)) {
137 thread->sign.bitmap |= ISCSI_THREAD_SIGNAL_KILL;
147 thread->sign.bitmap = 0;
191 if (!(thread->sign.bitmap & ISCSI_THREAD_SIGNAL_KILL)) {
192 thread->sign.bitmap |= ISCSI_THREAD_SIGNAL_KILL;
231 if (!(thread->sign.bitmap & ISCSI_THREAD_SIGNAL_KILL)) {
232 thread->sign.bitmap |
288 uint32_t bitmap; local
[all...]
H A Discsi_thread.h66 uint32_t bitmap; member in struct:_iscsi_thread::__anon6513
/illumos-gate/usr/src/uts/common/os/
H A Dbitmap.c35 * A bitmap is a vector of 1 or more ulongs.
41 #include <sys/bitmap.h>
45 * Return index of first available bit in denoted bitmap, or -1 for
46 * failure. Size is the cardinality of the bitmap; that is, the
48 * No side-effects. In particular, does not update bitmap.
52 bt_availbit(ulong_t *bitmap, size_t nbits) argument
65 if (bitmap[wx] != ~0)
78 word = bitmap[wx];
110 * Search the bitmap for a consecutive pattern of 1's.
118 bt_range(ulong_t *bitmap, size_ argument
[all...]
/illumos-gate/usr/src/cmd/avs/dsbitmap/
H A Ddsbitmap.c66 "bitmap\n"));
68 "bitmap\n"));
201 do_sndr(char *volume, char *bitmap) argument
206 uint64_t bsize_simple; /* size of the simple bitmap */
207 uint64_t bsize_diskq; /* size of the diskq bitmap, 8 bit refcnt */
208 uint64_t bsize_diskq32; /* size of the diskq bitmap, 32 bit refcnt */
212 if (bitmap) {
213 bblocks = get_partsize(bitmap);
224 (void) printf(gettext("Remote Mirror bitmap sizing\n\n"));
228 (void) printf(gettext("Required bitmap volum
276 do_ii(char *volume, char *bitmap) argument
350 char *volume, *bitmap; local
[all...]
/illumos-gate/usr/src/cmd/sendmail/db/lock/
H A Dlock_deadlock.c69 u_int32_t *bitmap, *deadlock, i, killid, nentries, nlockers; local
91 /* Build the waits-for bitmap. */
92 if ((ret = __dd_build(dbenv, &bitmap, &nlockers, &idmap)) != 0)
99 __dd_debug(dbenv, idmap, bitmap, nlockers);
102 deadlock = __dd_find(bitmap, idmap, nlockers);
139 killid = (deadlock - bitmap) / nentries;
181 __os_free(bitmap, 0);
202 u_int32_t *bitmap, count, *entryp, i, id, nentries, *tmpmap; local
229 * Allocate enough space for a count by count bitmap matrix.
236 sizeof(u_int32_t) * nentries, &bitmap)) !
[all...]
/illumos-gate/usr/src/uts/intel/asm/
H A DMakefile33 bitmap.h \
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_txc.c152 uint64_t bitmap; local
173 /* Read in the old bitmap. */
175 &bitmap);
177 if (bitmap & (1 << channel)) {
183 bitmap |= (1 << channel);
185 "==> nxge_txc_tdc_bind(): bitmap = %lx", bitmap));
187 /* Write out the new bitmap. */
189 (uint32_t)bitmap)) != NPI_SUCCESS) {
254 uint64_t bitmap; local
303 uint32_t bitmap = 0; local
[all...]
/illumos-gate/usr/src/lib/brand/solaris10/s10_support/
H A Ds10_support.c327 * Determine which features/behaviors should be emulated and construct a bitmap
328 * representing the results. Associate the bitmap with the zone so that
329 * the brand's emulation library will be able to retrieve the bitmap and
341 s10_emul_bitmap_t bitmap; local
349 * most basic emulation and, therefore, doesn't need a bitmap.
359 bzero(bitmap, sizeof (bitmap));
394 * Set the feature's flag in the bitmap.
396 bitmap[(bit_index >> 3)] |= (1 << (bit_index & 0x7));
450 * the emulation bitmap
[all...]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmp_call.c36 #include <sys/bitmap.h>
/illumos-gate/usr/src/common/iscsi/
H A Dutils.c100 prt_bitmap(int bitmap, char *str, char *buf, int size) argument
107 * The maximum space required will if the bitmap was all 1's which
123 do_put = ((1 << *p) & bitmap);
124 bitmap &= ~(1 << *p);
/illumos-gate/usr/src/uts/common/xen/public/
H A Dphysdev.h93 * Set the current VCPU's I/O-port permissions bitmap.
100 XEN_GUEST_HANDLE(uint8) bitmap; member in struct:physdev_set_iobitmap
102 uint8_t *bitmap;
/illumos-gate/usr/src/uts/sun4u/pcbe/
H A Dopl_pcbe.c631 uint64_t bitmap = 0; local
637 bitmap |= (1 << i);
640 return (bitmap);
719 uint8_t bitmap = 0; /* for used pic config */ local
730 bitmap |= (uint8_t)(1 << tmp->opl_picno);
733 if (bitmap == 0)
738 if (bitmap & (1 << i))
818 uint8_t bitmap = 0; /* for used pic config */ local
831 bitmap |= (uint8_t)(1 << ctmp->opl_picno);
834 if (bitmap
[all...]
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Disns_scn.h99 uint32_t bitmap; member in struct:scn_registry
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dzfs_context.h43 #include <sys/bitmap.h>
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A DMakefile45 CPRBOOTOBJ = cb_srt0.o cprboot.o machdep.o pages.o bitmap.o util.o
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dmachthread.h35 #include <sys/bitmap.h>
/illumos-gate/usr/src/uts/sun4/ml/
H A Dxc.s46 #include <sys/bitmap.h>
/illumos-gate/usr/src/uts/sparc/os/
H A Dbitmap_arch.c32 * Architecture specific definition for bitmap related routines.
35 #include <sys/bitmap.h>
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_admin.c331 _nscd_cfg_bitmap_set_nth(cfg->gi.bitmap, 0);
346 _nscd_cfg_bitmap_set_nth(cfg->gi.bitmap, 3);
361 _nscd_cfg_bitmap_set_nth(cfg->gi.bitmap, 5);
368 _nscd_cfg_bitmap_set_nth(cfg->gi.bitmap, 6);
375 _nscd_cfg_bitmap_set_nth(cfg->gi.bitmap, 7);

Completed in 109 milliseconds

123456789