HomeSort by: relevance | last modified time | path
    Searched refs:lp (Results 1 - 25 of 343) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/sys/lib/libsa/
gets.c 48 char *lp; local in function:kgets
50 for (lp = buf;;) {
51 if ((size_t)(lp - buf) == size) {
52 lp--;
53 *lp = '\0';
59 *lp = '\0';
64 if (lp > buf) {
65 lp--;
73 if (lp > buf)
74 --lp;
    [all...]
  /src/sys/arch/sun68k/stand/libsa/
gets.c 51 char *lp; local in function:kgets
54 lp = buf;
57 if (lp - buf == size) {
58 lp--;
59 *lp = '\0';
71 *lp++ = c;
82 if (lp > buf)
83 lp--;
95 for (p = buf; p < lp; ++p)
111 *lp = '\0'
    [all...]
  /src/sys/net/agr/
ieee8023ad_lacp_sm_rx.c 78 lacp_sm_rx(struct lacp_port *lp, const struct lacpdu *du)
86 if (!(lp->lp_state & LACP_STATE_AGGREGATION)) {
95 &lp->lp_actor.lip_systemid)) {
103 lacp_sm_rx_update_selected(lp, du);
104 lacp_sm_rx_update_ntt(lp, du);
105 lacp_sm_rx_record_pdu(lp, du);
107 timeout = (lp->lp_state & LACP_STATE_TIMEOUT) ?
109 LACP_TIMER_ARM(lp, LACP_TIMER_CURRENT_WHILE, timeout);
111 lp->lp_state &= ~LACP_STATE_EXPIRED;
117 lacp_sm_tx(lp);
    [all...]
ieee8023ad_lacp_sm_ptx.c 50 lacp_sm_ptx_update_timeout(struct lacp_port *lp, uint8_t oldpstate)
53 if (LACP_STATE_EQ(oldpstate, lp->lp_partner.lip_state,
58 LACP_DPRINTF((lp, "partner timeout changed\n"));
68 LACP_TIMER_DISARM(lp, LACP_TIMER_PERIODIC);
74 if ((lp->lp_partner.lip_state & LACP_STATE_TIMEOUT)) {
75 lacp_sm_assert_ntt(lp);
80 lacp_sm_ptx_tx_schedule(struct lacp_port *lp)
84 if (!(lp->lp_state & LACP_STATE_ACTIVITY) &&
85 !(lp->lp_partner.lip_state & LACP_STATE_ACTIVITY)) {
91 LACP_TIMER_DISARM(lp, LACP_TIMER_PERIODIC)
    [all...]
ieee8023ad_lacp_sm_tx.c 51 lacp_sm_tx(struct lacp_port *lp)
56 if (!(lp->lp_state & LACP_STATE_AGGREGATION)
58 || (!(lp->lp_state & LACP_STATE_ACTIVITY)
59 && !(lp->lp_partner.lip_state & LACP_STATE_ACTIVITY))
62 lp->lp_flags &= ~LACPPORT_NTT;
65 if (!(lp->lp_flags & LACPPORT_NTT)) {
71 if ((unsigned int)(now - lp->lp_last_lacpdu_sent) <=
75 lp->lp_last_lacpdu_sent = now;
77 error = lacp_xmit_lacpdu(lp);
80 lp->lp_flags &= ~LACPPORT_NTT
    [all...]
  /src/lib/libc/gen/
telldir.c 78 struct dirpos *lp; local in function:_telldir_unlocked
80 for (lp = dirp->dd_internal; lp; lp = lp->dp_next)
81 if (lp->dp_seek == dirp->dd_seek &&
82 lp->dp_loc == dirp->dd_loc)
83 return (intptr_t)lp;
85 if ((lp = malloc(sizeof(*lp))) == NULL
103 struct dirpos *lp; local in function:_seekdir_unlocked
    [all...]
  /src/sys/arch/hp300/stand/common/
tgets.c 45 char *lp = buf; local in function:tgets
48 if (lp - buf == size) {
49 lp--;
50 *lp = '\0';
59 *lp = '\0';
64 if (lp > buf) {
65 lp--;
72 if (lp > buf)
73 --lp;
79 for (p = buf; p < lp; ++p
    [all...]
  /src/lib/libutil/
disklabel_scan.c 49 disklabel_scan(struct disklabel *lp, char *buf, size_t buflen)
55 for (i=0; i <= buflen - sizeof(*lp); i += SCAN_INCR) {
56 memcpy(lp, buf + i, sizeof(*lp));
57 if (lp->d_magic == DISKMAGIC && lp->d_magic2 == DISKMAGIC)
65 if (lp->d_npartitions > MAXPARTITIONS || disklabel_dkcksum(lp))
  /src/sys/arch/bebox/stand/boot/
tgets.c 41 register char *lp; local in function:tgets
58 for (lp = buf;; c = getchar()) {
62 *lp = '\0';
67 if (lp > buf) {
68 lp--;
78 for (p = buf; p < lp; ++p)
84 lp = buf;
88 *lp++ = c;
  /src/sys/arch/cobalt/stand/boot/
tgets.c 43 char *lp; local in function:tgets
60 for (lp = buf;; c = getchar()) {
64 *lp = '\0';
69 if (lp > buf) {
70 lp--;
80 for (p = buf; p < lp; ++p)
86 lp = buf;
90 *lp++ = c;
  /src/sys/arch/mmeye/stand/boot/
tgets.c 43 char *lp; local in function:tgets
60 for (lp = buf;; c = getchar()) {
64 *lp = '\0';
69 if (lp > buf) {
70 lp--;
80 for (p = buf; p < lp; ++p)
86 lp = buf;
90 *lp++ = c;
  /src/sys/arch/prep/stand/boot/
tgets.c 41 register char *lp; local in function:tgets
58 for (lp = buf;; c = getchar()) {
62 *lp = '\0';
67 if (lp > buf) {
68 lp--;
78 for (p = buf; p < lp; ++p)
84 lp = buf;
88 *lp++ = c;
  /src/sys/arch/rs6000/stand/boot/
tgets.c 41 register char *lp; local in function:tgets
58 for (lp = buf;; c = getchar()) {
62 *lp = '\0';
67 if (lp > buf) {
68 lp--;
78 for (p = buf; p < lp; ++p)
84 lp = buf;
88 *lp++ = c;
  /src/usr.sbin/lpr/lp/
Makefile 4 FILES= lp
7 MAN= lp.1
  /src/lib/libukfs/
ukfs_disklabel.c 53 ukfs__disklabel_scan(struct ukfs__disklabel *lp, int *isswapped,
62 for (i=0; i <= buflen - sizeof(*lp); i += SCAN_INCR) {
63 memcpy(lp, buf + i, sizeof(*lp));
64 if (lp->d_magic == UKFS_DISKMAGIC &&
65 lp->d_magic2 == UKFS_DISKMAGIC) {
69 if (lp->d_magic == bswap32(UKFS_DISKMAGIC) &&
70 lp->d_magic2 == bswap32(UKFS_DISKMAGIC)) {
80 npart = bswap16(lp->d_npartitions);
82 npart = lp->d_npartitions
    [all...]
  /src/sys/arch/next68k/next68k/
disksubr.c 75 parse_nextstep_label(struct next68k_disklabel *ondisk, struct disklabel *lp,
92 lp->d_magic = lp->d_magic2 = DISKMAGIC;
93 lp->d_type = DKTYPE_SCSI;
94 lp->d_subtype = 0;
95 if (sizeof(lp->d_typename) > sizeof(ondisk->cd_name))
96 lp->d_typename[sizeof (ondisk->cd_name)] = '\0';
97 memcpy(lp->d_typename, ondisk->cd_name,
98 uimin(sizeof (lp->d_typename), sizeof(ondisk->cd_name)));
99 if (sizeof(lp->d_packname) > sizeof(ondisk->cd_label)
    [all...]
  /src/sys/arch/luna68k/luna68k/
disksubr.c 177 readdisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, struct cpu_disklabel *clp)
186 if (lp->d_secperunit == 0)
187 lp->d_secperunit = 0x1fffffff;
188 if (lp->d_npartitions < RAW_PART + 1)
189 lp->d_npartitions = RAW_PART + 1;
191 lp->d_partitions[i].p_size = 0;
192 lp->d_partitions[i].p_offset = 0;
194 if (lp->d_partitions[RAW_PART].p_size == 0)
195 lp->d_partitions[RAW_PART].p_size = lp->d_secperunit
    [all...]
  /src/sys/arch/mvme68k/mvme68k/
disksubr.c 51 static void bsdtocpulabel(struct disklabel *lp, struct cpu_disklabel *clp);
52 static void cputobsdlabel(struct disklabel *lp, struct cpu_disklabel *clp);
55 static void printlp(struct disklabel *lp, const char *str);
69 readdisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp,
76 bp = geteblk((int)lp->d_secsize);
81 bp->b_bcount = lp->d_secsize;
98 cputobsdlabel(lp, clp);
101 printlp(lp, "readdisklabel: bsd label");
112 writedisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp,
120 printlp(lp, "writedisklabel: bsd label")
    [all...]
  /src/sys/arch/hppa/stand/boot/
tgets.c 44 char *p, *lp = buf; local in function:tgets
55 *lp = '\0';
61 if (lp > buf) {
62 lp--;
70 if (lp > buf)
71 --lp;
76 for (p = buf; p < lp; ++p)
83 lp = buf;
88 *lp++ = c;
  /src/sys/arch/ia64/stand/common/
gets.c 51 char *lp; local in function:ngets
53 for (lp = buf;;)
57 *lp = '\0';
62 if (lp > buf) {
63 lp--;
73 for (p = buf; p < lp; ++p)
79 lp = buf;
83 if ((n < 1) || ((lp - buf) < n)) {
84 *lp++ = c;
  /src/sys/arch/luna68k/stand/boot/
getline.c 85 char *p, *lp = buff; local in function:getline
95 *lp = '\0';
101 if (lp > buff) {
102 lp--;
112 for (p = buff; p < lp; ++p)
118 lp = buff;
123 *lp++ = c;
130 *lp = '\0';
131 return lp - buff;
  /src/sbin/disklabel/
dkcksum.c 54 dkcksum(const struct disklabel *lp)
57 return dkcksum_sized(lp, lp->d_npartitions);
61 dkcksum_sized(const struct disklabel *lp, size_t npartitions)
67 start = (const uint16_t *)lp;
68 end = (const uint16_t *)&lp->d_partitions[npartitions];
  /src/sys/lib/libkern/
dkcksum.c 48 dkcksum(const struct disklabel *lp)
51 return dkcksum_sized(lp, lp->d_npartitions);
55 dkcksum_sized(const struct disklabel *lp, size_t npartitions)
61 start = (const uint16_t *)lp;
62 end = (const uint16_t *)&lp->d_partitions[npartitions];
  /src/sys/arch/hpc/hpc/
disksubr.c 125 readdisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp,
137 if (lp->d_secsize == 0)
138 lp->d_secsize = DEV_BSIZE;
139 if (lp->d_secperunit == 0)
140 lp->d_secperunit = 0x1fffffff;
142 if (lp->d_ncylinders == 16383) {
144 lp->d_ncylinders, lp->d_ntracks, lp->d_nsectors);
145 lp->d_ncylinders = lp->d_secperunit / lp->d_ntracks / lp->d_nsectors
    [all...]
  /src/lib/libcurses/PSD.doc/
twinkle1.c 104 LOCS *lp; local in function:makeboard
107 lp = Layout;
111 lp->y = y;
112 lp->x = x;
113 lp++;
115 Numstars = lp - Layout;
144 LOCS *lp; local in function:puton
150 for (lp = Layout; lp < end; lp++)
    [all...]

Completed in 17 milliseconds

1 2 3 4 5 6 7 8 91011>>