Home
last modified time | relevance | path

Searched refs:drp (Results 1 – 23 of 23) sorted by relevance

/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs4_dispatch.c99 rfs4_dupreq_t *drp, *drp_next; in rfs4_fini_drc() local
104 for (drp = list_head(&(drc->dr_cache)); drp != NULL; drp = drp_next) { in rfs4_fini_drc()
106 if (drp->dr_state == NFS4_DUP_REPLAY) in rfs4_fini_drc()
107 rfs4_compound_free(&(drp->dr_res)); in rfs4_fini_drc()
109 if (drp->dr_addr.buf != NULL) in rfs4_fini_drc()
110 kmem_free(drp->dr_addr.buf, drp->dr_addr.maxlen); in rfs4_fini_drc()
112 drp_next = list_next(&(drc->dr_cache), drp); in rfs4_fini_drc()
114 kmem_free(drp, sizeof (rfs4_dupreq_t)); in rfs4_fini_drc()
132 rfs4_dr_chstate(rfs4_dupreq_t *drp, int new_state) in rfs4_dr_chstate() argument
136 ASSERT(drp); in rfs4_dr_chstate()
[all …]
H A Dnfs_vnops.c1699 rnode_t *drp; in nfs_lookup() local
1704 drp = VTOR(dvp); in nfs_lookup()
1720 if (nfs_rw_enter_sig(&drp->r_rwlock, RW_READER, INTR(dvp))) in nfs_lookup()
1729 nfs_rw_exit(&drp->r_rwlock); in nfs_lookup()
1737 drp = VTOR(dvp); in nfs_lookup()
1740 if (nfs_rw_enter_sig(&drp->r_rwlock, RW_READER, INTR(dvp))) { in nfs_lookup()
1747 nfs_rw_exit(&drp->r_rwlock); in nfs_lookup()
1977 rnode_t *drp; in nfs_create() local
1981 drp = VTOR(dvp); in nfs_create()
1985 if (nfs_rw_enter_sig(&drp->r_rwlock, RW_WRITER, INTR(dvp))) in nfs_create()
[all …]
H A Dnfs4_vnops.c625 rnode4_t *rp, *drp; in nfs4_open() local
652 drp = VTOR4(dvp); in nfs4_open()
653 if (nfs_rw_enter_sig(&drp->r_rwlock, RW_READER, INTR4(dvp))) in nfs4_open()
657 nfs_rw_exit(&drp->r_rwlock); in nfs4_open()
695 nfs_rw_exit(&drp->r_rwlock); in nfs4_open()
775 rnode4_t *drp = VTOR4(dvp); in nfs4open_otw() local
831 mutex_enter(&drp->r_statelock); in nfs4open_otw()
833 drp->r_attr.va_mode & VSGID) && in nfs4open_otw()
834 drp->r_attr.va_gid != GID_NOBODY) { in nfs4open_otw()
836 in_va->va_gid = drp->r_attr.va_gid; in nfs4open_otw()
[all …]
H A Dnfs3_vnops.c1930 rnode_t *drp; in nfs3_lookup() local
1935 drp = VTOR(dvp); in nfs3_lookup()
1951 if (nfs_rw_enter_sig(&drp->r_rwlock, RW_READER, INTR(dvp))) in nfs3_lookup()
1960 nfs_rw_exit(&drp->r_rwlock); in nfs3_lookup()
1968 drp = VTOR(dvp); in nfs3_lookup()
1971 if (nfs_rw_enter_sig(&drp->r_rwlock, RW_READER, INTR(dvp))) { in nfs3_lookup()
1978 nfs_rw_exit(&drp->r_rwlock); in nfs3_lookup()
2012 rnode_t *drp; in nfs3lookup() local
2056 drp = VTOR(dvp); in nfs3lookup()
2057 if (!(drp->r_flags & RLOOKUP)) { in nfs3lookup()
[all …]
H A Dnfs4_shadow.c177 rnode4_t *drp = VTOR4(dvp); in sv_find() local
200 if (sv_match(nm, drp->r_fh, master_svp)) { in sv_find()
214 if (sv_match(nm, drp->r_fh, svp)) { in sv_find()
H A Dnfs4_stub_vnops.c492 rnode4_t *drp = VTOR4(dvp); in nfs4_trigger_lookup() local
494 ASSERT(RP_ISSTUB(drp)); in nfs4_trigger_lookup()
502 if (RP_ISSTUB_MIRRORMOUNT(drp)) { in nfs4_trigger_lookup()
505 } else if (RP_ISSTUB_REFERRAL(drp)) { in nfs4_trigger_lookup()
1702 rnode4_t *drp; in nfs4_trigger_esi_create_referral() local
1723 drp = VTOR4(dvp); in nfs4_trigger_esi_create_referral()
1724 if (nfs_rw_enter_sig(&drp->r_rwlock, RW_READER, INTR4(dvp))) { in nfs4_trigger_esi_create_referral()
1730 nfs_rw_exit(&drp->r_rwlock); in nfs4_trigger_esi_create_referral()
1736 index = nfs4_process_referral(mi, drp->r_fh, fn, cr, in nfs4_trigger_esi_create_referral()
1738 nfs_rw_exit(&drp->r_rwlock); in nfs4_trigger_esi_create_referral()
H A Dnfs4_client_state.c2027 rnode4_t *rp = NULL, *drp = NULL; in nfs4_resend_open_otw() local
2066 drp = VTOR4(dvp); in nfs4_resend_open_otw()
2068 mutex_enter(&drp->r_statelock); in nfs4_resend_open_otw()
2069 if (drp->r_flags & R4RECOVERR) { in nfs4_resend_open_otw()
2070 mutex_exit(&drp->r_statelock); in nfs4_resend_open_otw()
2074 mutex_exit(&drp->r_statelock); in nfs4_resend_open_otw()
/titanic_41/usr/src/lib/libdtrace/common/
H A Ddt_regset.c45 dt_regset_t *drp = malloc(sizeof (dt_regset_t)); in dt_regset_create() local
47 if (drp == NULL) in dt_regset_create()
50 drp->dr_bitmap = malloc(sizeof (ulong_t) * n); in dt_regset_create()
51 drp->dr_size = nregs; in dt_regset_create()
53 if (drp->dr_bitmap == NULL) { in dt_regset_create()
54 dt_regset_destroy(drp); in dt_regset_create()
58 bzero(drp->dr_bitmap, sizeof (ulong_t) * n); in dt_regset_create()
59 return (drp); in dt_regset_create()
63 dt_regset_destroy(dt_regset_t *drp) in dt_regset_destroy() argument
65 free(drp->dr_bitmap); in dt_regset_destroy()
[all …]
H A Ddt_cg.c188 dt_cg_ptrsize(dt_node_t *dnp, dt_irlist_t *dlp, dt_regset_t *drp, in dt_cg_ptrsize() argument
215 sreg = dt_regset_alloc(drp); in dt_cg_ptrsize()
219 dt_regset_free(drp, sreg); in dt_cg_ptrsize()
240 dt_cg_field_get(dt_node_t *dnp, dt_irlist_t *dlp, dt_regset_t *drp, in dt_cg_field_get() argument
255 r2 = dt_regset_alloc(drp); in dt_cg_field_get()
298 dt_regset_free(drp, r2); in dt_cg_field_get()
325 dt_regset_t *drp, dt_node_t *dst) in dt_cg_field_set() argument
358 r1 = dt_regset_alloc(drp); in dt_cg_field_set()
359 r2 = dt_regset_alloc(drp); in dt_cg_field_set()
360 r3 = dt_regset_alloc(drp); in dt_cg_field_set()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Drdisc.c298 struct dr *drp; in set_supplier() local
310 for (drp = drs; drp < &drs[max_ads]; drp++) { in set_supplier()
311 drp->dr_recv_pref = DEF_PREFERENCELEVEL; in set_supplier()
312 drp->dr_life = 0; in set_supplier()
354 struct dr *drp; in rdisc_age() local
368 for (drp = drs; drp < &drs[max_ads]; drp++) { in rdisc_age()
369 if (drp->dr_ts == 0) in rdisc_age()
378 if (drp->dr_gate == bad_gate) { in rdisc_age()
379 sec = (now.tv_sec - drp->dr_life + in rdisc_age()
381 if (drp->dr_ts > sec) { in rdisc_age()
[all …]
H A Dtrace.c856 trace_dr(const struct dr *drp) in trace_dr() argument
863 drp->dr_ifp != NULL ? drp->dr_ifp->int_name : "?", in trace_dr()
864 naddr_ntoa(drp->dr_gate), ts(drp->dr_ts)); in trace_dr()
865 (void) fprintf(ftrace, "%s %d %u\n", ts(drp->dr_life), in trace_dr()
866 SIGN_PREF(drp->dr_recv_pref), drp->dr_pref); in trace_dr()
/titanic_41/usr/src/cmd/pcidr/
H A Dpcidr_common.c247 pcidr_check_attrs(pcidr_attrs_t *drp) in pcidr_check_attrs() argument
254 val = drp->class; in pcidr_check_attrs()
262 val = drp->subclass; in pcidr_check_attrs()
270 val = drp->pub_name; in pcidr_check_attrs()
278 val = drp->dr_req_type; in pcidr_check_attrs()
287 val = drp->dr_ap_id; in pcidr_check_attrs()
288 if (pcidr_check_string(drp->dr_ap_id, NULL) != 0) { in pcidr_check_attrs()
304 pcidr_get_attrs(nvlist_t *attrlistp, pcidr_attrs_t *drp) in pcidr_get_attrs() argument
311 r = nvlist_lookup_string(attrlistp, name, &drp->class); in pcidr_get_attrs()
319 r = nvlist_lookup_string(attrlistp, name, &drp->subclass); in pcidr_get_attrs()
[all …]
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dbios.c258 } __attribute__ ((packed)) drp; in get_diskinfo() local
261 grub_memset (&drp, 0, sizeof (drp)); in get_diskinfo()
269 drp.size = sizeof (drp) - sizeof (drp.dummy); in get_diskinfo()
271 err = biosdisk_int13_extensions (0x4800, drive, &drp); in get_diskinfo()
281 if (drp.total_sectors) in get_diskinfo()
282 total_sectors = drp.total_sectors; in get_diskinfo()
287 total_sectors = (unsigned long long)drp.cylinders * in get_diskinfo()
288 drp.heads * drp.sectors; in get_diskinfo()
/titanic_41/usr/src/cmd/svr4pkg/libinst/
H A Disreloc.c72 struct dirent *drp; in isreloc() local
78 while ((drp = readdir(dirfp)) != NULL) { in isreloc()
79 if (drp->d_name[0] == '.') in isreloc()
81 if (strlen(drp->d_name) < (size_t)5) in isreloc()
83 if (strncmp(drp->d_name, "reloc", 5) == 0) { in isreloc()
H A Ddockdeps.c378 struct dirent *drp; in ckrdeps() local
386 while ((drp = readdir(dirfp)) != NULL) { in ckrdeps()
387 if (drp->d_name[0] == '.') in ckrdeps()
390 if (strcmp(drp->d_name, rmpkginst) == 0) in ckrdeps()
393 "%s/%s/%s", pkgdir, drp->d_name, DEPEND_FILE); in ckrdeps()
397 ckpreq(fp, drp->d_name, a_preinstallCheck); in ckrdeps()
/titanic_41/usr/src/cmd/svr4pkg/pkgchk/
H A Dckentry.c211 struct dirent *drp; in xdir() local
226 while ((drp = readdir(dirfp)) != NULL) { in xdir()
227 if (strcmp(drp->d_name, ".") == NULL || in xdir()
228 strcmp(drp->d_name, "..") == NULL) in xdir()
231 dirname, drp->d_name); in xdir()
249 if (strcmp(drp->d_name, &mine.path[len+1]) == in xdir()
/titanic_41/usr/src/cmd/svr4pkg/pkginfo/
H A Dpkginfo.c601 struct dirent *drp; in look_for_installed() local
609 while (drp = readdir(dirfp)) { in look_for_installed()
610 if (drp->d_name[0] == '.') in look_for_installed()
613 if (pkgcnt && (selectp(drp->d_name) < 0)) in look_for_installed()
616 if (!pkginfofind(path, pkgdir, drp->d_name)) in look_for_installed()
619 (void) fpkg(drp->d_name); in look_for_installed()
/titanic_41/usr/src/uts/common/fs/zfs/
H A Ddbuf.c1144 dbuf_dirty_record_t **drp, *dr; in dbuf_dirty() local
1203 drp = &db->db_last_dirty; in dbuf_dirty()
1204 ASSERT(*drp == NULL || (*drp)->dr_txg <= tx->tx_txg || in dbuf_dirty()
1206 while ((dr = *drp) != NULL && dr->dr_txg > tx->tx_txg) in dbuf_dirty()
1207 drp = &dr->dr_next; in dbuf_dirty()
1305 dr->dr_next = *drp; in dbuf_dirty()
1306 *drp = dr; in dbuf_dirty()
1429 dbuf_dirty_record_t *dr, **drp; in dbuf_undirty() local
1449 for (drp = &db->db_last_dirty; (dr = *drp) != NULL; drp = &dr->dr_next) in dbuf_undirty()
1467 *drp = dr->dr_next; in dbuf_undirty()
[all …]
H A Ddmu_objset.c1319 dbuf_dirty_record_t *dr, **drp; in dmu_objset_userquota_find_data() local
1325 for (drp = &db->db_last_dirty; (dr = *drp) != NULL; drp = &dr->dr_next) in dmu_objset_userquota_find_data()
/titanic_41/usr/src/cmd/svr4pkg/pkginstall/
H A Dinstvol.c1175 struct dirent *drp; in dir_is_populated() local
1179 while ((drp = readdir(dirfp)) != NULL) { in dir_is_populated()
1180 if (strcmp(drp->d_name, ".") == 0) { in dir_is_populated()
1183 if (strcmp(drp->d_name, "..") == 0) { in dir_is_populated()
/titanic_41/usr/src/cmd/dtrace/test/tst/
H A DMakefile.com43 -o -name err.*.ksh -o -name tst.*.ksh.out -o -name drp.*.d \
/titanic_41/usr/src/uts/sun4v/io/
H A Dvsw_ldc.c4876 dring_info_t *drp = lp->dringp; in display_lane() local
4886 drp->num_descriptors, drp->descriptor_size); in display_lane()
4887 cmn_err(CE_CONT, "\thandle 0x%lx\n", drp->dring_handle); in display_lane()
4889 (uint64_t)drp->pub_addr, (uint64_t)drp->priv_addr); in display_lane()
4891 drp->ident, drp->end_idx); in display_lane()
4892 display_ring(drp); in display_lane()
/titanic_41/usr/src/pkg/manifests/
H A Dsystem-dtrace-tests.mf553 file path=opt/SUNWdtrt/tst/common/drops/drp.DTRACEDROP_AGGREGATION.d mode=0444
554 file path=opt/SUNWdtrt/tst/common/drops/drp.DTRACEDROP_DBLERROR.d mode=0444
555 file path=opt/SUNWdtrt/tst/common/drops/drp.DTRACEDROP_DYNAMIC.d mode=0444
556 file path=opt/SUNWdtrt/tst/common/drops/drp.DTRACEDROP_PRINCIPAL.d mode=0444
557 file path=opt/SUNWdtrt/tst/common/drops/drp.DTRACEDROP_PRINCIPAL.end.d \
559 file path=opt/SUNWdtrt/tst/common/drops/drp.DTRACEDROP_SPEC.d mode=0444
560 file path=opt/SUNWdtrt/tst/common/drops/drp.DTRACEDROP_SPECUNAVAIL.d mode=0444
561 file path=opt/SUNWdtrt/tst/common/drops/drp.DTRACEDROP_STKSTROVERFLOW.d \