Searched defs:pptr (Results 1 - 25 of 63) sorted by relevance

123

/illumos-gate/usr/src/cmd/oamuser/lib/
H A Dvprojid.c40 valid_projid(projid_t projid, struct project *pptr, void *buf, size_t len) argument
51 if (t_pptr = getprojbyid(projid, pptr, buf, len))
H A Dvproj.c47 valid_project(char *project, struct project *pptr, void *buf, size_t len, argument
57 return (valid_projid(projid, pptr, buf, len));
65 return (valid_projname(project, pptr, buf, len, warning));
H A Dvlogin.c49 valid_login(char *login, struct passwd **pptr, int *warning) argument
111 if (pptr) *pptr = t_pptr;
H A Dvprojname.c43 valid_projname(char *project, struct project *pptr, void *buf, size_t blen, argument
69 if ((t_pptr = getprojbyname(project, pptr, buf, blen)) != NULL)
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_pickle.h48 typedef void* pptr; /* pickle pointer */ typedef
79 int transfer(pptr, bool_t (*f) (XDR*, pptr));
/illumos-gate/usr/src/lib/libnsl/nsl/
H A D_conn_util.c159 union T_primitives *pptr; local
227 pptr = (union T_primitives *)ctlbufp->buf;
229 switch (pptr->type) {
234 (pptr->conn_con.OPT_length != 0 &&
235 (ctlbufp->len < (int)(pptr->conn_con.OPT_length +
236 pptr->conn_con.OPT_offset)))) {
248 if (TLEN_GT_NLEN(pptr->conn_con.RES_length,
254 ctlbufp->buf + pptr->conn_con.RES_offset,
255 (size_t)pptr->conn_con.RES_length);
256 call->addr.len = pptr
[all...]
H A Dt_listen.c52 union T_primitives *pptr; local
173 pptr = (union T_primitives *)ctlbuf.buf;
175 switch (pptr->type) {
179 (ctlbuf.len < (int)(pptr->conn_ind.OPT_length
180 + pptr->conn_ind.OPT_offset))) {
198 call->sequence = pptr->conn_ind.SEQ_number;
201 if (TLEN_GT_NLEN(pptr->conn_ind.SRC_length,
207 (size_t)pptr->conn_ind.SRC_offset,
208 (unsigned int)pptr->conn_ind.SRC_length);
209 call->addr.len = pptr
[all...]
H A Dt_look.c84 union T_primitives *pptr; local
150 pptr = (union T_primitives *)strpeek.ctlbuf.buf;
162 (pptr->type == T_DISCON_IND)) {
163 type = pptr->type;
170 type = pptr->type;
H A Dt_rcvdis.c53 union T_primitives *pptr; local
184 pptr = (union T_primitives *)ctlbuf.buf;
187 (pptr->type != T_DISCON_IND)) {
223 discon->reason = pptr->discon_ind.DISCON_reason;
224 discon->sequence = pptr->discon_ind.SEQ_number;
H A Dt_rcvrel.c57 union T_primitives *pptr; local
175 pptr = (union T_primitives *)ctlbuf.buf;
182 if (pptr->type != T_ORDREL_IND) {
183 if (pptr->type == T_DISCON_IND) {
H A Dt_rcvreldata.c56 union T_primitives *pptr; local
177 pptr = (union T_primitives *)ctlbuf.buf;
184 if (pptr->type != T_ORDREL_IND) {
185 if (pptr->type == T_DISCON_IND) {
H A Dt_rcvudata.c62 union T_primitives *pptr; local
148 pptr = (union T_primitives *)ctlbuf.buf;
150 switch (pptr->type) {
155 (pptr->unitdata_ind.OPT_length &&
156 (ctlbuf.len < (int)(pptr->unitdata_ind.OPT_length
157 + pptr->unitdata_ind.OPT_offset)))) {
166 if (TLEN_GT_NLEN(pptr->unitdata_ind.SRC_length,
173 ctlbuf.buf + pptr->unitdata_ind.SRC_offset,
174 (size_t)pptr->unitdata_ind.SRC_length);
176 pptr
[all...]
H A Dt_rcvuderr.c53 union T_primitives *pptr; local
140 pptr = (union T_primitives *)ctlbuf.buf;
143 (pptr->type != T_UDERROR_IND)) {
151 if (TLEN_GT_NLEN(pptr->uderror_ind.DEST_length,
157 pptr->uderror_ind.DEST_offset,
158 (size_t)pptr->uderror_ind.DEST_length);
160 (unsigned int)pptr->uderror_ind.DEST_length;
163 if (TLEN_GT_NLEN(pptr->uderror_ind.OPT_length,
169 pptr->uderror_ind.OPT_offset,
170 (size_t)pptr
[all...]
H A Dt_rcv.c58 union T_primitives *pptr; local
207 pptr = (union T_primitives *)ctlbuf.buf;
209 switch (pptr->type) {
233 if ((pptr->data_ind.MORE_flag) || retval)
235 if ((pptr->data_ind.MORE_flag) && retval)
H A Dt_rcvv.c56 union T_primitives *pptr; local
222 pptr = (union T_primitives *)ctlbuf.buf;
224 switch (pptr->type) {
248 if ((pptr->data_ind.MORE_flag) || retval)
250 if ((pptr->data_ind.MORE_flag) && retval)
H A Dt_rcvvudata.c64 union T_primitives *pptr; local
157 pptr = (union T_primitives *)ctlbuf.buf;
159 switch (pptr->type) {
164 (pptr->unitdata_ind.OPT_length &&
165 (ctlbuf.len < (int)(pptr->unitdata_ind.OPT_length
166 + pptr->unitdata_ind.OPT_offset)))) {
173 if (TLEN_GT_NLEN(pptr->unitdata_ind.SRC_length,
179 ctlbuf.buf + pptr->unitdata_ind.SRC_offset,
180 (size_t)pptr->unitdata_ind.SRC_length);
182 pptr
[all...]
/illumos-gate/usr/src/uts/common/ktli/
H A Dt_kconnect.c75 union T_primitives *pptr; local
169 pptr = (union T_primitives *)bp->b_rptr;
170 switch (pptr->type) {
178 hdrsz < (pptr->conn_con.OPT_length +
179 pptr->conn_con.OPT_offset) ||
180 hdrsz < (pptr->conn_con.RES_length +
181 pptr->conn_con.RES_offset)) {
191 len = MIN(pptr->conn_con.RES_length,
193 bcopy(bp->b_rptr + pptr->conn_con.RES_offset,
197 len = MIN(pptr
[all...]
H A Dt_krcvudat.c76 union T_primitives *pptr; local
115 pptr = (union T_primitives *)bp->b_rptr;
116 switch (pptr->type) {
125 hdrsz < (pptr->unitdata_ind.OPT_length +
126 pptr->unitdata_ind.OPT_offset) ||
127 hdrsz < (pptr->unitdata_ind.SRC_length +
128 pptr->unitdata_ind.SRC_offset)) {
137 len = MIN(pptr->unitdata_ind.SRC_length,
139 bcopy(bp->b_rptr + pptr->unitdata_ind.SRC_offset,
143 len = MIN(pptr
[all...]
H A Dt_kutil.c117 union T_primitives *pptr; local
135 pptr = (void *)bp->b_rptr;
136 switch (pptr->type) {
138 if (msgsz < TOKACKSZ || pptr->ok_ack.CORRECT_prim != type)
148 if (pptr->error_ack.TLI_error == TSYSERR)
149 error = pptr->error_ack.UNIX_error;
151 error = t_tlitosyserr(pptr->error_ack.TLI_error);
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgetprotoent_r.c40 getprotobyname_r(const char *name, struct protoent *pptr, PROTO_R_ARGS) { argument
45 if (pe == NULL || (n = copy_protoent(pe, pptr, PROTO_R_COPY)) != 0)
48 *answerp = pptr;
55 return (copy_protoent(pe, pptr, PROTO_R_COPY));
60 getprotobynumber_r(int proto, struct protoent *pptr, PROTO_R_ARGS) { argument
65 if (pe == NULL || (n = copy_protoent(pe, pptr, PROTO_R_COPY)) != 0)
68 *answerp = pptr;
75 return (copy_protoent(pe, pptr, PROTO_R_COPY));
86 getprotoent_r(struct protoent *pptr, PROTO_R_ARGS) { argument
91 if (pe == NULL || (n = copy_protoent(pe, pptr, PROTO_R_COP
139 copy_protoent(struct protoent *pe, struct protoent *pptr, PROTO_R_COPY_ARGS) argument
183 copy_protoent(struct protoent *pe, struct protoent *pptr, PROTO_R_COPY_ARGS) argument
[all...]
/illumos-gate/usr/src/lib/libc/i386/crt/
H A D_rtld.c85 Elf32_Phdr *pptr; /* working Phdr */ local
168 for (p = 0, pptr = phdr; p < (int)ehdr->e_phnum; p++,
169 pptr = (Elf32_Phdr *)((caddr_t)pptr + ehdr->e_phentsize))
170 if (pptr->p_type == PT_LOAD) {
172 fph = pptr;
173 } else if (pptr->p_vaddr <= lph->p_vaddr)
175 lph = pptr;
221 for (p = 0, pptr = phdr; p < (int)ehdr->e_phnum; p++,
222 pptr
[all...]
/illumos-gate/usr/src/lib/libc/sparc/crt/
H A D_rtld.c84 Elf32_Phdr *pptr; /* working Phdr */ local
168 for (p = 0, pptr = phdr; p < (int)ehdr->e_phnum; p++,
169 pptr = (Elf32_Phdr *)((caddr_t)pptr + ehdr->e_phentsize))
170 if (pptr->p_type == PT_LOAD) {
172 fph = pptr;
173 } else if (pptr->p_vaddr <= lph->p_vaddr)
175 lph = pptr;
221 for (p = 0, pptr = phdr; p < (int)ehdr->e_phnum; p++,
222 pptr
[all...]
/illumos-gate/usr/src/cmd/format/
H A Dpartition.c361 register struct partition_info *pptr; local
379 for (pptr = parts; pptr != NULL; pptr = pptr->pinfo_next) {
381 if (pptr->pinfo_name != NULL && strcmp(pptr->pinfo_name,
386 cur_disk->disk_parts = cur_parts = pptr;
387 cur_parts->pinfo_name = pptr->pinfo_name;
412 register struct partition_info *pptr, *part local
478 struct partition_info *pptr; local
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_smhba.c125 pmcs_smhba_set_scsi_device_props(pmcs_hw_t *pwp, pmcs_phy_t *pptr, argument
133 pphy = pptr->parent;
141 wwn = pmcs_barray2wwn(pptr->sas_address);
144 if ((pptr->dtype == SATA) || pptr->virtual) {
158 if (pptr->dtype != EXPANDER) {
161 pptr->level);
/illumos-gate/usr/src/uts/common/io/
H A Dtirdwr.c214 union T_primitives *pptr; local
226 pptr = (union T_primitives *)mp->b_rptr;
228 pptr->type = T_ORDREL_REQ;
247 union T_primitives *pptr; local
278 pptr = (union T_primitives *)mp->b_rptr;
280 switch (pptr->type) {
382 union T_primitives *pptr; local
388 pptr = (union T_primitives *)mp->b_rptr;
391 switch (pptr->type) {
424 union T_primitives *pptr; local
[all...]

Completed in 134 milliseconds

123