| /netbsd-src/sys/compat/linux/common/ |
| H A D | linux_statfs.h | 47 bsd_to_linux_statfs(const struct statvfs *bsp, struct linux_statfs *lsp) in bsd_to_linux_statfs() argument 54 if (strcmp(bsp->f_fstypename, linux_fstypes[i].mty_bsd) == 0) { in bsd_to_linux_statfs() 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() 84 lsp->l_ffsid.val[0] = bsp->f_fsidx.__fsid_val[0]; in bsd_to_linux_statfs() 85 lsp->l_ffsid.val[1] = bsp->f_fsidx.__fsid_val[1]; in bsd_to_linux_statfs() [all …]
|
| H A D | linux_ipc.c | 500 linux_to_bsd_shmid_ds(struct linux_shmid_ds *lsp, struct shmid_ds *bsp) in linux_to_bsd_shmid_ds() argument 503 linux_to_bsd_ipc_perm(&lsp->l_shm_perm, &bsp->shm_perm); in linux_to_bsd_shmid_ds() 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() 507 bsp->shm_nattch = lsp->l_shm_nattch; 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() 510 bsp->shm_ctime = lsp->l_shm_ctime; in linux_to_bsd_shmid_ds() 514 linux_to_bsd_shmid64_ds(struct linux_shmid64_ds *lsp, struct shmid_ds *bsp) in linux_to_bsd_shmid64_ds() argument [all …]
|
| H A D | linux_file64.c | 82 bsd_to_linux_stat64(struct stat *bsp, struct linux_stat64 *lsp) in bsd_to_linux_stat64() argument 85 lsp->lst_dev = linux_fakedev(bsp->st_dev, 0); in bsd_to_linux_stat64() 86 lsp->lst_ino = bsp->st_ino; in bsd_to_linux_stat64() 87 lsp->lst_mode = (linux_mode_t)bsp->st_mode; in bsd_to_linux_stat64() 88 if (bsp->st_nlink >= (1 << 15)) in bsd_to_linux_stat64() 91 lsp->lst_nlink = (linux_nlink_t)bsp->st_nlink; 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() 94 lsp->lst_rdev = linux_fakedev(bsp->st_rdev, 1); in bsd_to_linux_stat64() 95 lsp->lst_size = bsp->st_size; in bsd_to_linux_stat64() [all …]
|
| H A D | linux_file.c | 486 bsd_to_linux_stat(struct stat *bsp, struct linux_stat *lsp) in bsd_to_linux_stat() 490 lsp->lst_dev = linux_fakedev(bsp->st_dev, 0); in bsd_to_linux_stat() 491 lsp->lst_ino = bsp->st_ino; in bsd_to_linux_stat() 492 lsp->lst_mode = (linux_mode_t)bsp->st_mode; in bsd_to_linux_stat() 493 if (bsp->st_nlink >= (1 << 15)) in bsd_to_linux_stat() 496 lsp->lst_nlink = (linux_nlink_t)bsp->st_nlink; in bsd_to_linux_stat() 497 lsp->lst_uid = bsp->st_uid; in bsd_to_linux_stat() 498 lsp->lst_gid = bsp->st_gid; 499 lsp->lst_rdev = linux_fakedev(bsp->st_rdev, 1); 500 lsp->lst_size = bsp 472 bsd_to_linux_stat(struct stat * bsp,struct linux_stat * lsp) bsd_to_linux_stat() argument [all...] |
| /netbsd-src/sys/compat/linux32/common/ |
| H A D | linux32_ipccall.c | 220 bsd_to_linux32_semid_ds(struct semid_ds *bsp, struct linux32_semid_ds *lsp) in bsd_to_linux32_semid_ds() argument 224 bsd_to_linux32_ipc_perm(&bsp->sem_perm, &lsp->l_sem_perm); in bsd_to_linux32_semid_ds() 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() 231 bsd_to_linux32_semid64_ds(struct semid_ds *bsp, struct linux32_semid64_ds *lsp) in bsd_to_linux32_semid64_ds() argument 235 bsd_to_linux32_ipc64_perm(&bsp->sem_perm, &lsp->l_sem_perm); in bsd_to_linux32_semid64_ds() 236 lsp->l_sem_otime = bsp->sem_otime; in bsd_to_linux32_semid64_ds() 237 lsp->l_sem_ctime = bsp->sem_ctime; in bsd_to_linux32_semid64_ds() 238 lsp->l_sem_nsems = bsp->sem_nsems; in bsd_to_linux32_semid64_ds() [all …]
|
| /netbsd-src/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 …]
|
| H A D | TODO | 4 - All Preserved Registers (ar.unat, ar.rnat, ar.lc, ar.fpsr, ar.bsp, ar.bspstore)
|
| /netbsd-src/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-src/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-src/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-src/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() 1639 addr = ia64_rse_skip_regs ((unw_word *) info->bsp, regnum - 32); in unw_access_gr() 1758 return (_Unwind_Ptr) context->bsp; in _Unwind_GetBSP() 1922 addr = ia64_rse_skip_regs ((unw_word *) context->bsp, rval - 32); in uw_update_reg_address() 2102 context->bsp = (unw_word) in uw_update_context() 2103 ia64_rse_skip_regs ((unw_word *) context->bsp, -sol); in uw_update_context() 2126 uw_init_context_1 (struct _Unwind_Context *context, void *bsp) in uw_init_context_1() argument 2147 context->bsp = (unw_word) bsp; in uw_init_context_1() [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-src/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() 1639 addr = ia64_rse_skip_regs ((unw_word *) info->bsp, regnum - 32); in unw_access_gr() 1758 return (_Unwind_Ptr) context->bsp; in _Unwind_GetBSP() 1922 addr = ia64_rse_skip_regs ((unw_word *) context->bsp, rval - 32); in uw_update_reg_address() 2102 context->bsp = (unw_word) in uw_update_context() 2103 ia64_rse_skip_regs ((unw_word *) context->bsp, -sol); in uw_update_context() 2126 uw_init_context_1 (struct _Unwind_Context *context, void *bsp) in uw_init_context_1() argument 2147 context->bsp = (unw_word) bsp; in uw_init_context_1() [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-src/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 199 if (/* .... */ asp->s_combo[us].s != bsp->s_combo[us].s) in better() 200 return asp->s_combo[us].s < bsp->s_combo[us].s; in better() 201 if (/* .... */ asp->s_level[us] != bsp->s_level[us]) in better() 202 return asp->s_level[us] < bsp->s_level[us]; in better() [all …]
|
| /netbsd-src/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-src/tests/usr.bin/xlint/lint1/ |
| H A D | d_c99_bool_strict.c | 552 struct bool_struct *bsp = &bs; in strict_bool_operand_binary_dot_arrow() local 553 b = bsp->b; in strict_bool_operand_binary_dot_arrow() 554 bsp->b = b; in strict_bool_operand_binary_dot_arrow() 556 bsp->b = 0; in strict_bool_operand_binary_dot_arrow()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/bsp/ |
| H A D | Kbuild | 2 nvkm-y += nvkm/engine/bsp/g84.o
|
| /netbsd-src/external/gpl3/gdb/dist/gdb/regformats/ |
| H A D | reg-ia64.dat | 2 expedite:ip,psr,r12,bsp,cfm 362 64:bsp
|
| /netbsd-src/external/gpl3/gdb.old/dist/gdb/regformats/ |
| H A D | reg-ia64.dat | 2 expedite:ip,psr,r12,bsp,cfm 362 64:bsp
|
| /netbsd-src/tests/lib/csu/arch/ia64/ |
| H A D | h_initfini_align.S | 18 mov loc1 = ar.bsp
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/radeon/ |
| H A D | rv6xx_dpm.h | 73 u32 bsp; member
|