/freebsd-current/sys/xdr/ |
H A D | xdr_mem.c | 112 xdrmem_getlong_aligned(XDR *xdrs, long *lp) argument 118 *lp = ntohl(*(uint32_t *)xdrs->x_private); 124 xdrmem_putlong_aligned(XDR *xdrs, const long *lp) argument 130 *(uint32_t *)xdrs->x_private = htonl((uint32_t)*lp); 136 xdrmem_getlong_unaligned(XDR *xdrs, long *lp) argument 144 *lp = ntohl(l); 150 xdrmem_putlong_unaligned(XDR *xdrs, const long *lp) argument 157 l = htonl((uint32_t)*lp);
|
/freebsd-current/stand/libsa/ |
H A D | pager.c | 46 char *cp, *lp; local 50 nlines = strtol(cp, &lp, 0);
|
/freebsd-current/usr.bin/procstat/ |
H A D | procstat_rusage.c | 114 long *lp; local 139 lp = &kipp->ki_rusage.ru_maxrss; 146 xo_emit(field, *lp); 150 format_value(*lp, rusage_info[i].ri_humanize, 152 lp++;
|
/freebsd-current/sys/fs/nfsclient/ |
H A D | nfs_clstate.c | 530 struct nfscllockowner *lp; local 639 lp = NULL; 641 own, lockown, mode, &lp, &op); 642 if (error == 0 && lp != NULL && fords == 0) { 647 stateidp->seqid = lp->nfsl_stateid.seqid; 649 lp->nfsl_stateid.other[0]; 651 lp->nfsl_stateid.other[1]; 653 lp->nfsl_stateid.other[2]; 789 struct nfscllockowner *lp; local 795 LIST_FOREACH(lp, 1089 struct nfscllockowner *lp; local 1290 struct nfscllockowner *lp; local 1397 struct nfscllockowner *lp; local 1432 struct nfscllockowner *lp; local 1539 nfscl_lockrelease(struct nfscllockowner *lp, int error, int candelete) argument 1591 struct nfscllockowner *lp, *nlp; local 1609 struct nfscllockowner *lp; local 1684 nfscl_freelockowner(struct nfscllockowner *lp, int local) argument 1892 struct nfscllockowner *lp; local 1935 struct nfscllockowner *lp, *nlp; local 1985 nfscl_emptylockowner(struct nfscllockowner *lp, struct nfscllockownerfhhead *lhp) argument 2126 struct nfscllockowner *lp, *nlp; local 2560 nfscl_insertlock(struct nfscllockowner *lp, struct nfscllock *new_lop, struct nfscllock *insert_lop, int local) argument 2583 nfscl_updatelock(struct nfscllockowner *lp, struct nfscllock **new_lopp, struct nfscllock **other_lopp, int local) argument 2725 struct nfscllockowner *lp, *nlp; local 3111 struct nfscllockowner *lp; local 4139 struct nfscllockowner *lp; local 4225 struct nfscllockowner *lp; local 4443 nfscl_relock(vnode_t vp, struct nfsclclient *clp, struct nfsmount *nmp, struct nfscllockowner *lp, struct nfscllock *lop, struct ucred *cred, NFSPROC_T *p) argument 4730 struct nfscllockowner *lp; local 4849 struct nfscllockowner *lp; local [all...] |
/freebsd-current/bin/ed/ |
H A D | sub.c | 120 line_t *lp; local 125 lp = get_addressed_line_node(++current_addr); 126 if ((len = substitute_matching_text(pat, lp, gflag, kth)) < 0) 166 substitute_matching_text(pattern_t *pat, line_t *lp, int gflag, int kth) argument 176 if ((txt = get_sbuf_line(lp)) == NULL) 179 NUL_TO_NEWLINE(txt, lp->len); 180 eot = txt + lp->len;
|
/freebsd-current/sys/net/ |
H A D | ieee8023ad_lacp.h | 311 struct lacp_port *lp = LACP_PORT(lgp); local 312 struct lacp_softc *lsc = lp->lp_lsc; 313 struct lacp_aggregator *la = lp->lp_aggregator; 322 struct lacp_port *lp = LACP_PORT(lgp); local 324 return (lp->lp_state & LACP_STATE_COLLECTING); 330 struct lacp_port *lp = LACP_PORT(lgp); local 332 return (lp->lp_state & LACP_STATE_DISTRIBUTING);
|
/freebsd-current/usr.sbin/bsnmpd/modules/snmp_hostres/ |
H A D | hostres_printer_tbl.c | 52 #include "lp.h" 218 if (strncmp(pp->lp, _PATH_DEV, strlen(_PATH_DEV)) != 0) { 219 HRDBG("skipped %s [device %s] -- remote", pp->printer, pp->lp); 224 snprintf(dev_only, sizeof(dev_only), "%s", pp->lp + strlen(_PATH_DEV)); 228 if (stat(pp->lp, &sb) < 0) { 231 pp->printer, pp->lp); 237 HRDBG("%s not in hrDeviceTable", pp->lp); 240 HRDBG("%s found in hrDeviceTable", pp->lp);
|
/freebsd-current/lib/libc/xdr/ |
H A D | xdr_float.c | 197 int32_t *lp; 241 lp = (int32_t *)&id; 242 return (XDR_PUTINT32(xdrs, lp++) && XDR_PUTINT32(xdrs, lp)); 261 lp = (int32_t *)&id; 262 if (!XDR_GETINT32(xdrs, lp++) || !XDR_GETINT32(xdrs, lp))
|
/freebsd-current/sys/dev/isp/ |
H A D | isp_freebsd.c | 454 fcportdb_t *lp; local 460 lp = &FCPARAM(isp, ifc->chan)->portdb[ifc->loopid]; 461 if (lp->state != FC_PORTDB_STATE_NIL) { 462 ifc->role = (lp->prli_word3 & SVC3_ROLE_MASK) >> SVC3_ROLE_SHIFT; 463 ifc->loopid = lp->handle; 464 ifc->portid = lp->portid; 465 ifc->node_wwn = lp->node_wwn; 466 ifc->port_wwn = lp->port_wwn; 505 fcportdb_t *lp; local 520 lp 1287 fcportdb_t *lp; local 1700 fcportdb_t *lp; local 1787 fcportdb_t *lp; local 2057 fcportdb_t *lp; local 2143 fcportdb_t *lp; local 2625 fcportdb_t *lp = &fcp->portdb[tgt]; local 2842 fcportdb_t *lp; local [all...] |
H A D | isp_library.c | 324 fcportdb_t *lp = &fcp->portdb[i]; local 326 if (lp->state == FC_PORTDB_STATE_NIL) { 329 isp_gen_role_str(buf1, sizeof (buf1), lp->prli_word3); 330 isp_gen_role_str(buf2, sizeof (buf2), lp->new_prli_word3); 332 chan, i, lp->handle, dbs[lp->state], buf1, lp->portid, buf2, lp->new_portid, 333 (uint32_t) (lp->node_wwn >> 32), (uint32_t) (lp 1383 fcportdb_t *lp = &fcp->portdb[i]; local 1400 fcportdb_t *lp = &fcp->portdb[i]; local 1420 fcportdb_t *lp = &fcp->portdb[i]; local 1440 fcportdb_t *lp = &fcp->portdb[i]; local 1481 fcportdb_t *lp; local 1634 fcportdb_t *lp; local [all...] |
H A D | isp.c | 1349 fcportdb_t *lp; local 1353 lp = &fcp->portdb[i]; 1354 switch (lp->state) { 1358 lp->state = FC_PORTDB_STATE_NIL; 1359 isp_async(isp, ISPASYNC_DEV_GONE, chan, lp); 1363 lp->state = FC_PORTDB_STATE_NIL; 1368 panic("Don't know how to clear state %d\n", lp->state); 1377 fcportdb_t *lp; local 1381 lp = &fcp->portdb[i]; 1382 if (lp 1804 fcportdb_t *lp; local 1877 fcportdb_t *lp; local 2232 fcportdb_t *lp; local 2817 fcportdb_t *lp; local 2988 fcportdb_t *lp; local 3936 fcportdb_t *lp; local [all...] |
/freebsd-current/sbin/newfs/ |
H A D | newfs.c | 122 struct disklabel *lp; local 346 lp = getdisklabel(); 347 if (lp != NULL) { 356 pp = &lp->d_partitions[RAW_PART]; 358 pp = &lp->d_partitions[*cp - 'a']; 367 sectorsize = lp->d_secsize; 427 struct disklabel *lp; local 438 lp = &lab; 443 lp = getdiskbyname(disktype); 444 if (lp ! [all...] |
/freebsd-current/contrib/tcpdump/ |
H A D | print-atalk.c | 98 const struct LAP *lp; local 105 if (length < sizeof(*lp)) { 109 if (!ND_TTEST_LEN(bp, sizeof(*lp))) { 113 lp = (const struct LAP *)bp; 114 bp += sizeof(*lp); 115 length -= sizeof(*lp); 116 hdrlen = sizeof(*lp); 117 switch (GET_U_1(lp->type)) { 130 ataddr_string(ndo, 0, GET_U_1(lp->src)), 133 ataddr_string(ndo, 0, GET_U_1(lp [all...] |
/freebsd-current/sbin/dhclient/ |
H A D | clparse.c | 495 struct client_lease *lease, *lp, *pl; local 553 for (lp = ip->client->leases; lp; lp = lp->next) { 554 if (lp->address.len == lease->address.len && 555 !memcmp(lp->address.iabuf, lease->address.iabuf, 558 pl->next = lp->next; 560 ip->client->leases = lp->next; 561 free_client_lease(lp); 886 parse_string_list(FILE *cfile, struct string_list **lp, int multiple) argument [all...] |
/freebsd-current/bin/sh/ |
H A D | show.c | 67 struct nodelist *lp; local 95 for (lp = n->npipe.cmdlist ; lp ; lp = lp->next) { 96 shcmd(lp->n, fp); 97 if (lp->next)
|
/freebsd-current/usr.sbin/bhyve/ |
H A D | mevent.c | 288 struct mevent *lp, *mevp; local 304 LIST_FOREACH(lp, &global_head, me_list) { 305 if (type != EVF_TIMER && lp->me_fd == tfd && 306 lp->me_type == type) { 311 LIST_FOREACH(lp, &change_head, me_list) { 312 if (type != EVF_TIMER && lp->me_fd == tfd && 313 lp->me_type == type) {
|
/freebsd-current/contrib/nvi/vi/ |
H A D | vs_split.c | 336 SCR *tsp, **lp, *list[100]; local 387 for (lp = &list[0]; (tsp = *lp) != NULL; ++lp) { 422 for (lp = &list[0]; (tsp = *lp) != NULL; ++lp) { 453 SCR **lp, *tsp; local 460 for (lp = listp, tlen = sp->rows, 486 *lp [all...] |
/freebsd-current/usr.bin/sort/ |
H A D | file.c | 929 file_header_print(struct file_header *fh, FILE *f_out, struct last_printed *lp) argument 934 if ((lp->str == NULL) || (str_list_coll(lp->str, &(fh->si)))) { 936 if (lp->str) 937 bwsfree(lp->str); 938 lp->str = bwsdup(fh->si->str); 978 struct last_printed lp; local 981 memset(&lp, 0, sizeof(lp)); 991 file_header_print(fh[0], f_out, &lp); 1319 sub_list_header_print(struct sort_list *sl, FILE *f_out, struct last_printed_item *lp) argument 1356 struct last_printed_item lp; local [all...] |
/freebsd-current/contrib/nvi/common/ |
H A D | log.c | 221 CHAR_T *lp; local 250 if (db_get(sp, lno, DBG_NOCACHE, &lp, &len)) { 256 lp = L(""); 259 if (db_get(sp, lno, DBG_FATAL, &lp, &len)) 266 memmove(ep->l_lp + CHAR_T_OFFSET, lp, len * sizeof(CHAR_T)); 713 nword *lp = (nword *)((uintptr_t)p / sizeof(nword) * sizeof(nword)); local 715 if (lp != (nword *)p) { 716 int offl = ((uintptr_t)p - (uintptr_t)lp) << 3; 728 bp[i] = (lp[i] << offl) ^ (lp[ [all...] |
/freebsd-current/sys/fs/ext2fs/ |
H A D | ext2_subr.c | 103 int32_t *lp; local 193 lp = &sump[fs->e2fs_contigsumsize]; 195 if (*lp-- > 0)
|
/freebsd-current/contrib/less/ |
H A D | pattern.c | 263 char *pp, *lp; local 269 for (pp = pattern, lp = buf; ; pp++, lp++) 272 char cl = *lp; 277 if (pp == pattern_end || lp == buf_end) 283 *(*ep)++ = lp;
|
/freebsd-current/sbin/ifconfig/ |
H A D | iflagg.c | 216 struct lacp_opreq *lp; local 266 lp = &ra->ra_lacpreq; 268 lacp_format_peer(lp, "\n\t\t ")); 273 lp = &ports[i].rp_lacpreq; 277 printb(" state", lp->actor_state, LACP_STATE_BITS); 281 lacp_format_peer(lp, "\n\t\t "));
|
/freebsd-current/usr.bin/mail/ |
H A D | list.c | 503 struct lex *lp; local 555 for (lp = &singles[0]; lp->l_char != '\0'; lp++) 556 if (c == lp->l_char) { 560 return (lp->l_token);
|
/freebsd-current/contrib/xz/src/liblzma/lzma/ |
H A D | lzma2_encoder.c | 287 // only lc/lp/pb can be changed. 289 if (coder->opt_cur.lc != opt->lc || coder->opt_cur.lp != opt->lp 292 if (opt->lc > LZMA_LCLP_MAX || opt->lp > LZMA_LCLP_MAX 293 || opt->lc + opt->lp > LZMA_LCLP_MAX 300 coder->opt_cur.lp = opt->lp;
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | umount2.sh | 80 kill -0 $! 2>/dev/null && { ps -lp$! | grep mntref && exit 1; }
|