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

123456789

/freebsd-10.0-release/lib/libc/gen/
H A Dtelldir.c63 struct ddloc *lp; local
65 if ((lp = (struct ddloc *)malloc(sizeof(struct ddloc))) == NULL)
69 lp->loc_index = dirp->dd_td->td_loccnt++;
70 lp->loc_seek = dirp->dd_seek;
71 lp->loc_loc = dirp->dd_loc;
72 LIST_INSERT_HEAD(&dirp->dd_td->td_locq, lp, loc_lqe);
75 return (lp->loc_index);
87 struct ddloc *lp; local
90 LIST_FOREACH(lp, &dirp->dd_td->td_locq, loc_lqe) {
91 if (lp
120 struct ddloc *lp; local
[all...]
/freebsd-10.0-release/usr.sbin/lpr/lp/
H A DMakefile5 SCRIPTS=lp.sh
6 MAN= lp.1
/freebsd-10.0-release/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.0-release/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.0-release/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.0-release/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.0-release/sys/net/
H A Dieee8023ad_lacp.c227 struct lacp_port *lp = LACP_PORT(lgp); local
238 lacp_pdu_input(lp, m);
242 lacp_marker_input(lp, m);
254 lacp_pdu_input(struct lacp_port *lp, struct mbuf *m) argument
256 struct lacp_softc *lsc = lp->lp_lsc;
302 lacp_dprintf(lp, "lacpdu receive\n");
306 if ((1 << lp->lp_ifp->if_dunit) & lp->lp_lsc->lsc_debug.lsc_rx_test) {
307 LACP_TPRINTF((lp, "Dropping RX PDU\n"));
312 lacp_sm_rx(lp, d
324 lacp_fill_actorinfo(struct lacp_port *lp, struct lacp_peerinfo *info) argument
338 lacp_fill_markerinfo(struct lacp_port *lp, struct lacp_markerinfo *info) argument
349 lacp_xmit_lacpdu(struct lacp_port *lp) argument
403 lacp_xmit_marker(struct lacp_port *lp) argument
446 struct lacp_port *lp = LACP_PORT(lgp); local
492 struct lacp_port *lp; local
513 struct lacp_port *lp; local
567 struct lacp_port *lp = LACP_PORT(lgp); local
622 struct lacp_port *lp = LACP_PORT(lgp); local
645 lacp_disable_collecting(struct lacp_port *lp) argument
652 lacp_enable_collecting(struct lacp_port *lp) argument
659 lacp_disable_distributing(struct lacp_port *lp) argument
696 lacp_enable_distributing(struct lacp_port *lp) argument
862 struct lacp_port *lp; local
896 struct lacp_port *lp; local
943 struct lacp_port *lp; local
1038 struct lacp_port *lp; local
1067 lacp_compose_key(struct lacp_port *lp) argument
1184 lacp_aggregator_get(struct lacp_softc *lsc, struct lacp_port *lp) argument
1205 lacp_fill_aggregator_id(struct lacp_aggregator *la, const struct lacp_port *lp) argument
1227 lacp_aggregator_is_compatible(const struct lacp_aggregator *la, const struct lacp_port *lp) argument
1267 lacp_port_enable(struct lacp_port *lp) argument
1273 lacp_port_disable(struct lacp_port *lp) argument
1288 lacp_select(struct lacp_port *lp) argument
1344 lacp_unselect(struct lacp_port *lp) argument
1363 lacp_sm_mux(struct lacp_port *lp) argument
1435 lacp_set_mux(struct lacp_port *lp, enum lacp_mux_state new_state) argument
1486 lacp_sm_mux_timer(struct lacp_port *lp) argument
1504 lacp_sm_ptx_update_timeout(struct lacp_port *lp, uint8_t oldpstate) argument
1533 lacp_sm_ptx_tx_schedule(struct lacp_port *lp) argument
1559 lacp_sm_ptx_timer(struct lacp_port *lp) argument
1565 lacp_sm_rx(struct lacp_port *lp, const struct lacpdu *du) argument
1608 lacp_sm_rx_set_expired(struct lacp_port *lp) argument
1617 lacp_sm_rx_timer(struct lacp_port *lp) argument
1633 lacp_sm_rx_record_pdu(struct lacp_port *lp, const struct lacpdu *du) argument
1676 lacp_sm_rx_update_ntt(struct lacp_port *lp, const struct lacpdu *du) argument
1690 lacp_sm_rx_record_default(struct lacp_port *lp) argument
1706 lacp_sm_rx_update_selected_from_peerinfo(struct lacp_port *lp, const struct lacp_peerinfo *info) argument
1721 lacp_sm_rx_update_selected(struct lacp_port *lp, const struct lacpdu *du) argument
1730 lacp_sm_rx_update_default_selected(struct lacp_port *lp) argument
1746 lacp_sm_tx(struct lacp_port *lp) argument
1785 lacp_sm_assert_ntt(struct lacp_port *lp) argument
1792 lacp_run_timers(struct lacp_port *lp) argument
1810 lacp_marker_input(struct lacp_port *lp, struct mbuf *m) argument
2048 lacp_dprintf(const struct lacp_port *lp, const char *fmt, ...) argument
[all...]
H A Dif_lagg.c235 struct lagg_port *lp; local
243 SLIST_FOREACH(lp, &sc->sc_ports, lp_entries)
244 EVENTHANDLER_INVOKE(vlan_config, lp->lp_ifp, vtag);
257 struct lagg_port *lp; local
265 SLIST_FOREACH(lp, &sc->sc_ports, lp_entries)
266 EVENTHANDLER_INVOKE(vlan_unconfig, lp->lp_ifp, vtag);
377 struct lagg_port *lp; local
388 while ((lp = SLIST_FIRST(&sc->sc_ports)) != NULL)
389 lagg_port_destroy(lp, 1);
438 struct lagg_port *lp; local
469 lagg_port_lladdr(struct lagg_port *lp, uint8_t *lladdr) argument
547 struct lagg_port *lp; local
682 struct lagg_port *lp; local
699 lagg_port_destroy(struct lagg_port *lp, int runpd) argument
778 struct lagg_port *lp = NULL; local
846 struct lagg_port *lp = ifp->if_lagg; local
862 struct lagg_port *lp; local
880 lagg_port2req(struct lagg_port *lp, struct lagg_reqport *rp) argument
924 struct lagg_port *lp; local
967 struct lagg_port *lp; local
1181 struct lagg_port *lp; local
1195 lagg_ether_cmdmulti(struct lagg_port *lp, int set) argument
1242 lagg_setflag(struct lagg_port *lp, int flag, int status, int (*func)(struct ifnet *, int)) argument
1280 lagg_setflags(struct lagg_port *lp, int status) argument
1338 struct lagg_port *lp = ifp->if_lagg; local
1386 struct lagg_port *lp; local
1403 struct lagg_port *lp; local
1439 struct lagg_port *lp = (struct lagg_port *)ifp->if_lagg; local
1455 lagg_link_active(struct lagg_softc *sc, struct lagg_port *lp) argument
1521 struct lagg_port *lp; local
1673 struct lagg_port *lp; local
1696 lagg_rr_input(struct lagg_softc *sc, struct lagg_port *lp, struct mbuf *m) argument
1731 struct lagg_port *lp; local
1744 lagg_fail_input(struct lagg_softc *sc, struct lagg_port *lp, struct mbuf *m) argument
1777 struct lagg_port *lp; local
1810 lagg_lb_porttable(struct lagg_softc *sc, struct lagg_port *lp) argument
1832 lagg_lb_port_create(struct lagg_port *lp) argument
1839 lagg_lb_port_destroy(struct lagg_port *lp) argument
1849 struct lagg_port *lp = NULL; local
1873 lagg_lb_input(struct lagg_softc *sc, struct lagg_port *lp, struct mbuf *m) argument
1890 struct lagg_port *lp; local
1918 struct lagg_port *lp; local
1935 struct lagg_port *lp; local
1949 struct lagg_port *lp; local
1962 lagg_lacp_input(struct lagg_softc *sc, struct lagg_port *lp, struct mbuf *m) argument
[all...]
/freebsd-10.0-release/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.0-release/sys/sys/
H A Dlockstat.h162 #define LOCKSTAT_RECORD4(probe, lp, arg1, arg2, arg3, arg4) do { \
166 (*lockstat_probe_func)(id, (uintptr_t)(lp), (arg1), (arg2), \
170 #define LOCKSTAT_RECORD(probe, lp, arg1) \
171 LOCKSTAT_RECORD4(probe, lp, arg1, 0, 0, 0)
173 #define LOCKSTAT_RECORD0(probe, lp) \
174 LOCKSTAT_RECORD4(probe, lp, 0, 0, 0, 0)
176 #define LOCKSTAT_RECORD1(probe, lp, arg1) \
177 LOCKSTAT_RECORD4(probe, lp, arg1, 0, 0, 0)
179 #define LOCKSTAT_RECORD2(probe, lp, arg1, arg2) \
180 LOCKSTAT_RECORD4(probe, lp, arg
[all...]
/freebsd-10.0-release/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.0-release/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.0-release/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.0-release/crypto/openssl/crypto/des/
H A Dqud_cksm.c84 struct lp_st { int a:32; int b:32; } *lp; local
86 DES_LONG *lp; local
91 lp = (struct lp_st *) &(output[0])[0];
93 lp = (DES_LONG *) &(output[0])[0];
123 if (lp != NULL)
128 (*lp).a = z0;
129 (*lp).b = z1;
130 lp++;
132 *lp++ = z0;
133 *lp
[all...]
/freebsd-10.0-release/libexec/revnetgroup/
H A Dparse_netgroup.c142 struct linelist *lp, *olp; local
145 lp = linehead;
146 while (lp) {
147 olp = lp;
148 lp = lp->l_next;
186 struct linelist *lp = linehead; local
191 while (lp) {
192 if (!strcmp(group, lp->l_groupname))
194 lp
292 struct linelist *lp; local
[all...]
/freebsd-10.0-release/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.0-release/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.0-release/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.0-release/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.0-release/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.0-release/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
258 lp
[all...]
/freebsd-10.0-release/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...]
/freebsd-10.0-release/usr.sbin/lpr/
H A DMakefile3 SUBDIR= common_source chkprintcap lp lpc lpd lpq lpr lprm lptest pac \

Completed in 238 milliseconds

123456789