Home
last modified time | relevance | path

Searched refs:osp (Results 1 – 25 of 47) sorted by relevance

12

/titanic_50/usr/src/uts/common/fs/nfs/
H A Dnfs4_client_state.c153 nfs4_open_stream_t *osp; in nfs4_clear_open_streams() local
156 while ((osp = list_head(&rp->r_open_streams)) != NULL) { in nfs4_clear_open_streams()
157 open_owner_rele(osp->os_open_owner); in nfs4_clear_open_streams()
158 list_remove(&rp->r_open_streams, osp); in nfs4_clear_open_streams()
159 mutex_destroy(&osp->os_sync_lock); in nfs4_clear_open_streams()
160 osp->os_open_owner = NULL; in nfs4_clear_open_streams()
161 kmem_free(osp, sizeof (*osp)); in nfs4_clear_open_streams()
202 open_stream_hold(nfs4_open_stream_t *osp) in open_stream_hold() argument
204 mutex_enter(&osp->os_sync_lock); in open_stream_hold()
205 osp->os_ref_count++; in open_stream_hold()
[all …]
H A Dnfs4_vnops.c799 nfs4_open_stream_t *osp = NULL; in nfs4open_otw() local
1462 osp = find_or_create_open_stream(oop, rp, &created_osp); in nfs4open_otw()
1463 if (!osp) { in nfs4open_otw()
1488 osp->open_stateid = op_res->stateid; in nfs4open_otw()
1491 osp->os_share_acc_read++; in nfs4open_otw()
1493 osp->os_share_acc_write++; in nfs4open_otw()
1494 osp->os_share_deny_none++; in nfs4open_otw()
1501 ASSERT(osp->os_open_owner->oo_seqid_inuse); in nfs4open_otw()
1502 osp->os_final_close = 0; in nfs4open_otw()
1503 osp->os_force_close = 0; in nfs4open_otw()
[all …]
H A Dnfs4_rnode.c1685 nfs4_open_stream_t *osp; in r4mkopenlist() local
1707 for (osp = list_head(&rp->r_open_streams); osp != NULL; in r4mkopenlist()
1708 osp = list_next(&rp->r_open_streams, osp)) { in r4mkopenlist()
1709 mutex_enter(&osp->os_sync_lock); in r4mkopenlist()
1710 if (osp->os_valid && !osp->os_pending_close) in r4mkopenlist()
1712 mutex_exit(&osp->os_sync_lock); in r4mkopenlist()
1736 for (osp = list_head(&rp->r_open_streams); in r4mkopenlist()
1737 osp != NULL; in r4mkopenlist()
1738 osp = list_next(&rp->r_open_streams, osp)) { in r4mkopenlist()
1740 mutex_enter(&osp->os_sync_lock); in r4mkopenlist()
[all …]
/titanic_50/usr/src/cmd/sgs/libld/common/
H A Dplace.c50 set_addralign(Ofl_desc *ofl, Os_desc *osp, Is_desc *isp) in set_addralign() argument
64 osp->os_sgdesc->sg_flags |= FLG_SG_PHREQ; in set_addralign()
67 (osp->os_sgdesc->sg_phdr).p_type != PT_LOAD) in set_addralign()
70 osp->os_sgdesc->sg_align = in set_addralign()
71 ld_lcm(osp->os_sgdesc->sg_align, shdr->sh_addralign); in set_addralign()
80 ld_os_first_isdesc(Os_desc *osp) in ld_os_first_isdesc() argument
85 APlist *ap_isdesc = osp->os_isdescs[i]; in ld_os_first_isdesc()
113 os_attach_isp(Ofl_desc *ofl, Os_desc *osp, Is_desc *isp, int mapfile_sort) in os_attach_isp() argument
133 APlist *ap_isdesc = osp->os_isdescs[OS_ISD_DEFAULT]; in os_attach_isp()
143 &osp->os_isdescs[OS_ISD_DEFAULT], in os_attach_isp()
[all …]
H A Doutfile.c219 Os_desc *osp; in pad_outfile() local
255 for (APLIST_TRAVERSE(sgp->sg_osdescs, idx2, osp)) { in pad_outfile()
256 Shdr *shdr = osp->os_shdr; in pad_outfile()
277 oscn = osp->os_scn; in pad_outfile()
287 create_outsec(Ofl_desc *ofl, Sg_desc *sgp, Os_desc *osp, Word ptype, int shidx, in create_outsec() argument
301 osp->os_scn = scn; in create_outsec()
312 *shdr = *(osp->os_shdr); in create_outsec()
313 osp->os_shdr = shdr; in create_outsec()
332 osp->os_shdr->sh_flags &= ~(ALL_SHF_ORDER|SHF_GROUP); in create_outsec()
341 (osp->os_shdr->sh_flags & SHF_TLS) && in create_outsec()
[all …]
H A Dorder.c299 Os_desc *osp; in ld_process_ordered() local
335 if ((osp = isp->is_osdesc) == NULL) { in ld_process_ordered()
336 osp = ld_place_section(ofl, isp, path_info, isp->is_keyident, in ld_process_ordered()
338 if ((osp == (Os_desc *)S_ERROR) || (osp == NULL)) in ld_process_ordered()
339 return ((uintptr_t)osp); in ld_process_ordered()
346 if (aplist_test(&ofl->ofl_ordered, osp, AL_CNT_OFL_ORDERED) == in ld_process_ordered()
380 return ((uintptr_t)osp); in ld_process_ordered()
397 Os_desc *osp; in ld_sec_validate() local
410 for (APLIST_TRAVERSE(sgp->sg_osdescs, idx2, osp)) { in ld_sec_validate()
414 if ((osp->os_flags & FLG_OS_KEY) == 0) in ld_sec_validate()
[all …]
H A Dunwind.c329 Os_desc *osp; in ld_unwind_make_hdr() local
376 for (APLIST_TRAVERSE(ofl->ofl_unwind, idx1, osp)) { in ld_unwind_make_hdr()
380 OS_ISDESCS_TRAVERSE(os_isdescs_idx, osp, idx2, isp) { in ld_unwind_make_hdr()
491 Os_desc *osp; in ld_unwind_populate_hdr() local
537 for (APLIST_TRAVERSE(ofl->ofl_unwind, idx, osp)) { in ld_unwind_populate_hdr()
550 first_unwind = osp; in ld_unwind_populate_hdr()
552 data = osp->os_outdata->d_buf; in ld_unwind_populate_hdr()
553 shdr = osp->os_shdr; in ld_unwind_populate_hdr()
610 osp->os_name); in ld_unwind_populate_hdr()
619 osp->os_name); in ld_unwind_populate_hdr()
[all …]
H A Dsections.c97 Os_desc *osp; in ignore_sym() local
151 ((osp = isp->is_osdesc) != 0) && in ignore_sym()
152 (osp->os_sgdesc->sg_phdr.p_type == PT_LOAD)) { in ignore_sym()
167 Os_desc *osp = isp->is_osdesc; in isdesc_discarded() local
168 Word ptype = osp->os_sgdesc->sg_phdr.p_type; in isdesc_discarded()
208 Os_desc *osp; in adjust_os_count() local
222 for (APLIST_TRAVERSE(sgp->sg_osdescs, idx2, osp)) { in adjust_os_count()
226 OS_ISDESCS_TRAVERSE(os_isdescs_idx, osp, idx3, isp) { in adjust_os_count()
246 osp->os_name); in adjust_os_count()
275 Os_desc *osp; in ignore_section_processing() local
[all …]
H A Dldentry.c83 Os_desc *osp; in ld_map_out() local
89 for (APLIST_TRAVERSE(sgp->sg_osdescs, idx2, osp)) { in ld_map_out()
94 osp->os_name, EC_ADDR(osp->os_shdr->sh_addr), in ld_map_out()
95 EC_XWORD(osp->os_shdr->sh_size)); in ld_map_out()
97 OS_ISDESCS_TRAVERSE(os_isdescs_idx, osp, idx3, isp) { in ld_map_out()
H A Dupdate.c175 Os_desc *osp, *iosp = NULL, *fosp = NULL; in update_osym() local
382 Os_desc *osp; in update_osym() local
400 for (APLIST_TRAVERSE(sgp->sg_osdescs, idx2, osp)) { in update_osym()
404 sym->st_value = osp->os_shdr->sh_addr; in update_osym()
407 sectndx = elf_ndxscn(osp->os_scn); in update_osym()
420 if (dynsym && (osp->os_flags & FLG_OS_OUTREL)) in update_osym()
424 (osp->os_flags & FLG_OS_OUTREL)) { in update_osym()
427 osp->os_identndx = *symndx - 1; in update_osym()
429 osp->os_identndx, sgp, osp)); in update_osym()
435 (void) st_setstring(shstrtab, osp->os_name, &stoff); in update_osym()
[all …]
H A Dmachrel.intel.c65 Os_desc *osp = ofl->ofl_osgot; in ld_calc_got_offset() local
89 return ((Xword)(osp->os_shdr->sh_addr + (gotndx * M_GOT_ENTSIZE))); in ld_calc_got_offset()
227 Os_desc * relosp, * osp = 0; in ld_perform_outreloc() local
276 osp = ofl->ofl_osgot; in ld_perform_outreloc()
284 osp = ofl->ofl_osplt; in ld_perform_outreloc()
288 plt_entry(ofl, osp->os_relosdesc->os_szoutrels, sdp); in ld_perform_outreloc()
295 osp = ofl->ofl_isbss->is_osdesc; in ld_perform_outreloc()
298 osp = RELAUX_GET_OSDESC(orsp); in ld_perform_outreloc()
312 if ((osp == 0) || ((relosp = osp->os_relosdesc) == 0)) in ld_perform_outreloc()
381 osp = ofl->ofl_osgot; in ld_perform_outreloc()
[all …]
H A Dmachrel.amd.c96 Os_desc *osp = ofl->ofl_osgot; in ld_calc_got_offset() local
120 return ((Xword)(osp->os_shdr->sh_addr + (gotndx * M_GOT_ENTSIZE))); in ld_calc_got_offset()
283 Os_desc * relosp, * osp = 0; in ld_perform_outreloc() local
354 osp = ofl->ofl_osgot; in ld_perform_outreloc()
362 osp = ofl->ofl_osplt; in ld_perform_outreloc()
374 osp = ofl->ofl_isbss->is_osdesc; in ld_perform_outreloc()
383 osp = RELAUX_GET_OSDESC(orsp); in ld_perform_outreloc()
397 if ((osp == 0) || ((relosp = osp->os_relosdesc) == 0)) in ld_perform_outreloc()
462 osp = ofl->ofl_osgot; in ld_perform_outreloc()
464 ld_reloc_remain_entry(orsp, osp, ofl, remain_seen); in ld_perform_outreloc()
[all …]
H A Dmachrel.sparc.c75 Os_desc *osp = ofl->ofl_osgot; in ld_calc_got_offset() local
99 return ((Xword)((osp->os_shdr->sh_addr) + (gotndx * M_GOT_ENTSIZE) + in ld_calc_got_offset()
586 Os_desc *relosp, *osp = NULL; in ld_perform_outreloc() local
679 osp = ofl->ofl_osgot; in ld_perform_outreloc()
683 osp = ofl->ofl_osplt; in ld_perform_outreloc()
690 osp = ofl->ofl_isbss->is_osdesc; in ld_perform_outreloc()
706 osp = RELAUX_GET_OSDESC(orsp); in ld_perform_outreloc()
720 if ((osp == 0) || ((relosp = osp->os_relosdesc) == 0)) in ld_perform_outreloc()
804 ld_reloc_remain_entry(orsp, osp, ofl, remain_seen); in ld_perform_outreloc()
1067 Os_desc *osp; in ld_do_activerelocs() local
[all …]
H A Drelocate.c734 ld_reloc_set_aux_osdesc(Ofl_desc *ofl, Rel_desc *rdesc, Os_desc *osp) in ld_reloc_set_aux_osdesc() argument
736 PROCESS_NULL_REL_AUX(RELAUX_ISDEFAULT_OSDESC(rdesc, osp)) in ld_reloc_set_aux_osdesc()
737 rdesc->rel_aux->ra_osdesc = osp; in ld_reloc_set_aux_osdesc()
2207 Os_desc *osp; in reloc_segments() local
2213 for (APLIST_TRAVERSE(sgp->sg_osdescs, idx2, osp)) { in reloc_segments()
2217 osp->os_szoutrels = 0; in reloc_segments()
2218 for (APLIST_TRAVERSE(osp->os_relisdescs, idx3, risp)) { in reloc_segments()
2235 if (reloc_section(ofl, isp, risp, osp) == in reloc_segments()
2244 if (osp->os_szoutrels && in reloc_segments()
2663 Os_desc *osp; in ld_reloc_process() local
[all …]
/titanic_50/usr/src/cmd/sgs/liblddbg/common/
H A Dsections.c95 Dbg_sec_strtab(Lm_list *lml, Os_desc *osp, Str_tbl *stp) in Dbg_sec_strtab() argument
102 if (!osp) in Dbg_sec_strtab()
107 dbg_print(lml, MSG_INTL(MSG_SEC_STRTAB_COMP), osp->os_name, in Dbg_sec_strtab()
110 dbg_print(lml, MSG_INTL(MSG_SEC_STRTAB_STND), osp->os_name, in Dbg_sec_strtab()
118 dbg_print(lml, MSG_INTL(MSG_SEC_STRTAB_HD), osp->os_name, in Dbg_sec_strtab()
232 Dbg_sec_added(Lm_list *lml, Os_desc *osp, Sg_desc *sgp) in Dbg_sec_added() argument
237 dbg_print(lml, MSG_INTL(MSG_SEC_ADDED), osp->os_name, in Dbg_sec_added()
242 Dbg_sec_created(Lm_list *lml, Os_desc *osp, Sg_desc *sgp) in Dbg_sec_created() argument
247 dbg_print(lml, MSG_INTL(MSG_SEC_CREATED), osp->os_name, in Dbg_sec_created()
326 Os_desc *osp; in Dbg_sec_order_list() local
[all …]
H A Drelocate.c140 Dbg_reloc_generate(Lm_list *lml, Os_desc *osp, Word type) in Dbg_reloc_generate() argument
146 dbg_print(lml, MSG_INTL(MSG_REL_GENERATE), osp->os_name); in Dbg_reloc_generate()
169 Dbg_reloc_proc(Lm_list *lml, Os_desc *osp, Is_desc *isp, Is_desc *risp) in Dbg_reloc_proc() argument
176 if (osp && osp->os_name) in Dbg_reloc_proc()
177 str1 = osp->os_name; in Dbg_reloc_proc()
216 Os_desc *osp; in Dbg_reloc_doact() local
223 osp = RELAUX_GET_OSDESC(rdesc); in Dbg_reloc_doact()
224 if (osp) { in Dbg_reloc_doact()
225 secname = osp->os_name; in Dbg_reloc_doact()
226 off += osp->os_shdr->sh_offset; in Dbg_reloc_doact()
[all …]
H A Dsegments.c141 Dbg_seg_os(Ofl_desc *ofl, Os_desc *osp, int ndx) in Dbg_seg_os() argument
155 dbg_print(lml, MSG_ORIG(MSG_SEC_NAME), ndx, osp->os_name); in Dbg_seg_os()
157 ofl->ofl_dehdr->e_machine, osp->os_shdr); in Dbg_seg_os()
160 shdr = osp->os_shdr; in Dbg_seg_os()
161 data = osp->os_outdata; in Dbg_seg_os()
170 OS_ISDESCS_TRAVERSE(os_isdescs_idx, osp, idx, isp) { in Dbg_seg_os()
/titanic_50/usr/src/uts/i86pc/cpu/amd_opteron/
H A Dao_main.c60 struct ao_chipshared *sp, *osp; in ao_ms_init() local
100 osp = atomic_cas_ptr(&ao_shared[chipid], NULL, sp); in ao_ms_init()
101 if (osp != NULL) { in ao_ms_init()
103 sp = osp; in ao_ms_init()
/titanic_50/usr/src/uts/common/fs/zfs/sys/
H A Ddmu_objset.h142 int dmu_objset_hold(const char *name, void *tag, objset_t **osp);
144 boolean_t readonly, void *tag, objset_t **osp);
146 dmu_objset_type_t type, boolean_t readonly, void *tag, objset_t **osp);
150 int dmu_objset_from_ds(struct dsl_dataset *ds, objset_t **osp);
170 objset_t **osp);
/titanic_50/usr/src/uts/i86pc/cpu/generic_cpu/
H A Dgcpu_main.c63 struct gcpu_chipshared *sp, *osp; in gcpu_init() local
87 osp = atomic_cas_ptr(&gcpu_shared[chipid], NULL, sp); in gcpu_init()
88 if (osp != NULL) { in gcpu_init()
92 sp = osp; in gcpu_init()
/titanic_50/usr/src/uts/common/fs/zfs/
H A Ddmu_traverse.c350 objset_phys_t *osp = buf->b_data; in traverse_visitbp() local
351 prefetch_dnode_metadata(td, &osp->os_meta_dnode, zb->zb_objset, in traverse_visitbp()
359 if (osp->os_meta_dnode.dn_maxblkid == 0) in traverse_visitbp()
363 prefetch_dnode_metadata(td, &osp->os_groupused_dnode, in traverse_visitbp()
365 prefetch_dnode_metadata(td, &osp->os_userused_dnode, in traverse_visitbp()
369 err = traverse_dnode(td, &osp->os_meta_dnode, zb->zb_objset, in traverse_visitbp()
372 err = traverse_dnode(td, &osp->os_groupused_dnode, in traverse_visitbp()
376 err = traverse_dnode(td, &osp->os_userused_dnode, in traverse_visitbp()
586 objset_phys_t *osp; in traverse_impl() local
595 osp = buf->b_data; in traverse_impl()
[all …]
H A Ddmu_objset.c285 objset_phys_t *osp = buf; in dmu_objset_byteswap() local
288 dnode_byteswap(&osp->os_meta_dnode); in dmu_objset_byteswap()
289 byteswap_uint64_array(&osp->os_zil_header, sizeof (zil_header_t)); in dmu_objset_byteswap()
290 osp->os_type = BSWAP_64(osp->os_type); in dmu_objset_byteswap()
291 osp->os_flags = BSWAP_64(osp->os_flags); in dmu_objset_byteswap()
293 dnode_byteswap(&osp->os_userused_dnode); in dmu_objset_byteswap()
294 dnode_byteswap(&osp->os_groupused_dnode); in dmu_objset_byteswap()
300 objset_t **osp) in dmu_objset_open_impl() argument
477 *osp = os; in dmu_objset_open_impl()
482 dmu_objset_from_ds(dsl_dataset_t *ds, objset_t **osp) in dmu_objset_from_ds() argument
[all …]
/titanic_50/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dnewterm.c207 SCREEN *sp, *osp; in newterm() local
329 osp = set_term(sp); in newterm()
396 (void) set_term(osp); in newterm()
439 SCREEN *osp = __m_screen; in set_term() local
452 return (osp); in set_term()
/titanic_50/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dnewterm.c207 SCREEN *sp, *osp; local
334 osp = set_term(sp);
379 (void) set_term(osp);
430 SCREEN *osp = __m_screen; local
446 return __m_return_pointer("set_term", osp);
/titanic_50/usr/src/uts/common/fs/getgen/
H A Dgetgen.c40 objset_t *osp; in gg_ioc_get_gen() local
84 osp = zfsvfs->z_os; in gg_ioc_get_gen()
85 ret = sa_setup(osp, gg.inode, zfs_attr_table, ZPL_END, in gg_ioc_get_gen()
89 ret = sa_buf_hold(osp, gg.inode, FTAG, &db); in gg_ioc_get_gen()
101 ret = sa_handle_get(osp, gg.inode, NULL, SA_HDL_PRIVATE, &hdl); in gg_ioc_get_gen()

12