/freebsd-11-stable/stand/libsa/geli/ |
H A D | pwgets.c | 45 char *lp; local 47 for (lp = buf;;) 51 *lp = '\0'; 56 if (lp > buf) { 57 lp--; 67 lp = buf; 71 if ((n < 1) || ((lp - buf) < n - 1)) { 72 *lp++ = c;
|
/freebsd-11-stable/usr.sbin/lpr/lp/ |
H A D | Makefile | 5 SCRIPTS=lp.sh 6 MAN= lp.1
|
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | lin-lwp.c | 130 static int stop_wait_callback (struct lwp_info *lp, void *data); 163 struct lwp_info *lp, *lpnext; 165 for (lp = lwp_list; lp; lp = lpnext) 167 lpnext = lp->next; 168 xfree (lp); 183 struct lwp_info *lp; 187 lp = (struct lwp_info *) xmalloc (sizeof (struct lwp_info)); 189 memset (lp, 158 struct lwp_info *lp, *lpnext; local 178 struct lwp_info *lp; local 201 struct lwp_info *lp, *lpprev; local 230 struct lwp_info *lp; local 253 struct lwp_info *lp, *lpnext; local 281 struct lwp_info *lp; local 354 struct lwp_info *lp; local 394 detach_callback(struct lwp_info *lp, void *data) argument 477 resume_callback(struct lwp_info *lp, void *data) argument 496 resume_clear_callback(struct lwp_info *lp, void *data) argument 503 resume_set_callback(struct lwp_info *lp, void *data) argument 512 struct lwp_info *lp; local 597 wait_lwp(struct lwp_info *lp) argument 667 stop_callback(struct lwp_info *lp, void *data) argument 700 stop_wait_callback(struct lwp_info *lp, void *data) argument 869 flush_callback(struct lwp_info *lp, void *data) argument 921 status_callback(struct lwp_info *lp, void *data) argument 931 running_callback(struct lwp_info *lp, void *data) argument 939 count_events_callback(struct lwp_info *lp, void *data) argument 956 select_singlestep_lwp_callback(struct lwp_info *lp, void *data) argument 967 select_event_lwp_callback(struct lwp_info *lp, void *data) argument 983 cancel_breakpoints_callback(struct lwp_info *lp, void *data) argument 1079 resumed_callback(struct lwp_info *lp, void *data) argument 1175 stop_and_resume_callback(struct lwp_info *lp, void *data) argument 1197 struct lwp_info *lp = NULL; local 1604 kill_callback(struct lwp_info *lp, void *data) argument 1618 kill_wait_callback(struct lwp_info *lp, void *data) argument [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libuutil/common/ |
H A D | uu_list.c | 35 #define ELEM_TO_NODE(lp, e) \ 36 ((uu_list_node_impl_t *)((uintptr_t)(e) + (lp)->ul_offset)) 38 #define NODE_TO_ELEM(lp, n) \ 39 ((void *)((uintptr_t)(n) - (lp)->ul_offset)) 182 uu_list_t *lp, *next, *prev; local 198 lp = uu_zalloc(sizeof (*lp)); 199 if (lp == NULL) { 204 lp->ul_pool = pp; 205 lp 231 uu_list_destroy(uu_list_t *lp) argument 263 list_insert(uu_list_t *lp, uu_list_node_impl_t *np, uu_list_node_impl_t *prev, uu_list_node_impl_t *next) argument 292 uu_list_insert(uu_list_t *lp, void *elem, uu_list_index_t idx) argument 315 uu_list_find(uu_list_t *lp, void *elem, void *private, uu_list_index_t *out) argument 348 uu_list_nearest_next(uu_list_t *lp, uu_list_index_t idx) argument 373 uu_list_nearest_prev(uu_list_t *lp, uu_list_index_t idx) argument 397 list_walk_init(uu_list_walk_t *wp, uu_list_t *lp, uint32_t flags) argument 427 list_walk_advance(uu_list_walk_t *wp, uu_list_t *lp) argument 456 uu_list_walk_start(uu_list_t *lp, uint32_t flags) argument 478 uu_list_t *lp = wp->ulw_list; local 495 uu_list_walk(uu_list_t *lp, uu_walk_fn_t *func, void *private, uint32_t flags) argument 540 uu_list_remove(uu_list_t *lp, void *elem) argument 580 uu_list_teardown(uu_list_t *lp, void **cookie) argument 598 uu_list_insert_before(uu_list_t *lp, void *target, void *elem) argument 624 uu_list_insert_after(uu_list_t *lp, void *target, void *elem) argument 650 uu_list_numnodes(uu_list_t *lp) argument 656 uu_list_first(uu_list_t *lp) argument 665 uu_list_last(uu_list_t *lp) argument 674 uu_list_next(uu_list_t *lp, void *elem) argument 685 uu_list_prev(uu_list_t *lp, void *elem) argument [all...] |
/freebsd-11-stable/sys/libkern/ |
H A D | strlen.c | 85 const unsigned long *lp; local 98 lp = (const unsigned long *)((uintptr_t)str & ~LONGPTR_MASK); 99 va = (*lp - mask01); 100 vb = ((~*lp) & mask80); 101 lp++; 104 for (p = str; p < (const char *)lp; p++) 109 for (; ; lp++) { 110 va = (*lp - mask01); 111 vb = ((~*lp) & mask80); 113 p = (const char *)(lp); [all...] |
H A D | memcchr.c | 60 const unsigned long *lp; local 81 lp = (const unsigned long *)((uintptr_t)begin & ~LONGPTR_MASK); 83 if (*lp++ != word) 84 for (p = begin; p < (const unsigned char *)lp;) 88 for (; (const unsigned char *)lp < end; lp++) { 89 if (*lp != word) { 90 p = (const unsigned char *)lp;
|
/freebsd-11-stable/stand/libsa/ |
H A D | gets.c | 45 char *lp; local 47 for (lp = buf;;) { 54 *lp = '\0'; 59 if (lp > buf) { 60 lp--; 70 for (p = buf; p < lp; ++p) 76 lp = buf; 80 if ((n < 1) || ((lp - buf) < n - 1)) { 81 *lp++ = c;
|
/freebsd-11-stable/sys/sys/ |
H A D | lockstat.h | 75 #define LOCKSTAT_RECORD0(probe, lp) \ 76 SDT_PROBE1(lockstat, , , probe, lp) 78 #define LOCKSTAT_RECORD1(probe, lp, arg1) \ 79 SDT_PROBE2(lockstat, , , probe, lp, arg1) 81 #define LOCKSTAT_RECORD2(probe, lp, arg1, arg2) \ 82 SDT_PROBE3(lockstat, , , probe, lp, arg1, arg2) 84 #define LOCKSTAT_RECORD3(probe, lp, arg1, arg2, arg3) \ 85 SDT_PROBE4(lockstat, , , probe, lp, arg1, arg2, arg3) 87 #define LOCKSTAT_RECORD4(probe, lp, arg1, arg2, arg3, arg4) \ 88 SDT_PROBE5(lockstat, , , probe, lp, arg [all...] |
/freebsd-11-stable/lib/libc/gen/ |
H A D | telldir.c | 55 struct ddloc_mem *lp, *flp; local 75 LIST_FOREACH(lp, &dirp->dd_td->td_locq, loc_lqe) { 76 if (lp->loc_seek == dirp->dd_seek) { 78 flp = lp; 79 if (lp->loc_loc == dirp->dd_loc) 82 lp = NULL; 86 if (lp == NULL) { 87 lp = malloc(sizeof(struct ddloc_mem)); 88 if (lp == NULL) { 93 lp 121 struct ddloc_mem *lp; local 180 struct ddloc_mem *lp; local 198 struct ddloc_mem *lp; local [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/ |
H A D | tst.aouttype.c | 28 sleeper(season_7_lisa_the_vegetarian_t *lp) argument 31 sleep(lp->fr_salad);
|
/freebsd-11-stable/sys/net/ |
H A D | ieee8023ad_lacp.c | 235 struct lacp_port *lp = LACP_PORT(lgp); local 246 lacp_pdu_input(lp, m); 250 lacp_marker_input(lp, m); 262 lacp_pdu_input(struct lacp_port *lp, struct mbuf *m) argument 264 struct lacp_softc *lsc = lp->lp_lsc; 310 lacp_dprintf(lp, "lacpdu receive\n"); 314 if ((1 << lp->lp_ifp->if_dunit) & lp->lp_lsc->lsc_debug.lsc_rx_test) { 315 LACP_TPRINTF((lp, "Dropping RX PDU\n")); 320 lacp_sm_rx(lp, d 332 lacp_fill_actorinfo(struct lacp_port *lp, struct lacp_peerinfo *info) argument 346 lacp_fill_markerinfo(struct lacp_port *lp, struct lacp_markerinfo *info) argument 357 lacp_xmit_lacpdu(struct lacp_port *lp) argument 411 lacp_xmit_marker(struct lacp_port *lp) argument 454 struct lacp_port *lp = LACP_PORT(lgp); local 504 struct lacp_port *lp; local 527 struct lacp_port *lp; local 573 struct lacp_port *lp = LACP_PORT(lgp); local 639 struct lacp_port *lp = LACP_PORT(lgp); local 662 lacp_disable_collecting(struct lacp_port *lp) argument 669 lacp_enable_collecting(struct lacp_port *lp) argument 676 lacp_disable_distributing(struct lacp_port *lp) argument 713 lacp_enable_distributing(struct lacp_port *lp) argument 828 struct lacp_port *lp; local 863 struct lacp_port *lp; local 910 struct lacp_port *lp; local 1005 struct lacp_port *lp; local 1034 lacp_compose_key(struct lacp_port *lp) argument 1257 lacp_aggregator_get(struct lacp_softc *lsc, struct lacp_port *lp) argument 1278 lacp_fill_aggregator_id(struct lacp_aggregator *la, const struct lacp_port *lp) argument 1300 lacp_aggregator_is_compatible(const struct lacp_aggregator *la, const struct lacp_port *lp) argument 1340 lacp_port_enable(struct lacp_port *lp) argument 1346 lacp_port_disable(struct lacp_port *lp) argument 1361 lacp_select(struct lacp_port *lp) argument 1421 lacp_unselect(struct lacp_port *lp) argument 1440 lacp_sm_mux(struct lacp_port *lp) argument 1512 lacp_set_mux(struct lacp_port *lp, enum lacp_mux_state new_state) argument 1563 lacp_sm_mux_timer(struct lacp_port *lp) argument 1581 lacp_sm_ptx_update_timeout(struct lacp_port *lp, uint8_t oldpstate) argument 1610 lacp_sm_ptx_tx_schedule(struct lacp_port *lp) argument 1636 lacp_sm_ptx_timer(struct lacp_port *lp) argument 1642 lacp_sm_rx(struct lacp_port *lp, const struct lacpdu *du) argument 1685 lacp_sm_rx_set_expired(struct lacp_port *lp) argument 1694 lacp_sm_rx_timer(struct lacp_port *lp) argument 1710 lacp_sm_rx_record_pdu(struct lacp_port *lp, const struct lacpdu *du) argument 1757 lacp_sm_rx_update_ntt(struct lacp_port *lp, const struct lacpdu *du) argument 1771 lacp_sm_rx_record_default(struct lacp_port *lp) argument 1787 lacp_sm_rx_update_selected_from_peerinfo(struct lacp_port *lp, const struct lacp_peerinfo *info) argument 1802 lacp_sm_rx_update_selected(struct lacp_port *lp, const struct lacpdu *du) argument 1811 lacp_sm_rx_update_default_selected(struct lacp_port *lp) argument 1827 lacp_sm_tx(struct lacp_port *lp) argument 1866 lacp_sm_assert_ntt(struct lacp_port *lp) argument 1873 lacp_run_timers(struct lacp_port *lp) argument 1891 lacp_marker_input(struct lacp_port *lp, struct mbuf *m) argument 2129 lacp_dprintf(const struct lacp_port *lp, const char *fmt, ...) argument [all...] |
H A D | if_lagg.c | 349 lagg_proto_input(struct lagg_softc *sc, struct lagg_port *lp, struct mbuf *m) argument 352 return (lagg_protos[sc->sc_proto].pr_input(sc, lp, m)); 356 lagg_proto_addport(struct lagg_softc *sc, struct lagg_port *lp) argument 362 return (lagg_protos[sc->sc_proto].pr_addport(lp)); 366 lagg_proto_delport(struct lagg_softc *sc, struct lagg_port *lp) argument 370 lagg_protos[sc->sc_proto].pr_delport(lp); 374 lagg_proto_linkstate(struct lagg_softc *sc, struct lagg_port *lp) argument 378 lagg_protos[sc->sc_proto].pr_linkstate(lp); 414 lagg_proto_portreq(struct lagg_softc *sc, struct lagg_port *lp, void *v) argument 418 lagg_protos[sc->sc_proto].pr_portreq(lp, 429 struct lagg_port *lp; local 448 struct lagg_port *lp; local 527 struct lagg_port *lp; local 563 struct lagg_port *lp; local 619 struct lagg_port *lp, *tlp; local 779 struct lagg_port *lp; local 795 lagg_port_destroy(struct lagg_port *lp, int rundelport) argument 881 struct lagg_port *lp = NULL; local 959 struct lagg_port *lp; local 1004 struct lagg_port *lp = ifp->if_lagg; local 1020 struct lagg_port *lp; local 1039 lagg_port2req(struct lagg_port *lp, struct lagg_reqport *rp) argument 1083 struct lagg_port *lp; local 1133 struct lagg_port *lp; local 1272 struct lacp_port *lp; local 1510 lagg_setmulti(struct lagg_port *lp) argument 1546 lagg_clrmulti(struct lagg_port *lp) argument 1561 lagg_setcaps(struct lagg_port *lp, int cap) argument 1575 lagg_setflag(struct lagg_port *lp, int flag, int status, int (*func)(struct ifnet *, int)) argument 1613 lagg_setflags(struct lagg_port *lp, int status) argument 1667 struct lagg_port *lp = ifp->if_lagg; local 1716 struct lagg_port *lp; local 1732 struct lagg_port *lp; local 1770 struct lagg_port *lp = (struct lagg_port *)ifp->if_lagg; local 1785 lagg_link_active(struct lagg_softc *sc, struct lagg_port *lp) argument 1837 struct lagg_port *lp; local 1872 lagg_rr_input(struct lagg_softc *sc, struct lagg_port *lp, struct mbuf *m) argument 1891 struct lagg_port *lp, *last = NULL; local 1934 lagg_bcast_input(struct lagg_softc *sc, struct lagg_port *lp, struct mbuf *m) argument 1949 struct lagg_port *lp; local 1962 lagg_fail_input(struct lagg_softc *sc, struct lagg_port *lp, struct mbuf *m) argument 1994 struct lagg_port *lp; local 2017 lagg_lb_porttable(struct lagg_softc *sc, struct lagg_port *lp) argument 2039 lagg_lb_port_create(struct lagg_port *lp) argument 2046 lagg_lb_port_destroy(struct lagg_port *lp) argument 2056 struct lagg_port *lp = NULL; local 2081 lagg_lb_input(struct lagg_softc *sc, struct lagg_port *lp, struct mbuf *m) argument 2097 struct lagg_port *lp; local 2107 struct lagg_port *lp; local 2123 struct lagg_port *lp; local 2139 struct lagg_port *lp; local 2152 lagg_lacp_input(struct lagg_softc *sc, struct lagg_port *lp, struct mbuf *m) argument [all...] |
/freebsd-11-stable/bin/ed/ |
H A D | buf.c | 46 get_sbuf_line(line_t *lp) argument 53 if (lp == &buffer_head) 57 if (sfseek != lp->seek) { 58 sfseek = lp->seek; 65 len = lp->len; 83 line_t *lp; local 87 if ((lp = (line_t *) malloc(sizeof(line_t))) == NULL) { 97 free(lp); 106 free(lp); 117 free(lp); 130 add_line_node(line_t *lp) argument 143 get_line_node_addr(line_t *lp) argument 162 static line_t *lp = &buffer_head; local [all...] |
H A D | glbl.c | 44 line_t *lp; local 57 lp = get_addressed_line_node(first_addr); 58 for (n = first_addr; n <= second_addr; n++, lp = lp->q_forw) { 59 if ((s = get_sbuf_line(lp)) == NULL) 62 NUL_TO_NEWLINE(s, lp->len); 64 set_active_node(lp) < 0) 79 line_t *lp = NULL; local 95 while ((lp = next_active_node()) != NULL) { 96 if ((current_addr = get_line_node_addr(lp)) < 146 set_active_node(line_t *lp) argument 186 line_t *lp; local [all...] |
/freebsd-11-stable/lib/libc/string/ |
H A D | strlen.c | 86 const unsigned long *lp; local 99 lp = (const unsigned long *)((uintptr_t)str & ~LONGPTR_MASK); 100 va = (*lp - mask01); 101 vb = ((~*lp) & mask80); 102 lp++; 105 for (p = str; p < (const char *)lp; p++) 110 for (; ; lp++) { 111 va = (*lp - mask01); 112 vb = ((~*lp) & mask80); 114 p = (const char *)(lp); [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/common/ctf/ |
H A D | ctf_util.c | 39 ctf_list_append(ctf_list_t *lp, void *new) argument 41 ctf_list_t *p = lp->l_prev; /* p = tail list element */ 44 lp->l_prev = q; 51 lp->l_next = q; 59 ctf_list_prepend(ctf_list_t *lp, void *new) argument 62 ctf_list_t *q = lp->l_next; /* q = head list element */ 64 lp->l_next = p; 71 lp->l_prev = p; 79 ctf_list_delete(ctf_list_t *lp, void *existing) argument 86 lp [all...] |
/freebsd-11-stable/usr.bin/lam/ |
H A D | lam.c | 179 char *lp = linep; local 181 strlcpy(lp, ip->sepstring, line + sizeof(line) - lp); 182 lp += strlen(lp); 184 snprintf(lp, line + sizeof(line) - lp, ip->format, ""); 185 lp += strlen(lp); 187 return (lp); 196 char *lp = linep; local [all...] |
/freebsd-11-stable/crypto/openssl/crypto/des/ |
H A D | qud_cksm.c | 88 } *lp; local 90 DES_LONG *lp; local 96 lp = (struct lp_st *)&(output[0])[0]; 98 lp = (DES_LONG *)&(output[0])[0]; 127 if (lp != NULL) { 133 (*lp).a = z0; 134 (*lp).b = z1; 135 lp++; 137 *lp++ = z0; 138 *lp [all...] |
/freebsd-11-stable/libexec/revnetgroup/ |
H A D | parse_netgroup.c | 138 struct linelist *lp, *olp; local 141 lp = linehead; 142 while (lp) { 143 olp = lp; 144 lp = lp->l_next; 182 struct linelist *lp = linehead; local 187 while (lp) { 188 if (!strcmp(group, lp->l_groupname)) 190 lp 288 struct linelist *lp; local [all...] |
/freebsd-11-stable/sbin/bsdlabel/ |
H A D | bsdlabel.c | 300 fixlabel(struct disklabel *lp) argument 305 for (i = 0; i < lp->d_npartitions; i++) { 308 if (lp->d_partitions[i].p_size) 312 dp = &lp->d_partitions[0]; 314 dp->p_size = lp->d_secperunit - dp->p_offset; 321 makelabel(const char *type, struct disklabel *lp) argument 331 *lp = *dp; 332 bzero(lp->d_packname, sizeof(lp->d_packname)); 385 struct disklabel *lp local 551 display(FILE *f, const struct disklabel *lp) argument 766 getasciilabel(FILE *f, struct disklabel *lp) argument 1042 getasciipartspec(char *tp, struct disklabel *lp, int part, int lineno) argument 1124 checklabel(struct disklabel *lp) argument [all...] |
/freebsd-11-stable/contrib/binutils/gas/config/ |
H A D | atof-ieee.c | 264 LITTLENUM_TYPE *lp; 443 lp = words; 475 *lp++ = word1; 485 *lp++ = 0; 490 *lp++ = 0; 493 *lp++ = next_bits (LITTLENUM_NUMBER_OF_BITS - (num_bits)); 499 *lp++ = word1; 501 *lp++ = 0; 503 *lp++ = next_bits (LITTLENUM_NUMBER_OF_BITS - num_bits); 509 *lp 262 LITTLENUM_TYPE *lp; local [all...] |
/freebsd-11-stable/contrib/gcclibs/libiberty/ |
H A D | obstack.c | 307 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */ 310 lp = (h)->chunk; 314 while (lp != 0 && ((POINTER) lp >= obj || (POINTER) (lp)->limit < obj)) 316 plp = lp->prev; 317 lp = plp; 319 return lp != 0; 334 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */ 337 lp 306 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */ local 332 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */ local 364 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */ local 394 register struct _obstack_chunk* lp; local [all...] |
/freebsd-11-stable/contrib/binutils/libiberty/ |
H A D | obstack.c | 307 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */ 310 lp = (h)->chunk; 314 while (lp != 0 && ((POINTER) lp >= obj || (POINTER) (lp)->limit < obj)) 316 plp = lp->prev; 317 lp = plp; 319 return lp != 0; 334 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */ 337 lp 306 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */ local 332 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */ local 364 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */ local 394 register struct _obstack_chunk* lp; local [all...] |
/freebsd-11-stable/usr.sbin/rpc.statd/ |
H A D | procs.c | 157 MonList *lp; local 189 lp = (MonList *)malloc(sizeof(MonList)); 190 if (!lp) 196 strncpy(lp->notifyHost, arg->mon_id.my_id.my_name, SM_MAXSTRLEN); 197 lp->notifyProg = arg->mon_id.my_id.my_prog; 198 lp->notifyVers = arg->mon_id.my_id.my_vers; 199 lp->notifyProc = arg->mon_id.my_id.my_proc; 200 memcpy(lp->notifyData, arg->priv, sizeof(lp->notifyData)); 202 lp 224 MonList *lp, *next; local 386 MonList *lp; local [all...] |
/freebsd-11-stable/sbin/recoverdisk/ |
H A D | recoverdisk.c | 44 struct lump *lp; local 46 lp = malloc(sizeof *lp); 47 if (lp == NULL) 49 lp->start = start; 50 lp->len = len; 51 lp->state = state; 52 TAILQ_INSERT_TAIL(&lumps, lp, list); 55 static struct lump *lp; variable in typeref:struct:lump 259 lp [all...] |