Searched defs:block (Results 101 - 125 of 128) sorted by relevance

123456

/illumos-gate/usr/src/tools/cw/
H A Dcw.c1752 exec_ctx(cw_ictx_t *ctx, int block) argument
1801 if (block)
/illumos-gate/usr/src/uts/common/io/atu/
H A Datu.c921 int block_size, bytes_left = 0, block = 0, err, i, count = 0; local
948 while (block >= 0 && state > 0) {
970 err = atu_usb_request(sc, DFU_DNLOAD, block++, 0,
981 block = -1;
1033 int block_size, bytes_left = 0, block = 0, err, i; local
1048 0x0802, block, block_size, ptr);
1056 block++;
1061 block, 0, NULL);
1063 cmn_err(CE_WARN, "%s: zero-length block load failed\n",
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/
H A Decore_init_ops.h239 static void ecore_init_block(struct _lm_device_t *pdev, u32 block, u32 stage) argument
242 INIT_OPS_OFFSETS(pdev)[BLOCK_OPS_IDX(block, stage,
245 INIT_OPS_OFFSETS(pdev)[BLOCK_OPS_IDX(block, stage,
251 /* If empty block */
303 * conditional block.
312 * block.
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_ndd.c1180 int rdc, tdc, block; local
1227 block = 0;
1233 while (reg_block[block].offset != ALL_FF_32) {
1235 "%9s\t 0x%llx\n", reg_block[block].name,
1236 (unsigned long long) (reg_block[block].offset + base));
1238 block++;
1370 * NOTE - logic throughout nd_xxx assumes single data block for ioctl.
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf_impl.c626 /* a state change in progress; block waiting for state change */
1645 /* block till qp is in VALID state */
1653 /* block till qp is in INVALID state */
2036 "qphdl = 0x%p, msgp = 0x%p, block = %d\n",
2038 tnf_opaque, msg, msgimplp, tnf_uint, block, blocking);
2182 "block = %d\n", tnf_opaque, msgp, msgimplp,
2352 void *trans_cb_arg, ibmf_retrans_t *retrans, boolean_t block)
2360 if (block == B_TRUE)
2843 ibmf_i_post_recv_buffer(ibmf_ci_t *cip, ibmf_qp_t *qpp, boolean_t block, argument
2857 "qp_hdl = %p, block
2351 ibmf_i_init_msg(ibmf_msg_impl_t *msgimplp, ibmf_msg_cb_t trans_cb, void *trans_cb_arg, ibmf_retrans_t *retrans, boolean_t block) argument
[all...]
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_ndd.c2308 int rdc, tdc, block; local
2360 block = 0;
2366 while (reg_block[block].offset != ALL_FF_32) {
2369 reg_block[block].name,
2370 (unsigned long long)(reg_block[block].offset + base));
2372 block++;
/illumos-gate/usr/src/uts/common/io/lvm/stripe/
H A Dstripe.c584 * dev and block number for this buffer.
1117 * so that the logical to physical block mappings can
1120 * block - first logical block number of the device.
1121 * block = [ # of blocks before THE row ] +
1126 * size - interlace size used for the block, count, skip.
1134 diskaddr_t *block,
1160 *block = mdr->un_cum_blocks - mdr->un_blocks;
1165 *block = (mdr->un_cum_blocks - mdr->un_blocks) +
1501 * reset block
1130 stripe_block_count_skip_size( md_dev64_t dev, void *junk, int ci, diskaddr_t *block, size_t *count, u_longlong_t *skip, u_longlong_t *size) argument
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Digmp.c1047 slist_t *allow, *block; local
1060 block = a_minus_b;
1063 block = b_minus_a;
1069 if (!SLIST_IS_EMPTY(block))
1071 block, rp);
1138 slist_t *allow, *block; local
1151 block = a_minus_b;
1154 block = b_minus_a;
1159 if (!SLIST_IS_EMPTY(block))
1161 block, r
[all...]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Def10_nvram.c42 uint32_t *block; /* Base of data block */ member in struct:tlv_cursor_s
45 uint32_t *limit; /* Last dword of data block */
71 __out uint32_t *block)
73 *block = __CPU_TO_LE_32(TLV_TAG_END);
182 cursor->current = cursor->block;
219 if (cursor->current < cursor->block) {
261 __in uint32_t *block,
265 cursor->block = block;
70 tlv_init_block( __out uint32_t *block) argument
259 tlv_init_cursor( __out tlv_cursor_t *cursor, __in uint32_t *block, __in uint32_t *limit, __in uint32_t *current) argument
275 tlv_init_cursor_from_size( __out tlv_cursor_t *cursor, __in_bcount(size) uint8_t *block, __in size_t size) argument
288 tlv_init_cursor_at_offset( __out tlv_cursor_t *cursor, __in_bcount(size) uint8_t *block, __in size_t size, __in size_t offset) argument
[all...]
/illumos-gate/usr/src/lib/libbc/inc/include/sun/
H A Ddkio.h200 daddr_t block; /* location of block in error */ member in struct:dk_log
/illumos-gate/usr/src/common/bzip2/
H A Dbzlib_private.h9 lossless, block-sorting data compression.
214 /* for doing the block sorting */
222 UChar* block; member in struct:__anon1948
240 /* map of bytes used in block */
249 /* block and combined CRCs */
398 /* map of bytes used in block */
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_util.c336 * block (input) - if TRUE, ndmpd_select waits until at least one
350 ndmpd_select(ndmpd_session_t *session, boolean_t block, ulong_t class_mask) argument
372 if (block == TRUE)
398 } while (n == 0 && block == TRUE);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drcp.c1784 off_t block = zbsize ? zbsize : nbytes; local
1787 if (block > nbytes)
1788 block = nbytes;
1789 nbytes -= block;
1791 if (!zbsize || notzero(buf, block)) {
1792 register int n, count = block;
1801 if (lseek(fd, (off_t)block, SEEK_CUR) < 0)
1803 buf += block;
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dutilities.c551 int block, leadfrag, tailfrag; local
559 * a single fragment or an entire block (i.e., sblock.fs_frag),
571 * For each filesystem block, look at every possible starting
572 * offset within the block such that we can get the number of
577 for (block = 0; block < maxfsblock - sblock.fs_frag;
578 block += sblock.fs_frag) {
584 if (testbmap(block + leadfrag))
590 if (testbmap(block + leadfrag + tailfrag))
603 setbmap(block
[all...]
/illumos-gate/usr/src/cmd/smserverd/
H A Dsmediad.c1092 scsi_reassign_block(int32_t fd, diskaddr_t block) argument
1100 debug(5, "SCSI REASSIGN CALLED block = %lld\n", block);
1107 data[4] = ((block & 0xFF000000) >> 24);
1108 data[5] = ((block & 0xFF0000) >> 16);
1109 data[6] = ((block & 0xFF00) >> 8);
1110 data[7] = block & 0xFF;
1121 debug(5, "Reassign block failed: %d - %d errno = %d\n",
1311 * then attempts to lock, but will block until main_servproc
1845 * It will be 0 otherwise which needs to reassign the block
[all...]
/illumos-gate/usr/src/lib/libast/common/vmalloc/
H A Dvmhdr.h185 #define BUSY (01) /* block is busy */
186 #define PFREE (02) /* preceding block is free */
240 /* ALIGN is chosen so that a block can store all primitive types.
258 Block_t* block; member in union:_align_u
274 /* make sure that the head of a block is a multiple of ALIGN */
294 /* now make sure that the body of a block is a multiple of ALIGN */
317 /* requirements for smallest block type */
331 /* small block types kept in separate caches for quick allocation */
345 Block_t* free; /* most recent free block */
346 Block_t* wild; /* wilderness block */
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/mirror/
H A Dmirror_resync.c521 * of ownership away from us will block until this resync check
907 * Note: this routine may block
921 /* Ensure that we don't block with any mutex held */
954 * Issue the resync source read for the specified start block and size.
1234 size_t rsize; /* size of resync block (for MN) */
1254 * Split the block up into units of MD_DEF_RESYNC_BLK_SZ and
1273 * block, if so either the type or the resync region
1308 * this block, see above
1602 diskaddr_t block; local
1642 blk_size = size; /* Save block siz
[all...]
H A Dmirror.c262 * cannot afford to block waiting on the request to be serviced. This is
1322 * directly call send_poke_hotspares as this will block until
1324 * going through a reconfig cycle then the message will block
1365 * i/o. If it does, block until the overlapped i/o completes.
1768 "get block count skip size", 0);
1894 "get block count skip size", 0);
2383 * block all writes to the mirror and then update the state and release the
2401 * submessage rather than a class1 (which would also block)
2709 diskaddr_t block; local
2741 (dev, sm, ci, &block,
[all...]
/illumos-gate/usr/src/uts/sun4u/io/px/
H A Dpx_err.c633 static void px_err_snapshot(px_t *px_p, px_err_ss_t *ss, int block);
641 * Interrupt handler for the JBC/UBC block.
680 * Interrupt handler for the DMC/PEC block.
789 * JBC or XBC are enabled during adding of common block interrupts,
814 * @param block PX_FM_BLOCK_HOST | PX_FM_BLOCK_PCIE | PX_FM_BLOCK_ALL
818 px_err_cmn_intr(px_t *px_p, ddi_fm_error_t *derr, int caller, int block) argument
829 px_err_snapshot(px_p, &ss, block);
856 * JBC/UBC, DMC, and PEC depending on the block flag
863 px_err_snapshot(px_t *px_p, px_err_ss_t *ss_p, int block) argument
877 if ((block
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_reiserfs.c52 /* This is the new super block of a journaling reiserfs system */
57 __u32 s_root_block; /* root block number */
58 __u32 s_journal_block; /* journal block number */
66 __u16 s_blocksize; /* block size */
72 __u16 s_bmap_nr; /* amount of bitmap blocks needed to address each block of file system */
87 /* first block written in a commit. */
90 __u32 j_len; /* length of commit. len +1 is the commit block */
96 /* last block written in a commit */
98 __u32 j_trans_id; /* must match j_trans_id from the desc block */
104 /* this header block get
386 journal_read(int block, int len, char *buffer) argument
[all...]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_consume.c740 int block = DTRACE_AGGPACK_BASE + (unsigned int)(((datum * local
744 DTRACE_AGGUTF8_BYTE0(block),
745 DTRACE_AGGUTF8_BYTE1(block),
746 DTRACE_AGGUTF8_BYTE2(block)));
/illumos-gate/usr/src/uts/intel/io/dnet/
H A Ddnet.c165 static void dnet_dump_block(media_block_t *block);
181 media_block_t *block, uchar_t *vi);
1870 media_block_t *block = dnetp->selected_media_block; local
1881 fd = block->media_code == MEDIA_TP_FD ||
1882 block->media_code == MEDIA_SYM_SCR_FD;
1967 media_block_t *block = dnetp->selected_media_block; local
1979 * block has been selected.
1981 if (block->rstseqlen) {
1982 for (i = 0; i < block->rstseqlen; i++)
1983 write_gpr(dnetp, block
2014 media_block_t *block = dnetp->selected_media_block; local
2086 media_block_t *block = dnetp->selected_media_block; local
3151 media_block_t *block; local
3343 media_block_t *block = dnetp->selected_media_block; local
3763 media_block_t *block; local
4123 parse_media_block(struct dnetinstance *dnetp, media_block_t *block, uchar_t *vi) argument
4330 media_block_t *block; local
4521 dnet_dump_block(media_block_t *block) argument
[all...]
H A Ddnet.h281 /* command block bit flags from SROM */
335 media_block_t block[MAX_MEDIA]; member in struct:leaf_format
/illumos-gate/usr/src/cmd/savecore/
H A Dsavecore.c673 typedef struct block block_t;
680 struct block { struct
682 char *block; member in struct:block
779 /* init stream block buffers */
782 b->block = Zalloc(maxcsize);
886 * Process one lzjb block.
887 * No object (stream header or page) will be split over a block boundary.
890 lzjbblock(int corefd, stream_t *s, char *block, size_t blocksz) argument
909 (void) memcpy(&sh, block + in, sizeof (sh));
926 (void) memcpy(&sc, block
1013 bz2block(int corefd, stream_t *s, char *block, size_t blocksz) argument
[all...]
/illumos-gate/usr/src/cmd/init/
H A Dinit.c2277 * such a case we reset the disposition to SIG_DFL, block all signals
2665 sigset_t block, unblock; local
2698 (void) sigfillset(&block);
2699 (void) sigprocmask(SIG_BLOCK, &block, &unblock);
2766 sigset_t block, unblock; local
2771 (void) sigfillset(&block);
2772 (void) sigprocmask(SIG_BLOCK, &block, &unblock);
3798 sigset_t block, unblock; local
3806 (void) sigfillset(&block);
3807 (void) sigprocmask(SIG_BLOCK, &block,
[all...]

Completed in 146 milliseconds

123456