Home
last modified time | relevance | path

Searched refs:bsp (Results 1 – 20 of 20) sorted by relevance

/titanic_50/usr/src/cmd/tnf/tnfxtract/
H A Dtnfxtract.c247 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_50/usr/src/common/fs/
H A Dbootfsops.c281 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_50/usr/src/cmd/sendmail/libsm/
H A Dutil.c142 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_50/usr/src/uts/common/io/
H A Dbridge.c824 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_50/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c107 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_50/usr/src/cmd/fs.d/pcfs/fsck/
H A Dpcfs_common.h93 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 Dpcfs_common.c58 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_50/usr/src/uts/common/krtld/
H A Dbootrd.c121 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_50/usr/src/uts/common/io/bge/
H A Dbge_send.c207 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 Dbge_hw.h1920 #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 Dbge_recv2.c410 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 Dbge_impl.h1289 void bge_receive(bge_t *bgep, bge_status_t *bsp);
1294 boolean_t bge_recycle(bge_t *bgep, bge_status_t *bsp);
H A Dbge_main2.c2209 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 Dbge_chip2.c4956 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_50/usr/src/uts/common/os/
H A Ddamap.c947 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 Dsunddi.c9838 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_50/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_list.c680 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_50/usr/src/uts/common/io/scsi/targets/
H A Dsd.c12876 struct sd_mapblocksize_info *bsp; local
12946 bsp = kmem_zalloc(sizeof (struct sd_mapblocksize_info), KM_SLEEP);
12947 bsp->mbs_oprivate = xp->xb_private;
12948 xp->xb_private = bsp;
13005 bsp->mbs_wmp = sd_range_lock(un, start_block, end_block - 1,
13054 bsp->mbs_copy_offset = (ssize_t)(first_byte -
13056 ASSERT((bsp->mbs_copy_offset >= 0) &&
13057 (bsp->mbs_copy_offset < un->un_phy_blocksize));
13059 bsp->mbs_copy_offset = (ssize_t)(first_byte -
13061 ASSERT((bsp->mbs_copy_offset >= 0) &&
[all …]
/titanic_50/usr/src/cmd/sendmail/src/
H A Dreadcf.c766 translate_dollars(ibp, obp, bsp) in translate_dollars() argument
769 int *bsp;
782 bp = quote_internal_chars(ibp, obp, bsp);
/titanic_50/usr/src/lib/libsqlite/tool/
H A Dlemon.c776 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" */