/netbsd/sys/compat/linux/common/ |
H A D | linux_statfs.h | 76 lsp->l_fbsize = bsp->f_frsize; in bsd_to_linux_statfs() 78 lsp->l_fblocks = bsp->f_blocks; in bsd_to_linux_statfs() 79 lsp->l_fbfree = bsp->f_bfree; in bsd_to_linux_statfs() 80 lsp->l_fbavail = bsp->f_bavail; in bsd_to_linux_statfs() 81 lsp->l_ffiles = bsp->f_files; in bsd_to_linux_statfs() 82 lsp->l_fffree = bsp->f_ffree; in bsd_to_linux_statfs() 86 lsp->l_fnamelen = bsp->f_namemax; in bsd_to_linux_statfs() 113 div = bsp->f_frsize ? (bsp->f_bsize / bsp->f_frsize) : 1; in bsd_to_linux_statfs64() 116 lsp->l_fbsize = bsp->f_bsize; in bsd_to_linux_statfs64() 117 lsp->l_ffrsize = bsp->f_frsize; in bsd_to_linux_statfs64() [all …]
|
H A D | linux_ipc.c | 504 bsp->shm_segsz = lsp->l_shm_segsz; in linux_to_bsd_shmid_ds() 505 bsp->shm_lpid = lsp->l_shm_lpid; in linux_to_bsd_shmid_ds() 506 bsp->shm_cpid = lsp->l_shm_cpid; in linux_to_bsd_shmid_ds() 508 bsp->shm_atime = lsp->l_shm_atime; in linux_to_bsd_shmid_ds() 509 bsp->shm_dtime = lsp->l_shm_dtime; in linux_to_bsd_shmid_ds() 519 bsp->shm_lpid = lsp->l_shm_lpid; in linux_to_bsd_shmid64_ds() 520 bsp->shm_cpid = lsp->l_shm_cpid; in linux_to_bsd_shmid64_ds() 534 lsp->l_shm_lpid = bsp->shm_lpid; in bsd_to_linux_shmid_ds() 535 lsp->l_shm_cpid = bsp->shm_cpid; in bsd_to_linux_shmid_ds() 549 lsp->l_shm_lpid = bsp->shm_lpid; in bsd_to_linux_shmid64_ds() [all …]
|
H A D | linux_file64.c | 86 lsp->lst_ino = bsp->st_ino; in bsd_to_linux_stat64() 88 if (bsp->st_nlink >= (1 << 15)) in bsd_to_linux_stat64() 92 lsp->lst_uid = bsp->st_uid; in bsd_to_linux_stat64() 93 lsp->lst_gid = bsp->st_gid; in bsd_to_linux_stat64() 95 lsp->lst_size = bsp->st_size; in bsd_to_linux_stat64() 96 lsp->lst_blksize = bsp->st_blksize; in bsd_to_linux_stat64() 97 lsp->lst_blocks = bsp->st_blocks; in bsd_to_linux_stat64() 98 lsp->lst_atime = bsp->st_atime; in bsd_to_linux_stat64() 99 lsp->lst_mtime = bsp->st_mtime; in bsd_to_linux_stat64() 100 lsp->lst_ctime = bsp->st_ctime; in bsd_to_linux_stat64() [all …]
|
H A D | linux_file.c | 477 lsp->lst_ino = bsp->st_ino; in bsd_to_linux_stat() 479 if (bsp->st_nlink >= (1 << 15)) in bsd_to_linux_stat() 483 lsp->lst_uid = bsp->st_uid; in bsd_to_linux_stat() 484 lsp->lst_gid = bsp->st_gid; in bsd_to_linux_stat() 486 lsp->lst_size = bsp->st_size; in bsd_to_linux_stat() 487 lsp->lst_blksize = bsp->st_blksize; in bsd_to_linux_stat() 488 lsp->lst_blocks = bsp->st_blocks; in bsd_to_linux_stat() 489 lsp->lst_atime = bsp->st_atime; in bsd_to_linux_stat() 490 lsp->lst_mtime = bsp->st_mtime; in bsd_to_linux_stat() 491 lsp->lst_ctime = bsp->st_ctime; in bsd_to_linux_stat() [all …]
|
/netbsd/sys/compat/linux32/common/ |
H A D | linux32_ipccall.c | 225 lsp->l_sem_otime = bsp->sem_otime; in bsd_to_linux32_semid_ds() 226 lsp->l_sem_ctime = bsp->sem_ctime; in bsd_to_linux32_semid_ds() 227 lsp->l_sem_nsems = bsp->sem_nsems; in bsd_to_linux32_semid_ds() 236 lsp->l_sem_otime = bsp->sem_otime; in bsd_to_linux32_semid64_ds() 562 lsp->l_shm_cpid = bsp->shm_cpid; in bsd_to_linux32_shmid_ds() 563 lsp->l_shm_lpid = bsp->shm_lpid; in bsd_to_linux32_shmid_ds() 576 bsp->shm_cpid = lsp->l_shm_cpid; in linux32_to_bsd_shmid_ds() 577 bsp->shm_lpid = lsp->l_shm_lpid; in linux32_to_bsd_shmid_ds() 591 lsp->l_shm_cpid = bsp->shm_cpid; in bsd_to_linux32_shmid64_ds() 592 lsp->l_shm_lpid = bsp->shm_lpid; in bsd_to_linux32_shmid64_ds() [all …]
|
/netbsd/sys/arch/ia64/unwind/ |
H A D | stackframe.h | 68 struct regstate bsp; member 81 uint64_t bsp; /* Base of the RSE. */ member 127 ia64_bsp_adjust_call(uint64_t bsp, int sol) in ia64_bsp_adjust_call() argument 129 bsp += ((sol + (IA64_RNATINDEX(bsp) + sol) / 63) << 3); in ia64_bsp_adjust_call() 130 return bsp; in ia64_bsp_adjust_call() 134 ia64_bsp_adjust_ret(uint64_t bsp, int sol) in ia64_bsp_adjust_ret() argument 136 bsp -= ((sol + (62 - IA64_RNATINDEX(bsp) + sol) / 63) << 3); in ia64_bsp_adjust_ret() 137 return bsp; in ia64_bsp_adjust_ret() 141 ia64_getrse_gr(uint64_t bsp, uint64_t gr) in ia64_getrse_gr() argument 143 bsp = ia64_bsp_adjust_call(bsp, gr); in ia64_getrse_gr() [all …]
|
/netbsd/sys/kern/ |
H A D | subr_bufq.c | 133 struct bufq_strat *bsp, *it; in bufq_alloc() local 165 bsp = NULL; in bufq_alloc() 171 bsp = it; in bufq_alloc() 175 if (bsp == NULL || (it)->bs_prio > bsp->bs_prio) in bufq_alloc() 176 bsp = it; in bufq_alloc() 191 if (bsp == NULL) { in bufq_alloc() 202 strategy, bsp->bs_name); in bufq_alloc() 207 printf("bufq_alloc: using '%s'\n", bsp->bs_name); in bufq_alloc() 210 bsp->bs_refcnt++; in bufq_alloc() 214 bufq->bq_strat = bsp; in bufq_alloc() [all …]
|
/netbsd/external/gpl3/gdb/dist/gdb/ |
H A D | ia64-tdep.c | 951 ULONGEST bsp; in ia64_pseudo_register_read() local 965 bsp = rse_address_add (bsp, -(cfm & 0x7f)); in ia64_pseudo_register_read() 1008 bsp = rse_address_add (bsp, -(cfm & 0x7f)); in ia64_pseudo_register_read() 1099 bsp = rse_address_add (bsp, -(cfm & 0x7f)); in ia64_pseudo_register_write() 1132 bsp = rse_address_add (bsp, -(cfm & 0x7f)); in ia64_pseudo_register_write() 1347 cache->bsp = 0; in ia64_alloc_frame_cache() 1829 cache.bsp = 0; in ia64_skip_prologue() 1938 bsp = rse_address_add (cache->bsp, -(cache->sof)); in ia64_frame_prev_register() 2895 CORE_ADDR bsp; in ia64_libunwind_frame_this_id() local 3024 CORE_ADDR bsp; in ia64_libunwind_sigtramp_frame_this_id() local [all …]
|
H A D | ia64-tdep.h | 216 void (*allocate_new_rse_frame) (struct regcache *regcache, ULONGEST bsp, 221 void (*store_argument_in_slot) (struct regcache *regcache, CORE_ADDR bsp,
|
/netbsd/external/gpl3/gdb.old/dist/gdb/ |
H A D | ia64-tdep.c | 951 ULONGEST bsp; in ia64_pseudo_register_read() local 965 bsp = rse_address_add (bsp, -(cfm & 0x7f)); in ia64_pseudo_register_read() 1008 bsp = rse_address_add (bsp, -(cfm & 0x7f)); in ia64_pseudo_register_read() 1099 bsp = rse_address_add (bsp, -(cfm & 0x7f)); in ia64_pseudo_register_write() 1132 bsp = rse_address_add (bsp, -(cfm & 0x7f)); in ia64_pseudo_register_write() 1347 cache->bsp = 0; in ia64_alloc_frame_cache() 1829 cache.bsp = 0; in ia64_skip_prologue() 1938 bsp = rse_address_add (cache->bsp, -(cache->sof)); in ia64_frame_prev_register() 2895 CORE_ADDR bsp; in ia64_libunwind_frame_this_id() local 3024 CORE_ADDR bsp; in ia64_libunwind_sigtramp_frame_this_id() local [all …]
|
H A D | ia64-tdep.h | 216 void (*allocate_new_rse_frame) (struct regcache *regcache, ULONGEST bsp, 221 void (*store_argument_in_slot) (struct regcache *regcache, CORE_ADDR bsp,
|
/netbsd/sys/arch/ia64/ia64/ |
H A D | db_trace.c | 59 uwf->bsp, uwf->pfs, IA64_CFM_SOL(uwf->pfs), uwf->rp); \ 158 uwf->bsp = tf->tf_special.bspstore + tf->tf_special.ndirty; in initunwindframe() 159 uwf->bsp = ia64_bsp_adjust_ret(uwf->bsp, IA64_CFM_SOF(tf->tf_special.cfm)); in initunwindframe() 180 uwf->bsp = ia64_bsp_adjust_ret(uwf->bsp, IA64_CFM_SOL(uwf->pfs)); in rewindframe()
|
H A D | db_interface.c | 189 uint64_t bsp; in db_getrse() local 200 bsp = f->tf_special.bspstore + f->tf_special.ndirty; in db_getrse() 206 nats = (sof - regno + 63 - ((int)(bsp >> 3) & 0x3f)) / 63; in db_getrse() 207 reg = (void*)(bsp - ((sof - regno + nats) << 3)); in db_getrse()
|
/netbsd/usr.sbin/makefs/msdos/ |
H A D | msdosfs_vfsops.c | 88 union bootsector *bsp; in msdosfs_mount() local 103 bsp = (union bootsector *)bp->b_data; in msdosfs_mount() 104 b33 = (struct byte_bpb33 *)bsp->bs33.bsBPB; in msdosfs_mount() 105 b50 = (struct byte_bpb50 *)bsp->bs50.bsBPB; in msdosfs_mount() 106 b710 = (struct byte_bpb710 *)bsp->bs710.bsBPB; in msdosfs_mount() 109 if (bsp->bs50.bsBootSectSig0 != BOOTSIG0 in msdosfs_mount() 110 || bsp->bs50.bsBootSectSig1 != BOOTSIG1) { in msdosfs_mount() 112 bsp->bs50.bsBootSectSig0, in msdosfs_mount() 113 bsp->bs50.bsBootSectSig1)); in msdosfs_mount()
|
/netbsd/external/gpl3/gcc.old/dist/libgcc/config/ia64/ |
H A D | linux-unwind.h | 86 unsigned long alt_bspstore = context->bsp - loadrs; in ia64_fallback_frame_state() 91 (unsigned long *) context->bsp); in ia64_fallback_frame_state() 104 context->bsp = (unsigned long) in ia64_fallback_frame_state() 174 unsigned long alt_bspstore = context->bsp - loadrs; in ia64_handle_unwabi() 179 (unsigned long *) context->bsp); in ia64_handle_unwabi() 191 context->bsp = (unsigned long) in ia64_handle_unwabi()
|
H A D | unwind-ia64.c | 182 unw_word bsp; /* backing store pointer value member 1474 ia64_rse_num_regs (unw_word *bspstore, unw_word *bsp) in ia64_rse_num_regs() argument 1476 unw_word slots = (bsp - bspstore); in ia64_rse_num_regs() 1758 return (_Unwind_Ptr) context->bsp; in _Unwind_GetBSP() 2102 context->bsp = (unw_word) in uw_update_context() 2147 context->bsp = (unw_word) bsp; in uw_init_context_1() 2150 context->regstk_top = context->bsp & ~0x1ffULL; in uw_init_context_1() 2206 target->bsp = (unw_word) in uw_install_context() 2207 ia64_rse_skip_regs ((unw_word *)target->bsp, in uw_install_context() 2210 if (target->bsp < target->regstk_top) in uw_install_context() [all …]
|
H A D | vms-unwind.h | 110 context->rp, context->sp, context->psp, context->bsp); in ia64_vms_fallback_frame_state() 144 } while ((uw_reg)icb->libicb$ih_bsp != (uw_reg)context->bsp); in ia64_vms_fallback_frame_state() 269 context->bsp = (uw_reg)intstk->intstk$q_bsp; in ia64_vms_fallback_frame_state()
|
/netbsd/external/gpl3/gcc/dist/libgcc/config/ia64/ |
H A D | linux-unwind.h | 86 unsigned long alt_bspstore = context->bsp - loadrs; in ia64_fallback_frame_state() 91 (unsigned long *) context->bsp); in ia64_fallback_frame_state() 104 context->bsp = (unsigned long) in ia64_fallback_frame_state() 174 unsigned long alt_bspstore = context->bsp - loadrs; in ia64_handle_unwabi() 179 (unsigned long *) context->bsp); in ia64_handle_unwabi() 191 context->bsp = (unsigned long) in ia64_handle_unwabi()
|
H A D | unwind-ia64.c | 182 unw_word bsp; /* backing store pointer value member 1474 ia64_rse_num_regs (unw_word *bspstore, unw_word *bsp) in ia64_rse_num_regs() argument 1476 unw_word slots = (bsp - bspstore); in ia64_rse_num_regs() 1758 return (_Unwind_Ptr) context->bsp; in _Unwind_GetBSP() 2102 context->bsp = (unw_word) in uw_update_context() 2147 context->bsp = (unw_word) bsp; in uw_init_context_1() 2150 context->regstk_top = context->bsp & ~0x1ffULL; in uw_init_context_1() 2206 target->bsp = (unw_word) in uw_install_context() 2207 ia64_rse_skip_regs ((unw_word *)target->bsp, in uw_install_context() 2210 if (target->bsp < target->regstk_top) in uw_install_context() [all …]
|
H A D | vms-unwind.h | 110 context->rp, context->sp, context->psp, context->bsp); in ia64_vms_fallback_frame_state() 144 } while ((uw_reg)icb->libicb$ih_bsp != (uw_reg)context->bsp); in ia64_vms_fallback_frame_state() 269 context->bsp = (uw_reg)intstk->intstk$q_bsp; in ia64_vms_fallback_frame_state()
|
/netbsd/games/gomoku/ |
H A D | pickmove.c | 150 const struct spotstr *bsp = &board[bs]; in pickmove() local 155 bsp->s_combo[BLACK].s, bsp->s_level[BLACK], in pickmove() 156 bsp->s_nforce[BLACK], in pickmove() 157 bsp->s_combo[WHITE].s, bsp->s_level[WHITE], in pickmove() 158 bsp->s_nforce[WHITE], bsp->s_wval); in pickmove() 197 const struct spotstr *bsp = &board[bs]; in better() local 200 return asp->s_combo[us].s < bsp->s_combo[us].s; in better() 202 return asp->s_level[us] < bsp->s_level[us]; in better() 204 return asp->s_nforce[us] > bsp->s_nforce[us]; in better() 217 if (/* .... */ asp->s_wval != bsp->s_wval) in better() [all …]
|
/netbsd/external/gpl3/gdb/dist/gas/testsuite/gas/ia64/ |
H A D | unwind-ok.s | 47 .spillreg ar.bsp, r16 186 .save ar.bsp, r17 215 .savesp ar.bsp, 0x08 244 .savepsp ar.bsp, 0x08
|
/netbsd/external/gpl3/gdb.old/dist/gas/testsuite/gas/ia64/ |
H A D | unwind-ok.s | 47 .spillreg ar.bsp, r16 186 .save ar.bsp, r17 215 .savesp ar.bsp, 0x08 244 .savepsp ar.bsp, 0x08
|
/netbsd/sys/fs/msdosfs/ |
H A D | msdosfs_vfsops.c | 464 union bootsector *bsp; in msdosfs_mountfs() local 521 bsp = (union bootsector *)bp->b_data; in msdosfs_mountfs() 522 b33 = (struct byte_bpb33 *)bsp->bs33.bsBPB; in msdosfs_mountfs() 523 b50 = (struct byte_bpb50 *)bsp->bs50.bsBPB; in msdosfs_mountfs() 524 b710 = (struct byte_bpb710 *)bsp->bs710.bsBPB; in msdosfs_mountfs() 534 if (bsp->bs50.bsBootSectSig0 != BOOTSIG0 in msdosfs_mountfs() 535 || bsp->bs50.bsBootSectSig1 != BOOTSIG1) { in msdosfs_mountfs() 537 bsp->bs50.bsBootSectSig0, in msdosfs_mountfs() 538 bsp->bs50.bsBootSectSig1); in msdosfs_mountfs()
|
/netbsd/tests/usr.bin/xlint/lint1/ |
H A D | d_c99_bool_strict.c | 561 struct bool_struct *bsp = &bs; in strict_bool_operand_binary_dot_arrow() local 562 b = bsp->b; in strict_bool_operand_binary_dot_arrow() 563 bsp->b = b; in strict_bool_operand_binary_dot_arrow() 565 bsp->b = 0; in strict_bool_operand_binary_dot_arrow()
|