/titanic_41/usr/src/cmd/tnf/tnfxtract/ |
H A D | tnfxtract.c | 247 BLOCK_STATUS *block_stat, *bsp; in main() local 328 for (bsp = block_stat; bsp != block_stat + block_count; ++bsp) in main() 329 bsp->ever_read = B_FALSE; in main() 335 bsp = block_stat; in main() 339 if (!bsp->ever_read) { in main() 343 bsp->ever_read = B_TRUE; in main() 344 bsp->generation = blockp->generation; in main() 345 bsp->bytes_valid = blockp->bytes_valid; in main() 352 ++bsp; in main() 366 bsp = block_stat; in main() [all …]
|
/titanic_41/usr/src/common/fs/ |
H A D | bootfsops.c | 281 bbootfs_fstat(int fd, struct bootstat *bsp) in bbootfs_fstat() argument 288 bsp->st_dev = 1; in bbootfs_fstat() 289 bsp->st_ino = fdp->fd_file->bf_ino; in bbootfs_fstat() 290 bsp->st_mode = 0444; in bbootfs_fstat() 291 bsp->st_nlink = 1; in bbootfs_fstat() 292 bsp->st_uid = bsp->st_gid = 0; in bbootfs_fstat() 293 bsp->st_rdev = 0; in bbootfs_fstat() 294 bsp->st_size = fdp->fd_file->bf_size; in bbootfs_fstat() 295 bsp->st_blksize = 1; in bbootfs_fstat() 296 bsp->st_blocks = fdp->fd_file->bf_size; in bbootfs_fstat() [all …]
|
/titanic_41/usr/src/cmd/sendmail/libsm/ |
H A D | util.c | 142 quote_internal_chars(ibp, obp, bsp) in quote_internal_chars() argument 145 int *bsp; 165 if (olen > *bsp) 169 *bsp = olen; 184 bufused = sm_strlcpy(obp, ibp, *bsp); 194 *bsp = olen;
|
/titanic_41/usr/src/uts/common/io/ |
H A D | bridge.c | 824 bridge_stream_t *bsp; in stream_alloc() local 829 bsp = kmem_zalloc(sizeof (*bsp), KM_SLEEP); in stream_alloc() 830 bsp->bs_minor = mn; in stream_alloc() 831 return (bsp); in stream_alloc() 835 stream_free(bridge_stream_t *bsp) in stream_free() argument 837 mac_minor_rele(bsp->bs_minor); in stream_free() 838 kmem_free(bsp, sizeof (*bsp)); in stream_free() 843 stream_ref(bridge_stream_t *bsp) in stream_ref() argument 846 bsp->bs_taskq_cnt++; in stream_ref() 851 stream_unref(bridge_stream_t *bsp) in stream_unref() argument [all …]
|
/titanic_41/usr/src/cmd/fs.d/pcfs/mkfs/ |
H A D | mkfs.c | 107 static void swap_pack_grabsebpb(bpb_t *wbpb, struct _boot_sector *bsp); 108 static void swap_pack_bpb32cpy(struct _boot_sector32 *bsp, bpb_t *wbpb); 109 static void swap_pack_sebpbcpy(struct _boot_sector *bsp, bpb_t *wbpb); 110 static void swap_pack_grabbpb(bpb_t *wbpb, struct _boot_sector *bsp); 111 static void swap_pack_bpbcpy(struct _boot_sector *bsp, bpb_t *wbpb); 129 static void write_fat32_bootstuff(int fd, boot_sector_t *bsp, 143 static void write_bootsects(int fd, boot_sector_t *bsp, bpb_t *wbpb, 1625 swap_pack_bpbcpy(struct _boot_sector *bsp, bpb_t *wbpb) in swap_pack_bpbcpy() argument 1629 fillp = (uchar_t *)&(bsp->bs_filler[ORIG_BPB_START_INDEX]); in swap_pack_bpbcpy() 1655 swap_pack_bpb32cpy(struct _boot_sector32 *bsp, bpb_t *wbpb) in swap_pack_bpb32cpy() argument [all …]
|
/titanic_41/usr/src/cmd/fs.d/pcfs/fsck/ |
H A D | pcfs_common.h | 93 extern void swap_pack_grab32bpb(bpb_t *wbpb, struct _boot_sector *bsp); 94 extern void swap_pack_grabbpb(bpb_t *wbpb, struct _boot_sector *bsp);
|
H A D | pcfs_common.c | 58 void swap_pack_grab32bpb(bpb_t *wbpb, struct _boot_sector *bsp); 59 void swap_pack_grabbpb(bpb_t *wbpb, struct _boot_sector *bsp); 211 swap_pack_grabbpb(bpb_t *wbpb, struct _boot_sector *bsp) in swap_pack_grabbpb() argument 215 grabp = (uchar_t *)&(bsp->bs_filler[ORIG_BPB_START_INDEX]); in swap_pack_grabbpb() 256 swap_pack_grab32bpb(bpb_t *wbpb, struct _boot_sector *bsp) in swap_pack_grab32bpb() argument 260 grabp = (uchar_t *)&(bsp->bs_filler[BPB_32_START_INDEX]); in swap_pack_grab32bpb()
|
/titanic_41/usr/src/uts/common/krtld/ |
H A D | bootrd.c | 121 BRD_FSTAT(struct boot_fs_ops *ops, int fd, struct bootstat *bsp) in BRD_FSTAT() argument 124 return (bbootfs_ops.fsw_fstat(fd & ~BFD_F_SYSTEM_BOOT, bsp)); in BRD_FSTAT() 126 return (ops->fsw_fstat(fd, bsp)); in BRD_FSTAT()
|
/titanic_41/usr/src/uts/common/io/bge/ |
H A D | bge_send.c | 207 boolean_t bge_recycle(bge_t *bgep, bge_status_t *bsp); 211 bge_recycle(bge_t *bgep, bge_status_t *bsp) in bge_recycle() argument 227 ASSERT(srp->cons_index_p == SEND_INDEX_P(bsp, ring)); in bge_recycle() 371 bge_status_t *bsp; in bge_send_serial() local 388 bsp = DMA_VPTR(bgep->status_block); in bge_send_serial() 404 (void) bge_recycle(bgep, bsp); in bge_send_serial()
|
H A D | bge_hw.h | 1920 #define SEND_INDEX_P(bsp, ring) (&(bsp)->index[(ring)^0].send_cons_index) argument 1921 #define RECV_INDEX_P(bsp, ring) (&(bsp)->index[(ring)^0].recv_prod_index) argument 1926 #define SEND_INDEX_P(bsp, ring) (&(bsp)->index[(ring)^1].send_cons_index) argument 1927 #define RECV_INDEX_P(bsp, ring) (&(bsp)->index[(ring)^1].recv_prod_index) argument
|
H A D | bge_recv2.c | 410 void bge_receive(bge_t *bgep, bge_status_t *bsp); 414 bge_receive(bge_t *bgep, bge_status_t *bsp) in bge_receive() argument 431 ASSERT(rrp->prod_index_p == RECV_INDEX_P(bsp, index)); in bge_receive()
|
H A D | bge_impl.h | 1289 void bge_receive(bge_t *bgep, bge_status_t *bsp); 1294 boolean_t bge_recycle(bge_t *bgep, bge_status_t *bsp);
|
H A D | bge_main2.c | 2209 bge_status_t *bsp; local 2257 bsp = DMA_VPTR(bgep->status_block); 2258 brp->cons_index_p = &bsp->buff_cons_index[buff_cons_xref[ring]]; 2309 bge_status_t *bsp; local 2336 bsp = DMA_VPTR(bgep->status_block); 2337 rrp->prod_index_p = RECV_INDEX_P(bsp, ring); 2370 bge_status_t *bsp; local 2402 bsp = DMA_VPTR(bgep->status_block); 2403 srp->cons_index_p = SEND_INDEX_P(bsp, ring);
|
H A D | bge_chip2.c | 4956 bge_status_t *bsp; in bge_status_sync() local 4969 bsp = DMA_VPTR(bgep->status_block); in bge_status_sync() 4970 *flags = bge_atomic_clr64(&bsp->flags_n_tag, bits); in bge_status_sync() 5049 bge_status_t *bsp; in bge_intr() local 5116 bsp = DMA_VPTR(bgep->status_block); in bge_intr() 5178 bge_receive(bgep, bsp); in bge_intr() 5179 (void) bge_recycle(bgep, bsp); in bge_intr() 5292 bge_status_t *bsp; in bge_factotum_stall_check() local 5317 bsp = DMA_VPTR(bgep->status_block); in bge_factotum_stall_check() 5318 if (dogval < bge_watchdog_count || bge_recycle(bgep, bsp)) in bge_factotum_stall_check()
|
/titanic_41/usr/src/uts/common/os/ |
H A D | damap.c | 947 bitset_t *bsp; in damap_lookup_all() local 961 bsp = kmem_alloc(sizeof (*bsp), KM_SLEEP); in damap_lookup_all() 962 bitset_init(bsp); in damap_lookup_all() 963 bitset_resize(bsp, mapsz); in damap_lookup_all() 964 bitset_copy(&mapp->dam_active_set, bsp); in damap_lookup_all() 966 if (bitset_in_set(bsp, i)) { in damap_lookup_all() 980 *id_listp = (damap_id_list_t)bsp; in damap_lookup_all() 985 bitset_fini(bsp); in damap_lookup_all() 986 kmem_free(bsp, sizeof (*bsp)); in damap_lookup_all()
|
H A D | sunddi.c | 9838 struct devi_busy *bsp = arg; in visit_dip() local 9840 ASSERT(bsp->callback); in visit_dip() 9846 return (bsp->callback(dip, bsp->arg, 0)); in visit_dip() 9849 if (mod_hash_find(bsp->dv_hash, dip, (mod_hash_val_t *)&dvbusy)) in visit_dip() 9855 if (mod_hash_find(bsp->s_hash, dip, (mod_hash_val_t *)&sbusy)) in visit_dip() 9867 return (bsp->callback(dip, bsp->arg, dvbusy)); in visit_dip() 9876 struct devi_busy *bsp = arg; in visit_snode() local 9893 if (mod_hash_remove(bsp->s_hash, dip, (mod_hash_val_t *)&sbusy)) in visit_snode() 9898 if (mod_hash_insert(bsp->s_hash, dip, (mod_hash_val_t)sbusy)) { in visit_snode() 9904 bsp->s_total += count; in visit_snode() [all …]
|
/titanic_41/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_list.c | 680 struct bus_state *bsp = (struct bus_state *)arg; in get_bus_state() local 683 bsp->b_state = di_state(node); in get_bus_state() 684 bsp->b_retired = di_retired(node); in get_bus_state() 688 (void) strlcpy(bsp->iconnect_type, itype, 16); in get_bus_state() 690 bsp->iconnect_type[0] = '\0'; in get_bus_state()
|
/titanic_41/usr/src/uts/common/io/scsi/targets/ |
H A D | sd.c | 12877 struct sd_mapblocksize_info *bsp; local 12947 bsp = kmem_zalloc(sizeof (struct sd_mapblocksize_info), KM_SLEEP); 12948 bsp->mbs_oprivate = xp->xb_private; 12949 xp->xb_private = bsp; 13006 bsp->mbs_wmp = sd_range_lock(un, start_block, end_block - 1, 13055 bsp->mbs_copy_offset = (ssize_t)(first_byte - 13057 ASSERT((bsp->mbs_copy_offset >= 0) && 13058 (bsp->mbs_copy_offset < un->un_phy_blocksize)); 13060 bsp->mbs_copy_offset = (ssize_t)(first_byte - 13062 ASSERT((bsp->mbs_copy_offset >= 0) && [all …]
|
/titanic_41/usr/src/cmd/sendmail/src/ |
H A D | readcf.c | 766 translate_dollars(ibp, obp, bsp) in translate_dollars() argument 769 int *bsp; 782 bp = quote_internal_chars(ibp, obp, bsp);
|
/titanic_41/usr/src/lib/libsqlite/tool/ |
H A D | lemon.c | 776 struct symbol *bsp; /* Symbol following the dot in configuration "bcfp" */ local 796 bsp = bcfp->rp->rhs[bcfp->dot]; /* Get symbol after dot */ 797 if( bsp!=sp ) continue; /* Must be same as for "cfp" */
|