Searched defs:sp2 (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dportnum.c24 struct servent *sp, *sp2; local
48 sp2 = getservbyname(name, "udp");
49 if (!sp || !sp2) {
54 if (p1 != sp2->s_port) {
H A Dipft_tx.c80 struct servent *sp, *sp2; local
97 sp2 = getservbyname(name, "udp");
98 if (!sp || !sp2) {
103 if (p1 != sp2->s_port) {
/illumos-gate/usr/src/cmd/truss/
H A Dipc.c266 char *sp2; local
315 if ((sp2 = strrchr(path, '/')) == NULL)
318 dirname = sp2 + 1;
328 if (sp2 == NULL)
331 *sp2 = '\0';
340 if (sp2 != NULL)
341 *sp2 = '/';
346 if (sp2 != NULL)
347 *sp2 = '/';
H A Dmain.c103 #define prorset(sp1, sp2) \
104 or_set((uint32_t *)(sp1), (uint32_t *)(sp2), \
2712 or_set(uint32_t *sp1, const uint32_t *sp2, size_t n) argument
2716 *sp1++ |= *sp2++;
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dset_size.c96 *sp2, local
299 sp1 = sp2 = 0;
355 && (sp2 = Strdup(p2))
369 putp (sp2);
425 if (sp2)
426 Free (sp2);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_dhcpv6.c910 char *sp2; local
920 sp2 = strchr(sp, ' ');
921 if (sp2 != NULL)
922 *sp2++ = '\0';
926 } while ((sp = sp2) != NULL);
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_mkupdate.c84 u_char *cp, *sp2, *startp, *endp; local
196 sp2 = cp; /*%< save pointer to length byte */
202 PUTSHORT(0, sp2);
389 if (cp != (sp2 + INT16SZ))
704 n = (u_int16_t)((cp - sp2) - INT16SZ);
705 PUTSHORT(n, sp2);
/illumos-gate/usr/src/cmd/csh/
H A Dsh.func.c696 struct srch *sp, *sp1, *sp2; local
707 for (sp1 = srchn, sp2 = srchn + nsrchn; sp1 < sp2; ) {
708 sp = sp1 + (sp2 - sp1 >> 1);
714 sp2 = sp;
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_acl.c1972 * sp2 is sourceb
2012 * sp2 - Ptr to 2nd si struct
2019 si_cmp(si_t *sp1, si_t *sp2) argument
2021 if (sp1->s_dev != sp2->s_dev)
2023 if (aclcmp(sp1->aowner, sp2->aowner) ||
2024 aclcmp(sp1->agroup, sp2->agroup) ||
2025 aclcmp(sp1->aother, sp2->aother) ||
2026 aclcmp(sp1->ausers, sp2->ausers) ||
2027 aclcmp(sp1->agroups, sp2->agroups) ||
2028 aclcmp(sp1->downer, sp2
[all...]
/illumos-gate/usr/src/uts/sparc/v9/os/
H A Dv9dep.c725 caddr_t sp2; local
748 (sp2 = (caddr_t)mpcb->mpcb_rwin[0].rw_fp) != NULL) {
749 if ((copyin_nowatch(sp2, &rwindow32,
751 mpcb->mpcb_rsp[1] = sp2;
764 caddr_t sp2; local
780 (sp2 = (caddr_t)mpcb->mpcb_rwin[0].rw_fp) != NULL) {
781 sp2 += STACK_BIAS;
782 if ((copyin_nowatch(sp2, &mpcb->mpcb_rwin[1],
784 mpcb->mpcb_rsp[1] = sp2 - STACK_BIAS;
/illumos-gate/usr/src/cmd/datadm/
H A Ddatadm.c701 datadm_sp_entry_match(datadm_sp_entry_t *sp1, datadm_sp_entry_t *sp2) argument
703 if (!datadm_str_match(sp1->spe_devname, sp2->spe_devname)) {
707 &sp2->spe_api_version)) {
710 if (sp1->spe_threadsafe != sp2->spe_threadsafe) {
713 if (sp2->spe_default != sp2->spe_default) {
716 if (!datadm_str_match(sp1->spe_libpath, sp2->spe_libpath)) {
720 &sp2->spe_sp_version)) {
723 if (!datadm_str_match(sp1->spe_sp_data, sp2->spe_sp_data)) {
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_export.c1324 struct secinfo *sp2; local
1327 sp2 = kmem_zalloc(allocsize2, KM_SLEEP);
1336 sp2[i].s_secinfo.sc_name, MAX_NAME_LEN);
1337 sp2[i].s_secinfo.sc_nfsnum =
1339 sp2[i].s_secinfo.sc_rpcnum =
1342 sp2[i].s_secinfo.sc_gss_mech, MAX_NAME_LEN);
1343 sp2[i].s_secinfo.sc_gss_mech_type =
1345 sp2[i].s_secinfo.sc_qop =
1347 sp2[i].s_secinfo.sc_service =
1350 sp2[
[all...]
/illumos-gate/usr/src/uts/common/fs/
H A Dvfs.c2156 char **sp1, **sp2, **dp; local
2196 for (sp2 = mop2->mo_cancel; *sp2 != NULL; sp2++) {
2198 if (strcmp(*sp1, *sp2) == 0)
2203 * Option *sp2 not found in mop1, so copy it.
2207 *dp = kmem_alloc(strlen(*sp2) + 1, KM_SLEEP);
2208 (void) strcpy(*dp++, *sp2);

Completed in 132 milliseconds