Searched refs:lp (Results 1 - 25 of 227) sorted by relevance

12345678910

/freebsd-10-stable/lib/libc/gen/
H A Dtelldir.c56 struct ddloc *lp, *flp; local
62 LIST_FOREACH(lp, &dirp->dd_td->td_locq, loc_lqe) {
63 if (lp->loc_seek == dirp->dd_seek) {
65 flp = lp;
66 if (lp->loc_loc == dirp->dd_loc)
69 lp = NULL;
73 if (lp == NULL) {
74 lp = malloc(sizeof(struct ddloc));
75 if (lp == NULL) {
80 lp
103 struct ddloc *lp; local
149 struct ddloc *lp; local
168 struct ddloc *lp; local
[all...]
/freebsd-10-stable/usr.sbin/lpr/lp/
H A DMakefile5 SCRIPTS=lp.sh
6 MAN= lp.1
/freebsd-10-stable/contrib/gdb/gdb/
H A Dlin-lwp.c130 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-10-stable/cddl/contrib/opensolaris/lib/libuutil/common/
H A Duu_list.c35 #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-10-stable/sys/libkern/
H A Dstrlen.c85 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 Dmemcchr.c60 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-10-stable/lib/libstand/
H A Dgets.c45 char *lp; local
47 for (lp = buf;;)
51 *lp = '\0';
56 if (lp > buf) {
57 lp--;
67 for (p = buf; p < lp; ++p)
73 lp = buf;
77 if ((n < 1) || ((lp - buf) < n - 1)) {
78 *lp++ = c;
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/
H A Dtst.aouttype.c28 sleeper(season_7_lisa_the_vegetarian_t *lp) argument
31 sleep(lp->fr_salad);
/freebsd-10-stable/sys/net/
H A Dieee8023ad_lacp.c232 struct lacp_port *lp = LACP_PORT(lgp); local
243 lacp_pdu_input(lp, m);
247 lacp_marker_input(lp, m);
259 lacp_pdu_input(struct lacp_port *lp, struct mbuf *m) argument
261 struct lacp_softc *lsc = lp->lp_lsc;
307 lacp_dprintf(lp, "lacpdu receive\n");
311 if ((1 << lp->lp_ifp->if_dunit) & lp->lp_lsc->lsc_debug.lsc_rx_test) {
312 LACP_TPRINTF((lp, "Dropping RX PDU\n"));
317 lacp_sm_rx(lp, d
329 lacp_fill_actorinfo(struct lacp_port *lp, struct lacp_peerinfo *info) argument
343 lacp_fill_markerinfo(struct lacp_port *lp, struct lacp_markerinfo *info) argument
354 lacp_xmit_lacpdu(struct lacp_port *lp) argument
408 lacp_xmit_marker(struct lacp_port *lp) argument
451 struct lacp_port *lp = LACP_PORT(lgp); local
497 struct lacp_port *lp; local
520 struct lacp_port *lp; local
569 struct lacp_port *lp = LACP_PORT(lgp); local
635 struct lacp_port *lp = LACP_PORT(lgp); local
658 lacp_disable_collecting(struct lacp_port *lp) argument
665 lacp_enable_collecting(struct lacp_port *lp) argument
672 lacp_disable_distributing(struct lacp_port *lp) argument
709 lacp_enable_distributing(struct lacp_port *lp) argument
825 struct lacp_port *lp; local
860 struct lacp_port *lp; local
907 struct lacp_port *lp; local
1002 struct lacp_port *lp; local
1031 lacp_compose_key(struct lacp_port *lp) argument
1194 lacp_aggregator_get(struct lacp_softc *lsc, struct lacp_port *lp) argument
1215 lacp_fill_aggregator_id(struct lacp_aggregator *la, const struct lacp_port *lp) argument
1237 lacp_aggregator_is_compatible(const struct lacp_aggregator *la, const struct lacp_port *lp) argument
1277 lacp_port_enable(struct lacp_port *lp) argument
1283 lacp_port_disable(struct lacp_port *lp) argument
1298 lacp_select(struct lacp_port *lp) argument
1354 lacp_unselect(struct lacp_port *lp) argument
1373 lacp_sm_mux(struct lacp_port *lp) argument
1445 lacp_set_mux(struct lacp_port *lp, enum lacp_mux_state new_state) argument
1496 lacp_sm_mux_timer(struct lacp_port *lp) argument
1514 lacp_sm_ptx_update_timeout(struct lacp_port *lp, uint8_t oldpstate) argument
1543 lacp_sm_ptx_tx_schedule(struct lacp_port *lp) argument
1569 lacp_sm_ptx_timer(struct lacp_port *lp) argument
1575 lacp_sm_rx(struct lacp_port *lp, const struct lacpdu *du) argument
1618 lacp_sm_rx_set_expired(struct lacp_port *lp) argument
1627 lacp_sm_rx_timer(struct lacp_port *lp) argument
1643 lacp_sm_rx_record_pdu(struct lacp_port *lp, const struct lacpdu *du) argument
1686 lacp_sm_rx_update_ntt(struct lacp_port *lp, const struct lacpdu *du) argument
1700 lacp_sm_rx_record_default(struct lacp_port *lp) argument
1716 lacp_sm_rx_update_selected_from_peerinfo(struct lacp_port *lp, const struct lacp_peerinfo *info) argument
1731 lacp_sm_rx_update_selected(struct lacp_port *lp, const struct lacpdu *du) argument
1740 lacp_sm_rx_update_default_selected(struct lacp_port *lp) argument
1756 lacp_sm_tx(struct lacp_port *lp) argument
1795 lacp_sm_assert_ntt(struct lacp_port *lp) argument
1802 lacp_run_timers(struct lacp_port *lp) argument
1820 lacp_marker_input(struct lacp_port *lp, struct mbuf *m) argument
2058 lacp_dprintf(const struct lacp_port *lp, const char *fmt, ...) argument
[all...]
H A Dif_lagg.c270 struct lagg_port *lp; local
278 SLIST_FOREACH(lp, &sc->sc_ports, lp_entries)
279 EVENTHANDLER_INVOKE(vlan_config, lp->lp_ifp, vtag);
292 struct lagg_port *lp; local
300 SLIST_FOREACH(lp, &sc->sc_ports, lp_entries)
301 EVENTHANDLER_INVOKE(vlan_unconfig, lp->lp_ifp, vtag);
392 struct lagg_port *lp; local
403 while ((lp = SLIST_FIRST(&sc->sc_ports)) != NULL)
404 lagg_port_destroy(lp, 1);
438 struct lagg_port lp; local
465 struct lagg_port *lp; local
501 lagg_port_lladdr(struct lagg_port *lp, uint8_t *lladdr) argument
588 struct lagg_port *lp, *tlp; local
710 struct lagg_port *lp; local
727 lagg_port_destroy(struct lagg_port *lp, int runpd) argument
806 struct lagg_port *lp = NULL; local
874 struct lagg_port *lp = ifp->if_lagg; local
890 struct lagg_port *lp; local
908 lagg_port2req(struct lagg_port *lp, struct lagg_reqport *rp) argument
952 struct lagg_port *lp; local
996 struct lagg_port *lp; local
1169 struct lacp_port *lp; local
1351 struct lagg_port *lp; local
1365 lagg_ether_cmdmulti(struct lagg_port *lp, int set) argument
1412 lagg_setflag(struct lagg_port *lp, int flag, int status, int (*func)(struct ifnet *, int)) argument
1450 lagg_setflags(struct lagg_port *lp, int status) argument
1508 struct lagg_port *lp = ifp->if_lagg; local
1556 struct lagg_port *lp; local
1573 struct lagg_port *lp; local
1609 struct lagg_port *lp = (struct lagg_port *)ifp->if_lagg; local
1625 lagg_link_active(struct lagg_softc *sc, struct lagg_port *lp) argument
1820 struct lagg_port *lp; local
1843 lagg_rr_input(struct lagg_softc *sc, struct lagg_port *lp, struct mbuf *m) argument
1876 struct lagg_port *lp; local
1889 lagg_fail_input(struct lagg_softc *sc, struct lagg_port *lp, struct mbuf *m) argument
1921 struct lagg_port *lp; local
1951 lagg_lb_porttable(struct lagg_softc *sc, struct lagg_port *lp) argument
1973 lagg_lb_port_create(struct lagg_port *lp) argument
1980 lagg_lb_port_destroy(struct lagg_port *lp) argument
1990 struct lagg_port *lp = NULL; local
2015 lagg_lb_input(struct lagg_softc *sc, struct lagg_port *lp, struct mbuf *m) argument
2031 struct lagg_port *lp; local
2054 struct lagg_port *lp; local
2072 struct lagg_port *lp; local
2086 struct lagg_port *lp; local
2099 lagg_lacp_input(struct lagg_softc *sc, struct lagg_port *lp, struct mbuf *m) argument
[all...]
/freebsd-10-stable/bin/ed/
H A Dbuf.c46 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 Dglbl.c44 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-10-stable/sys/sys/
H A Dlockstat.h164 #define LOCKSTAT_RECORD4(probe, lp, arg1, arg2, arg3, arg4) do { \
168 (*lockstat_probe_func)(id, (uintptr_t)(lp), (arg1), (arg2), \
172 #define LOCKSTAT_RECORD(probe, lp, arg1) \
173 LOCKSTAT_RECORD4(probe, lp, arg1, 0, 0, 0)
175 #define LOCKSTAT_RECORD0(probe, lp) \
176 LOCKSTAT_RECORD4(probe, lp, 0, 0, 0, 0)
178 #define LOCKSTAT_RECORD1(probe, lp, arg1) \
179 LOCKSTAT_RECORD4(probe, lp, arg1, 0, 0, 0)
181 #define LOCKSTAT_RECORD2(probe, lp, arg1, arg2) \
182 LOCKSTAT_RECORD4(probe, lp, arg
[all...]
/freebsd-10-stable/lib/libc/string/
H A Dstrlen.c86 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-10-stable/cddl/contrib/opensolaris/common/ctf/
H A Dctf_util.c39 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-10-stable/usr.bin/lam/
H A Dlam.c179 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-10-stable/crypto/openssl/crypto/des/
H A Dqud_cksm.c88 } *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-10-stable/libexec/revnetgroup/
H A Dparse_netgroup.c138 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-10-stable/sbin/bsdlabel/
H A Dbsdlabel.c301 fixlabel(struct disklabel *lp) argument
306 for (i = 0; i < lp->d_npartitions; i++) {
309 if (lp->d_partitions[i].p_size)
313 dp = &lp->d_partitions[0];
315 dp->p_size = lp->d_secperunit - dp->p_offset;
322 makelabel(const char *type, struct disklabel *lp) argument
332 *lp = *dp;
333 bzero(lp->d_packname, sizeof(lp->d_packname));
386 struct disklabel *lp local
552 display(FILE *f, const struct disklabel *lp) argument
767 getasciilabel(FILE *f, struct disklabel *lp) argument
1043 getasciipartspec(char *tp, struct disklabel *lp, int part, int lineno) argument
1125 checklabel(struct disklabel *lp) argument
[all...]
/freebsd-10-stable/contrib/binutils/gas/config/
H A Datof-ieee.c264 LITTLENUM_TYPE *lp;
442 lp = words;
474 *lp++ = word1;
484 *lp++ = 0;
489 *lp++ = 0;
492 *lp++ = next_bits (LITTLENUM_NUMBER_OF_BITS - (num_bits));
498 *lp++ = word1;
500 *lp++ = 0;
502 *lp++ = next_bits (LITTLENUM_NUMBER_OF_BITS - num_bits);
508 *lp
262 LITTLENUM_TYPE *lp; local
[all...]
/freebsd-10-stable/contrib/binutils/libiberty/
H A Dobstack.c307 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-10-stable/contrib/gcclibs/libiberty/
H A Dobstack.c307 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-10-stable/usr.sbin/rpc.statd/
H A Dprocs.c157 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-10-stable/sbin/recoverdisk/
H A Drecoverdisk.c44 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...]
/freebsd-10-stable/contrib/nvi/vi/
H A Dv_section.c70 char *list, *lp; local
122 for (lp = list; *lp != '\0'; lp += 2 * sizeof(*lp))
123 if (lp[0] == p[1] &&
124 ((lp[1] == ' ' && len == 2) || lp[1] == p[2]) &&
177 char *list, *lp; local
212 for (lp
[all...]

Completed in 183 milliseconds

12345678910