Home
last modified time | relevance | path

Searched refs:basep (Results 1 – 25 of 31) sorted by relevance

12

/titanic_41/usr/src/lib/libast/common/string/
H A Dstrtoi.h197 S2I_function(const char* a, size_t size, char** e, char* basep, int m) in S2I_function() argument
199 S2I_function(a, size, e, basep, m) const char* a; size_t size; char** e; char* basep; int m; in S2I_function()
211 S2I_function(const char* a, char** e, char* basep, int m)
213 S2I_function(a, e, basep, m) const char* a; char** e; char* basep; int m;
249 base = basep ? *((unsigned char*)basep) : 0;
317 if (basep)
318 *basep = base;
570 if (basep)
571 *basep = 10;
/titanic_41/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_ctxbuf.c61 ctx->basep = buf; in smb_ctxbuf_init()
80 if (ctx == 0 || ctx->basep == 0 || in smb_ctxbuf_len()
85 return (ctx->curp - ctx->basep); in smb_ctxbuf_len()
106 if (ctx == 0 || ctx->basep == 0 || in smb_ctxbuf_printf()
H A Dlibsmb.h243 unsigned char *basep; member
/titanic_41/usr/src/lib/libdevinfo/
H A Ddevinfo_dli.c70 char *basep; in di_dli_name() local
72 basep = basename(path); in di_dli_name()
73 dlipathsz = strlen(basep) + dliroot_len + 1; in di_dli_name()
76 (void) snprintf(dlipath, dlipathsz, "%s%s", dliroot, basep); in di_dli_name()
/titanic_41/usr/src/lib/libdiskmgt/common/
H A Dfindevs.c1293 char *basep; in fix_cluster_devpath() local
1309 basep = strrchr(devlink_path, '/'); in fix_cluster_devpath()
1310 if (basep == NULL) { in fix_cluster_devpath()
1311 basep = devlink_path; in fix_cluster_devpath()
1313 basep++; in fix_cluster_devpath()
1318 while (*basep != 0 && *basep != 's' && cnt < size) { in fix_cluster_devpath()
1319 *namep++ = *basep++; in fix_cluster_devpath()
1379 char *basep; in get_disk_name_from_path() local
1382 basep = strrchr(path, '/'); in get_disk_name_from_path()
1383 if (basep == NULL) { in get_disk_name_from_path()
[all …]
/titanic_41/usr/src/common/util/
H A Dqsort.c109 void *basep, in qsort() argument
154 if ((((uintptr_t)basep & (sizeof (uint64_t) - 1)) == 0) && in qsort()
158 } else if ((((uintptr_t)basep & (sizeof (uint32_t) - 1)) == 0) && in qsort()
162 } else if ((((uintptr_t)basep & (sizeof (uint32_t) - 1)) == 0) && in qsort()
185 sp->b_lim = (char *)basep; in qsort()
/titanic_41/usr/src/uts/sun4v/io/
H A Dvio_util.c75 vmplp->basep = kmem_zalloc(num_mblks * sizeof (vio_mblk_t), KM_SLEEP); in vio_create_mblks()
92 vmp = &(vmplp->basep[i]); in vio_create_mblks()
179 vmp = &(vmplp->basep[i]); in vio_destroy_mblks()
192 kmem_free(vmplp->basep, num_mblks * sizeof (vio_mblk_t)); in vio_destroy_mblks()
280 vmp = &(vmplp->basep[i]); in vio_clobber_pool()
/titanic_41/usr/src/lib/libnsl/rpc/
H A Dxdr_array.c133 xdr_vector(XDR *xdrs, char *basep, const uint_t nelem, in xdr_vector() argument
145 elptr = basep; in xdr_vector()
/titanic_41/usr/src/uts/common/sys/
H A Dvmsystm.h129 extern int valid_va_range(caddr_t *basep, size_t *lenp, size_t minlen,
131 extern int valid_va_range_aligned(caddr_t *basep, size_t *lenp,
H A Dsunndi.h745 ndi_ra_alloc(dev_info_t *dip, ndi_ra_request_t *req, uint64_t *basep,
/titanic_41/usr/src/lib/libtnf/
H A Darray.c69 struct taginfo **basep, in get_array_info() argument
84 *basep = base; in get_array_info()
/titanic_41/usr/src/uts/common/vm/
H A Das.h284 int as_gap(struct as *as, size_t minlen, caddr_t *basep, size_t *lenp,
286 int as_gap_aligned(struct as *as, size_t minlen, caddr_t *basep,
290 int as_memory(struct as *as, caddr_t *basep, size_t *lenp);
H A Dvm_as.c1905 as_gap_aligned(struct as *as, size_t minlen, caddr_t *basep, size_t *lenp, in as_gap_aligned() argument
1908 caddr_t lobound = *basep; in as_gap_aligned()
1919 save_base = *basep; in as_gap_aligned()
1941 if (valid_va_range_aligned(basep, lenp, minlen, flags & AH_DIR, in as_gap_aligned()
1947 *basep = save_base; in as_gap_aligned()
2015 *basep = lo; in as_gap_aligned()
2017 if (*lenp >= minlen && valid_va_range_aligned(basep, lenp, in as_gap_aligned()
2020 (*basep <= addr && *basep + *lenp > addr))) { in as_gap_aligned()
2052 *basep = save_base; in as_gap_aligned()
2076 as_gap(struct as *as, size_t minlen, caddr_t *basep, size_t *lenp, uint_t flags, in as_gap() argument
[all …]
/titanic_41/usr/src/uts/sun4/vm/
H A Dvm_dep.c269 valid_va_range_aligned(caddr_t *basep, size_t *lenp, size_t minlen, int dir, in valid_va_range_aligned() argument
279 lo = *basep; in valid_va_range_aligned()
349 *basep = lo; in valid_va_range_aligned()
361 valid_va_range(caddr_t *basep, size_t *lenp, size_t minlen, int dir) in valid_va_range() argument
363 return (valid_va_range_aligned(basep, lenp, minlen, dir, 0, 0, 0)); in valid_va_range()
/titanic_41/usr/src/uts/sun4/os/
H A Dmemnode.c301 mem_node_max_range(pfn_t *basep, pfn_t *maxp) in mem_node_max_range() argument
316 *basep = base; in mem_node_max_range()
/titanic_41/usr/src/uts/sun4v/sys/
H A Dvio_util.h125 vio_mblk_t *basep; /* base pointer to pool of vio_mblks */ member
/titanic_41/usr/src/uts/common/os/
H A Dgrow.c502 caddr_t basep = (caddr_t)(uintptr_t)((uintptr_t)*addrp & PAGEMASK); in choose_addr() local
509 } else if (basep != NULL && ((flags & MAP_ALIGN) == 0) && in choose_addr()
510 !as_gap(as, len, &basep, &lenp, 0, *addrp)) { in choose_addr()
512 *addrp = basep; in choose_addr()
/titanic_41/usr/src/uts/common/rpc/
H A Dxdr.c644 xdr_vector(XDR *xdrs, char *basep, const uint_t nelem, in xdr_vector() argument
650 elptr = basep; in xdr_vector()
/titanic_41/usr/src/uts/sun4u/starcat/sys/
H A Diosramvar.h197 uint8_t *basep; /* kvaddr for this IOSRAM chunk */ member
/titanic_41/usr/src/uts/sun4u/starcat/io/
H A Diosram.c725 iosramp = chunkp->basep + off; in iosram_rd()
933 iosramp = chunkp->basep + off; in _iosram_write()
2808 chunkp->basep = softp->iosramp + chunkp->toc_data.off; in iosram_read_toc()
2813 (void *)chunkp->basep)); in iosram_read_toc()
2830 flagsp = (iosram_flags_t *)chunkp->basep; in iosram_read_toc()
2931 chunkp->basep = softp->iosramp + chunkp->toc_data.off; in iosram_update_addrs()
2933 flagsp = (iosram_flags_t *)(chunkp->basep); in iosram_update_addrs()
/titanic_41/usr/src/cmd/mdb/common/mdb/
H A Dmdb_ctf.c638 mdb_ctf_impl_t *basep = (mdb_ctf_impl_t *)&base; in type_cb() local
659 if (basep->mci_fp != tvp->tv_fp && mdb_ctf_type_valid(base)) { in type_cb()
664 tv.tv_fp = basep->mci_fp; in type_cb()
670 ret = ctf_type_visit(basep->mci_fp, basep->mci_id, in type_cb()
/titanic_41/usr/src/uts/common/cpr/
H A Dcpr_misc.c46 #define cpr_rdwr(rw, vp, basep, cnt) (vn_rdwr(rw, vp, (caddr_t)(basep), \ argument
/titanic_41/usr/src/uts/i86pc/vm/
H A Dvm_machdep.c804 valid_va_range_aligned(caddr_t *basep, size_t *lenp, size_t minlen, int dir, in valid_va_range_aligned() argument
814 lo = (uintptr_t)*basep; in valid_va_range_aligned()
889 *basep = (caddr_t)lo; in valid_va_range_aligned()
901 valid_va_range(caddr_t *basep, size_t *lenp, size_t minlen, int dir) in valid_va_range() argument
903 return (valid_va_range_aligned(basep, lenp, minlen, dir, 0, 0, 0)); in valid_va_range()
/titanic_41/usr/src/uts/intel/io/pci/
H A Dpci_boot.c2320 pciIdeAdjustBAR(uchar_t progcl, int index, uint_t *basep, uint_t *lenp) in pciIdeAdjustBAR() argument
2335 *basep += pciide_bar[index].bar_offset; in pciIdeAdjustBAR()
2337 *basep = pciide_bar[index].addr; in pciIdeAdjustBAR()
2345 if (*basep == 0 || *lenp == 0) { in pciIdeAdjustBAR()
2346 *basep = 0; in pciIdeAdjustBAR()
/titanic_41/usr/src/uts/sun4u/os/
H A Dcpr_impl.c130 #define cpr_rdwr(rw, vp, basep, cnt) (vn_rdwr(rw, vp, (caddr_t)(basep), \ argument

12