Searched refs:unit (Results 1 - 25 of 58) sorted by relevance

123

/barrelfish-2018-10-04/lib/lwip2/src/netif/ppp/
H A Decp.c84 static void ecp_init (int unit);
86 static void ecp_open (int unit);
87 static void ecp_close (int unit, char *);
88 static void ecp_lowerup (int unit);
90 static void ecp_input (int unit, u_char *pkt, int len);
91 static void ecp_protrej (int unit);
99 static void ecp_datainput (int unit, u_char *pkt, int len);
159 ecp_init(unit)
160 int unit;
162 fsm *f = &ecp_fsm[unit];
[all...]
H A Dauth.c556 void start_link(unit)
557 int unit;
559 ppp_pcb *pcb = &ppp_pcb_list[unit];
650 * can happen that another pppd gets the same unit and then
658 * the ppp unit back to the loopback. Set the
762 set_allowed_addrs(unit, NULL, NULL);
786 set_allowed_addrs(unit, NULL, NULL);
862 ppp_pcb *pcb = &ppp_pcb_list[unit];
865 lcp_options *go = &lcp_gotoptions[unit];
962 && !ecp_gotoptions[unit]
[all...]
H A Dmultilink.c73 static int owns_unit (TDB_DATA pid, int unit);
124 int unit, pppd_pid; local
209 unit = -1;
221 parse_num(rec.dptr, "IFNAME=ppp", &unit);
225 || !owns_unit(pid, unit))
226 unit = -1;
232 if (unit >= 0) {
233 /* attach to existing unit */
234 if (bundle_attach(unit)) {
428 * Check whether the pppd identified by `key' still owns ppp unit `uni
[all...]
H A Dipcp.c1965 if (ho->hisaddr != 0 && !auth_ip_addr(f->unit, ho->hisaddr)) {
1967 ipcp_close(f->unit, "Unauthorized remote IP address");
1985 ipcp_clear_addrs(f->unit, wo->ouraddr, wo->hisaddr,
2006 ipcp_close(f->unit, "Interface configuration failed");
2011 if (ipcp_wantoptions[f->unit].default_route)
2014 default_route_set[f->unit] = 1;
2018 if (ho->hisaddr != 0 && ipcp_wantoptions[f->unit].proxy_arp)
2020 proxy_arp_set[f->unit] = 1;
2059 ipcp_close(f->unit, "Interface configuration failed");
2096 reset_link_stats(f->unit);
[all...]
H A Dipv6cp.c68 est une f��d��ration d'unit��s mixtes de recherche du CNRS, de l'Institut National
91 The research unit in Software, Systems, Networks (LSR) is member of IMAG.
1193 sif6comp(f->unit, ho->neg_vj);
1217 ipv6cp_close(f->unit, "Interface configuration failed");
1223 sifnpmode(f->unit, PPP_IPV6, NPMODE_PASS);
1280 update_link_stats(f->unit);
1287 sif6comp(f->unit, 0);
/barrelfish-2018-10-04/include/lwip2/netif/ppp/
H A Decp.c84 static void ecp_init (int unit);
86 static void ecp_open (int unit);
87 static void ecp_close (int unit, char *);
88 static void ecp_lowerup (int unit);
90 static void ecp_input (int unit, u_char *pkt, int len);
91 static void ecp_protrej (int unit);
99 static void ecp_datainput (int unit, u_char *pkt, int len);
159 ecp_init(unit)
160 int unit;
162 fsm *f = &ecp_fsm[unit];
[all...]
H A Dauth.c556 void start_link(unit)
557 int unit;
559 ppp_pcb *pcb = &ppp_pcb_list[unit];
650 * can happen that another pppd gets the same unit and then
658 * the ppp unit back to the loopback. Set the
762 set_allowed_addrs(unit, NULL, NULL);
786 set_allowed_addrs(unit, NULL, NULL);
862 ppp_pcb *pcb = &ppp_pcb_list[unit];
865 lcp_options *go = &lcp_gotoptions[unit];
962 && !ecp_gotoptions[unit]
[all...]
H A Dmultilink.c73 static int owns_unit (TDB_DATA pid, int unit);
124 int unit, pppd_pid; local
209 unit = -1;
221 parse_num(rec.dptr, "IFNAME=ppp", &unit);
225 || !owns_unit(pid, unit))
226 unit = -1;
232 if (unit >= 0) {
233 /* attach to existing unit */
234 if (bundle_attach(unit)) {
428 * Check whether the pppd identified by `key' still owns ppp unit `uni
[all...]
H A Dipcp.c1965 if (ho->hisaddr != 0 && !auth_ip_addr(f->unit, ho->hisaddr)) {
1967 ipcp_close(f->unit, "Unauthorized remote IP address");
1985 ipcp_clear_addrs(f->unit, wo->ouraddr, wo->hisaddr,
2006 ipcp_close(f->unit, "Interface configuration failed");
2011 if (ipcp_wantoptions[f->unit].default_route)
2014 default_route_set[f->unit] = 1;
2018 if (ho->hisaddr != 0 && ipcp_wantoptions[f->unit].proxy_arp)
2020 proxy_arp_set[f->unit] = 1;
2059 ipcp_close(f->unit, "Interface configuration failed");
2096 reset_link_stats(f->unit);
[all...]
H A Dipv6cp.c68 est une f��d��ration d'unit��s mixtes de recherche du CNRS, de l'Institut National
91 The research unit in Software, Systems, Networks (LSR) is member of IMAG.
1193 sif6comp(f->unit, ho->neg_vj);
1217 ipv6cp_close(f->unit, "Interface configuration failed");
1223 sifnpmode(f->unit, PPP_IPV6, NPMODE_PASS);
1280 update_link_stats(f->unit);
1287 sif6comp(f->unit, 0);
/barrelfish-2018-10-04/usr/acpi/
H A Dintel_vtd.h31 // A structure representing a remapping hardware unit. We currently assume
32 // that there is only one such unit per segment.
73 // Returns 1 if the remapping unit snoops the processor caches for both
75 static inline int vtd_coherency(struct vtd_unit *unit) argument
77 int pwc = vtd_ECAP_pwc_rdf(unit->regset);
78 int sc = vtd_ECAP_sc_rdf(unit->regset);
84 static inline void GSTS_srtp_wait(struct vtd_unit *unit) argument
86 vtd_GCMD_srtp_wrf(unit->regset, 1);
87 while(vtd_GSTS_rtps_rdf(unit->regset) == 0);
92 static inline void GSTS_wbf_wait(struct vtd_unit *unit) argument
100 GSTS_te_wait(struct vtd_unit *unit, int val) argument
109 CCMD_icc_wait(struct vtd_unit *unit) argument
117 IOTLB_ivt_wait(struct vtd_unit *unit) argument
124 vtd_flush_write_buffer(struct vtd_unit *unit) argument
133 vtd_context_cache_glob_inval(struct vtd_unit *unit) argument
173 vtd_iotlb_glob_inval(struct vtd_unit *unit) argument
228 vtd_trnsl_enable(struct vtd_unit *unit) argument
234 vtd_trnsl_disable(struct vtd_unit *unit) argument
242 vtd_number_domains_supported(struct vtd_unit *unit) argument
[all...]
H A Dintel_vtd.c36 static void vtd_dump_registers(struct vtd_unit *unit) argument
41 vtd_iotlb_pr(buffer, size, unit->iotlb_regs);
42 vtd_pr(buffer, size, unit->regset);
67 // Creates the root-table and context-tables for unit.
68 static void vtd_create_tables(struct vtd_unit *unit) argument
70 assert(unit != NULL);
72 err = frame_alloc(&(unit->rt_frame), BASE_PAGE_SIZE, NULL);
75 err = vspace_map_one_frame_attr((void **)&(unit->root_table), BASE_PAGE_BITS,
76 unit->rt_frame, vtd_map_attr, NULL, NULL);
80 err = frame_alloc(&(unit
114 vtd_set_root_table(struct vtd_unit *unit) argument
169 vtd_insert_context_tables(struct vtd_unit *unit) argument
[all...]
/barrelfish-2018-10-04/usr/eclipseclp/Compiler/
H A DMakefile.in82 @echo " make test[o] Run unit tests (on local xxx.eco files)"
85 @echo " make test[o]_installed Run unit tests on installed compiler"
88 @echo " make cover Run unit tests and produce output in coverage/"
210 # Run unit tests and compare with reference output
217 @if diff test.ref test.res ; then echo Compiler unit test ok ; \
218 else echo Compiler unit test failed ; false ; fi
223 @if diff testo.ref testo.res ; then echo Optimised Compiler unit test ok ; \
224 else echo Compiler unit test failed ; false ; fi
228 @if diff test.ref test.res ; then echo Compiler unit test ok ; \
229 else echo Compiler unit tes
[all...]
/barrelfish-2018-10-04/usr/eclipseclp/Shm/src/
H A Dshared_mem.c106 #define RoundTo(n,unit) ((n) - ((n) - 1) % (unit) -1 + (unit))
/barrelfish-2018-10-04/kernel/arch/armv8/
H A Dstartup_arch.c78 static inline uintptr_t round_up(uintptr_t value, size_t unit) argument
80 assert(0 == (unit & (unit - 1)));
81 size_t m = unit - 1;
85 static inline uintptr_t round_down(uintptr_t value, size_t unit) argument
87 assert(0 == (unit & (unit - 1)));
88 size_t m = unit - 1;
/barrelfish-2018-10-04/tools/demo/Aquarium/
H A DWindow1.xaml.cs240 long unit = 1;
242 while (unit < ideal)
244 unit *= 10;
246 //unit = Math.Pow(10, Math.Floor(Math.Log10(ideal)));
256 for (long t = 0; t < ticks; t += unit)
456 Vector unit, norm;
457 MagNormUnit(nock, tip, out mag, out unit, out norm);
459 Point left = tip - 5 * unit + 3 * norm;
460 Point right = tip - 5 * unit - 3 * norm;
481 out double mag, out Vector unit, ou
480 MagNormUnit(Point one, Point two, out double mag, out Vector unit, out Vector norm) argument
[all...]
/barrelfish-2018-10-04/usr/eclipseclp/Kernel/src/
H A Dec_io.h51 #define StreamUnit(nst) (nst)->unit
320 Extern void init_stream ARGS((stream_id,int unit,int mode,dident name,
H A Dio.c285 #define RoundTo(n,unit) ((n) - ((n) - 1) % (unit) -1 + (unit))
391 _init_fd_stream(stream_id nst, int unit, int mode, dident name, dident prompt, stream_id prompt_stream, int size);
549 * unit - OS file descriptor, NO_UNIT if a special one
562 init_stream(stream_id nst, int unit, int mode, dident name, dident prompt, stream_id prompt_stream, int size) argument
575 StreamUnit(nst) = unit;
584 nst->fd_pid = (unit == 1 || unit == 2) ? 0 : own_pid;
621 if (unit
672 _init_fd_stream(stream_id nst, int unit, int mode, dident name, dident prompt, stream_id prompt_stream, int size) argument
[all...]
H A Dmem.c106 #define RoundTo(n,unit) ((n) - ((n) - 1) % (unit) -1 + (unit))
/barrelfish-2018-10-04/usr/eclipseclp/documents/tutorial/
H A Dumsterm.tex97 \index{clause!unit}
98 A fact or {\it unit clause} is a term of the form:
167 The most important unit of a Prolog or {\eclipse} program.
/barrelfish-2018-10-04/usr/eclipseclp/documents/userman/
H A Dumscmdlineopts.tex149 to. The unit is megabytes.
154 to. The unit is megabytes.
/barrelfish-2018-10-04/usr/eclipseclp/Contrib/
H A Dtidy.pl165 combine_or(false, Y, Y) :- !. % unit element
167 combine_or(X, false, X) :- !. % unit element
173 combine_and(true, Y, Y) :- !. % unit element
175 combine_and(X, true, X) :- !. % unit element
H A Dflat.pl44 lets you convert trees where the operator has no unit.
/barrelfish-2018-10-04/usr/eclipseclp/lib_tcl/
H A Dtkeclipse.tcl114 if [regexp {^([0-9]+[.][0-9]+|[0-9]+)([^0-9]?)$} $sizespec whole size unit] {
116 switch $unit {
131 # unknown unit
/barrelfish-2018-10-04/include/usb/class/
H A Dusb_hid.h147 int32_t unit; ///< member in struct:usb_hid_item

Completed in 128 milliseconds

123