Searched defs:bitmap (Results 1 - 25 of 58) sorted by relevance

123

/illumos-gate/usr/src/cmd/cdrw/
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 */
/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/cmd/avs/dsw/
H A Diicpbmp.c140 (void) fprintf(stderr, gettext("Both old and new bitmap "
147 gettext("New bitmap name is too long.\n"));
154 gettext("Old bitmap not in existing cfg\n"));
171 (void) fprintf(stderr, gettext("Can't open old bitmap file\n"));
175 /* Check old header looks like an Point-in-Time Copy bitmap header */
178 (void) fprintf(stderr, gettext("Can't read old bitmap file\n"));
184 "bitmap.\n"), old_bitmap);
190 "%s has Point-in-Time Copy bitmap magic number,\n"
197 (void) fprintf(stderr, gettext("Can't open new bitmap file\n"));
209 gettext("Can't write new bitmap heade
244 find_bitmap_cfg(char *bitmap) argument
[all...]
/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/cmd/isns/isnsd/
H A Disns_scn.h99 uint32_t bitmap; member in struct:scn_registry
/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...]
H A Derrorq.c259 #include <sys/bitmap.h>
476 errorq_availbit(ulong_t *bitmap, size_t nbits, index_t curindex) argument
495 if (bx >= nextbitindex && !(bitmap[nextword] & bit))
501 * bitmap. Use bt_availbit() to find any free bits.
504 if ((rval = bt_availbit(&bitmap[nextword],
509 * from the beginning of the bitmap to the current rotor position.
511 return (bt_availbit(bitmap, nextindex));
/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/fm/topo/modules/i86pc/chip/
H A Dchip_label.c545 uint64_t bitmap = 0; local
564 if ((bitmap & (1 << chipid)) != 0) {
565 bitmap |= (1 << chipid);
/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/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/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/backup/dump/
H A Ddumptraverse.c623 bitmap(map, typ) function
/illumos-gate/usr/src/uts/common/io/
H A Dcpc.c465 static ulong_t *kcpc_cpumap; /* bitmap of cpus */
787 uint64_t bitmap = 0; local
812 if ((bitmap & (1 << n)) != 0)
814 bitmap |= (1 << n);
H A Dsysevent.c41 #include <sys/bitmap.h>
89 /* Increase bitmap by one BT_NBIPUL */
104 sysevent_minor_free(ulong_t *bitmap) argument
106 if (bitmap != &sysevent_bitmap_initial)
107 kmem_free(bitmap, BT_SIZEOFMAP(sysevent_minor_bits));
120 /* All busy - allocate additional binding handle bitmap space */
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dbitmap.c65 char *bitmap; local
70 bitmap = (char *)dp->cbd_reg_bitmap;
73 setbit(bitmap, rel);
75 rval = isset(bitmap, rel);
77 rval = isclr(bitmap, rel);
261 * check bitmap desc and relocate bitmap data
283 prom_printf("%s: too many bitmap descriptors %d, max %d\n",
289 * copy bitmap descriptors to aligned space, check magic numbers,
337 /* advance past all the bitmap dat
[all...]
/illumos-gate/usr/src/uts/sun4v/pcbe/
H A Dniagara_pcbe.c304 uint64_t bitmap = 0; local
308 bitmap = 0x1;
311 bitmap |= 0x2;
313 return (bitmap);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_replay.c83 uint32_t *bitmap; local
95 bitmap = &lrattr->lr_attr_bitmap;
96 for (i = 0; i != lrattr->lr_attr_masksize; i++, bitmap++)
97 xvap->xva_reqattrmap[i] = *bitmap;
252 /* swap the bitmap */
H A Dzfs_log.c104 * is the mapsize and attribute bitmap copied from the xvattr_t.
105 * Following the bitmap and bitmapsize two 64 bit words are reserved
113 uint32_t *bitmap; local
124 bitmap = &lrattr->lr_attr_bitmap;
125 for (i = 0; i != xvap->xva_mapsize; i++, bitmap++) {
126 *bitmap = xvap->xva_reqattrmap[i];
130 attrs = (uint64_t *)bitmap;
/illumos-gate/usr/src/cmd/avs/rdc/
H A Dsndrsyncd.c787 char bitmap[NSC_MAXPATH]; local
830 (void) snprintf(key, sizeof (key), "ndr_ii.set%d.bitmap",
834 (void) strncpy(bitmap, buf, NSC_MAXPATH);
934 ctag, master, shadow, bitmap);
938 shadow, bitmap);
947 master, shadow, bitmap);
1518 (void) snprintf(key, sizeof (key), "ndr_ii.set%d.bitmap",
/illumos-gate/usr/src/uts/common/dtrace/
H A Ddcpc.c124 * Called from the platform overflow interrupt handler. 'bitmap' is a mask
128 dcpc_fire(uint64_t bitmap) argument
135 if ((bitmap & dcpc_ovf_mask) == 0) {
166 (bitmap & (1ULL << dcpc_actv_reqs[i]->dcpc_picno))) {
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_pcu.c55 struct bitmap { struct
75 static int add_bitmap_entry(struct bitmap *bmp, _sd_bitmap_t bits, int any_fail,
77 static int flush_bitmap_list(struct bitmap *bmp, dev_t dev, nsc_off_t *blkno);
79 nsc_off_t *blkno, int failed, struct bitmap *bmaps);
265 * array of bitmap entries.
270 start_bitmap_list(struct bitmap *bmp, int bpb)
285 * add_bitmap_entry - Add a bitmap entry to the chain of bitmap
293 * bits - the bitmap entry to add.
295 * bitmap entr
[all...]
/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;

Completed in 99 milliseconds

123