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

1 2 3 4 5 6 7 8 91011>>

  /src/sys/lib/libsa/
gets.c 48 char *lp; local
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
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/external/mit/isl/dist/
basis_reduction_tab.c 91 static void set_lp_obj(struct tab_lp *lp, isl_int *row, int dim);
92 static int solve_lp(struct tab_lp *lp);
93 static void get_obj_val(struct tab_lp* lp, GBR_type *F);
94 static void delete_lp(struct tab_lp *lp);
95 static int add_lp_row(struct tab_lp *lp, isl_int *row, int dim);
96 static void get_alpha(struct tab_lp* lp, int row, GBR_type *alpha);
97 static int del_lp_row(struct tab_lp *lp) WARN_UNUSED;
98 static int cut_lp_to_hyperplane(struct tab_lp *lp, isl_int *row);
102 #define GBR_lp_set_obj(lp, obj, dim) set_lp_obj(lp, obj, dim
137 struct tab_lp *lp = NULL; local
    [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...]
  /src/external/gpl2/lvm2/dist/tools/
lvcreate.c 30 static int _lvcreate_name_params(struct lvcreate_params *lp,
38 lp->lv_name = arg_str_value(cmd, name_ARG, NULL);
40 if (lp->snapshot && !arg_count(cmd, virtualsize_ARG)) {
47 lp->origin = argv[0];
49 if (!(lp->vg_name = extract_vgname(cmd, lp->origin))) {
56 if ((ptr = strrchr(lp->origin, (int) '/')))
57 lp->origin = ptr + 1;
65 if (!(lp->vg_name = extract_vgname(cmd, lp->lv_name)))
570 struct lvcreate_params lp; local
    [all...]
lvresize.c 53 struct lvresize_params *lp)
74 lp->stripe_size = vg->extent_size;
76 lp->stripe_size = arg_uint_value(cmd, stripesize_ARG, 0);
78 if (lp->mirrors) {
82 if (lp->stripe_size & (lp->stripe_size - 1)) {
93 const struct lvresize_params *lp)
104 if (lp->resizefs) {
107 "before resizing filesystem", lp->lv_name);
118 display_size(cmd, (uint64_t) lp->extents * vg->extent_size))
669 struct lvresize_params lp; local
    [all...]
  /src/lib/libc/gen/
telldir.c 78 struct dirpos *lp; local
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
    [all...]
  /src/sys/arch/hp300/stand/common/
tgets.c 45 char *lp = buf; local
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
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
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
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
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
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/external/lgpl3/gmp/dist/mpn/generic/
strongfibo.c 78 The starting point is given in L_{count+1} = {lp, mn}.
88 mpn_llriter (mp_ptr lp, mp_srcptr mp, mp_size_t mn, mp_bitcnt_t count, mp_ptr sp)
92 mpn_sqr (sp, lp, mn);
93 mpn_tdiv_qr (sp + 2 * mn, lp, 0, sp, 2 * mn, mp, mn);
94 if (lp[0] < 5)
97 if (mn == 1 || mpn_zero_p (lp + 1, mn - 1))
98 return (lp[0] == 2) ? count : 0;
100 MPN_DECR_U (lp, mn, 2);
103 lp[0] -= 2;
108 /* Store the Lucas' number L[n] at lp (maybe), computed modulo m. l
172 mp_ptr lp, sp; local
    [all...]
  /src/external/cddl/osnet/dist/lib/libuutil/common/
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->ul_parent_enc = UU_PTR_ENCODE(parent)
478 uu_list_t *lp = wp->ulw_list; local
    [all...]
  /src/lib/libukfs/
ukfs_disklabel.c 54 ukfs__disklabel_scan(struct ukfs__disklabel *lp, int *isswapped,
63 for (i=0; i <= buflen - sizeof(*lp); i += SCAN_INCR) {
64 memcpy(lp, buf + i, sizeof(*lp));
65 if (lp->d_magic == UKFS_DISKMAGIC &&
66 lp->d_magic2 == UKFS_DISKMAGIC) {
70 if (lp->d_magic == bswap32(UKFS_DISKMAGIC) &&
71 lp->d_magic2 == bswap32(UKFS_DISKMAGIC)) {
81 npart = bswap16(lp->d_npartitions);
83 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
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
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
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;

Completed in 39 milliseconds

1 2 3 4 5 6 7 8 91011>>