Searched refs:unit (Results 1 - 25 of 744) sorted by last modified time

1234567891011>>

/freebsd-11-stable/sbin/ggate/ggatec/
H A Dggatec.c64 static int unit = G_GATE_UNIT_AUTO; variable
83 "[-t timeout] [-u unit] <host> <path>\n", getprogname());
85 "[-R rcvbuf] [-S sndbuf] <-u unit> <host> <path>\n", getprogname());
86 fprintf(stderr, " %s destroy [-f] <-u unit>\n", getprogname());
87 fprintf(stderr, " %s list [-v] [-u unit]\n", getprogname());
103 ggio.gctl_unit = unit;
210 ggio.gctl_unit = unit;
387 g_gate_destroy(unit, 1);
421 g_gate_destroy(unit, 1);
455 ggioc.gctl_unit = unit;
[all...]
/freebsd-11-stable/sys/netgraph/bluetooth/hci/
H A Dng_hci_evnt.c86 ng_hci_process_event(ng_hci_unit_p unit, struct mbuf *event) argument
100 __func__, NG_NODE_NAME(unit->node), hdr->event, hdr->length);
126 error = le_event(unit, event);
130 error = inquiry_result(unit, event);
134 error = con_compl(unit, event);
138 error = con_req(unit, event);
142 error = discon_compl(unit, event);
146 error = encryption_change(unit, event);
150 error = read_remote_features_compl(unit, event);
154 error = qos_setup_compl(unit, even
215 ng_hci_send_data(ng_hci_unit_p unit) argument
251 send_data_packets(ng_hci_unit_p unit, int link_type, int limit) argument
349 sync_con_queue(ng_hci_unit_p unit, ng_hci_unit_con_p con, int completed) argument
376 le_advertizing_report(ng_hci_unit_p unit, struct mbuf *event) argument
448 le_connection_complete(ng_hci_unit_p unit, struct mbuf *event) argument
549 le_connection_update(ng_hci_unit_p unit, struct mbuf *event) argument
559 le_event(ng_hci_unit_p unit, struct mbuf *event) argument
594 inquiry_result(ng_hci_unit_p unit, struct mbuf *event) argument
655 con_compl(ng_hci_unit_p unit, struct mbuf *event) argument
781 con_req(ng_hci_unit_p unit, struct mbuf *event) argument
866 discon_compl(ng_hci_unit_p unit, struct mbuf *event) argument
912 encryption_change(ng_hci_unit_p unit, struct mbuf *event) argument
959 read_remote_features_compl(ng_hci_unit_p unit, struct mbuf *event) argument
1012 qos_setup_compl(ng_hci_unit_p unit, struct mbuf *event) argument
1054 hardware_error(ng_hci_unit_p unit, struct mbuf *event) argument
1067 role_change(ng_hci_unit_p unit, struct mbuf *event) argument
1104 num_compl_pkts(ng_hci_unit_p unit, struct mbuf *event) argument
1162 mode_change(ng_hci_unit_p unit, struct mbuf *event) argument
1203 data_buffer_overflow(ng_hci_unit_p unit, struct mbuf *event) argument
1217 read_clock_offset_compl(ng_hci_unit_p unit, struct mbuf *event) argument
1269 qos_violation(ng_hci_unit_p unit, struct mbuf *event) argument
1310 page_scan_mode_change(ng_hci_unit_p unit, struct mbuf *event) argument
1345 page_scan_rep_mode_change(ng_hci_unit_p unit, struct mbuf *event) argument
[all...]
/freebsd-11-stable/sys/dev/arcmsr/
H A Darcmsr.c239 int unit = dev2unit(dev); local
240 struct AdapterControlBlock *acb = devclass_get_softc(arcmsr_devclass, unit);
253 int unit = dev2unit(dev); local
254 struct AdapterControlBlock *acb = devclass_get_softc(arcmsr_devclass, unit);
267 int unit = dev2unit(dev); local
268 struct AdapterControlBlock *acb = devclass_get_softc(arcmsr_devclass, unit);
1833 {/* unit departed */
1840 {/* unit arrived */
4900 u_int32_t unit=device_get_unit(dev); local
4906 printf("arcmsr%d: cannot allocate softc\n", unit);
[all...]
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib.h329 int unit; member in struct:ipoib_dev_priv
/freebsd-11-stable/sys/dev/sound/usb/
H A Duaudio.c3986 DPRINTF("unit %d, type=%d is not implemented\n",
6002 int unit = device_get_unit(dev); local
6061 &umidi_fifo_methods, &sub->fifo, unit, n,
/freebsd-11-stable/sys/dev/netmap/
H A Dnetmap_freebsd.c618 int unit = nm_vi_get_index(); /* just to decide MAC address */ local
620 if (unit < 0)
630 eaddr[5] = (uint8_t)unit;
/freebsd-11-stable/sys/contrib/ipfilter/netinet/
H A Dmlfk_ipl.c435 int unit = GET_MINOR(dev); local
438 if (unit < 0 || unit > IPL_LOGMAX)
444 switch (unit)
450 if ((events & (POLLIN | POLLRDNORM)) && ipf_log_canread(&V_ipfmain, unit))
471 selrecord(td, &V_ipfmain.ipf_selwait[unit]);
493 int unit = GET_MINOR(dev); local
496 if (IPL_LOGMAX < unit)
499 switch (unit)
533 int unit local
558 int unit = GET_MINOR(dev); local
[all...]
H A Dip_pool.c596 int unit, i, err = 0; local
604 unit = op->iplo_unit;
605 if (unit == IPL_LOGALL) {
608 } else if (unit >= 0 && unit <= IPL_LOGMAX) {
609 unit++; /* -1 => 0 */
611 stats.ipls_list[unit] = ipf_pool_exists(softp, unit - 1,
614 stats.ipls_list[unit] = softp->ipf_pool_list[unit];
949 int poolnum, unit; local
1137 int i, num = 0, unit, err; local
[all...]
H A Dip_lookup.c62 * range for unit is [-1,IPL_LOGMAX]. The -1 is considered to be a valid number
66 * array indexing on the unit, +1 is used to map [-1.IPL_LOGMAX] to
599 int err, unit, num, type, i; local
609 unit = flush.iplf_unit;
610 if ((unit < 0 || unit > IPL_LOGMAX) && (unit != IPLT_ALL)) {
801 /* "key" is a combination of the table type, iterator type and the unit for */
827 /* unit(I) - device for which this is for */
839 ipf_lookup_res_num(softc, unit, typ
[all...]
H A Dip_log.c517 /* unit(I) - device we are reading from */
529 ipf_log_items(softc, unit, fin, items, itemsz, types, cnt)
531 int unit;
551 MUTEX_ENTER(&softl->ipl_mutex[unit]);
552 softl->ipl_counter[unit]++;
557 if ((softl->ipl_used[unit] + len) > softl->ipl_logsize) {
558 softl->ipl_logfail[unit]++;
559 MUTEX_EXIT(&softl->ipl_mutex[unit]);
565 softl->ipl_logfail[unit]++;
566 MUTEX_EXIT(&softl->ipl_mutex[unit]);
[all...]
H A Dip_htable.c280 int err, i, unit; local
292 unit = op->iplo_unit;
293 if (htab.iph_unit != unit) {
304 iph = ipf_htable_exists(softh, unit, op->iplo_name);
333 for (oiph = softh->ipf_htables[unit + 1]; oiph != NULL;
353 softh->ipht_nomem[unit + 1]++;
367 iph->iph_next = softh->ipf_htables[unit + 1];
368 iph->iph_pnext = &softh->ipf_htables[unit + 1];
369 if (softh->ipf_htables[unit + 1] != NULL)
370 softh->ipf_htables[unit
[all...]
H A Dip_fil_freebsd.c289 int error = 0, unit = 0; local
300 unit = GET_MINOR(dev);
301 if ((IPL_LOGMAX < unit) || (unit < 0)) {
308 if (unit != IPL_LOGIPF && cmd != SIOCIPFINTERROR) {
325 error = ipf_ioctlswitch(&V_ipfmain, unit, data, cmd, mode, p->p_uid, p);
H A Dip_dstlist.c302 /* unit(I) - device we are working with */
310 ipf_dstlist_iter_deref(softc, arg, otype, unit, data)
313 int otype, unit;
321 if (unit < -1 || unit > IPL_LOGMAX) {
779 int unit, i, err = 0; local
787 unit = op->iplo_unit;
788 if (unit == IPL_LOGALL) {
791 } else if (unit >= 0 && unit <
835 int unit, err; local
[all...]
H A Dfil.c3484 /* unit(I) - device to which this group belongs */
3493 ipf_findgroup(softc, group, unit, set, fgpp)
3496 minor_t unit;
3506 fgp = &softc->ipf_groups[unit][set];
3528 /* unit(I) - device to which this group will belong to */
3536 ipf_group_add(softc, group, head, flags, unit, set)
3541 minor_t unit;
3550 if (unit == IPL_LOGIPF && *group == '\0')
3556 fg = ipf_findgroup(softc, group, unit, set, &fgp);
3576 fg->fg_set = &softc->ipf_groups[unit][se
6160 int unit, space; local
7922 int unit; local
[all...]
/freebsd-11-stable/contrib/ipfilter/
H A Dip_dstlist.c302 /* unit(I) - device we are working with */
310 ipf_dstlist_iter_deref(softc, arg, otype, unit, data)
313 int otype, unit;
321 if (unit < -1 || unit > IPL_LOGMAX) {
778 int unit, i, err = 0; local
786 unit = op->iplo_unit;
787 if (unit == IPL_LOGALL) {
790 } else if (unit >= 0 && unit <
834 int unit, err; local
[all...]
H A Dip_fil.c64 int error = 0, unit = 0, uid; local
67 unit = dev;
71 error = ipf_ioctlswitch(softc, unit, data, cmd, mode, uid, NULL);
/freebsd-11-stable/contrib/ipfilter/tools/
H A Dippool_y.y84 %type <num> role table inout unit dstopts weighting
179 role: IPT_ROLE '=' unit { $$ = $3; }
182 unit: IPT_IPF { $$ = IPL_LOGIPF; } label
446 IPT_POOL unit '/' IPT_DSTLIST '(' name ';' dstopts ')'
458 | IPT_POOL unit '/' IPT_TREE '(' name ';' ')'
481 | IPT_POOL unit '/' IPT_HASH '(' name ';' hashoptlist ')'
/freebsd-11-stable/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_main.c3944 char unit[16]; local
4018 snprintf(unit, sizeof(unit), "%d", ifp->if_dunit);
4020 OID_AUTO, unit, CTLFLAG_RD, 0, "MLX5 ethernet - interface unit");
/freebsd-11-stable/usr.bin/systat/
H A Dsysput.c62 char unit, *ptr, *start, wrtbuf[width + width + 1]; local
65 unit = 0;
/freebsd-11-stable/sys/dev/usb/
H A Dusbdi.h634 struct usb_fifo_sc *f_sc, uint16_t unit, int16_t subunit,
/freebsd-11-stable/sys/dev/if_ndis/
H A Dif_ndis_pci.c175 int unit, error = 0, rid; local
185 unit = device_get_unit(dev);
H A Dif_ndis_pccard.c230 int unit, error = 0, rid; local
237 unit = device_get_unit(dev);
/freebsd-11-stable/sys/dev/usb/input/
H A Duhid.c723 int unit = device_get_unit(dev); local
844 unit, -1, uaa->info.bIfaceIndex,
/freebsd-11-stable/sys/dev/pci/
H A Dvga_pci.c82 int unit; local
92 unit = device_get_unit(dev);
100 return (vga_pci_default_unit == unit);
136 /* This video card is the boot display: record its unit number. */
137 vga_pci_default_unit = unit;
/freebsd-11-stable/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_reloc.c232 * in the storage unit to be relocated. Otherwise write 0 in the
233 * storage unit and the addend will be written into relocation
315 Dwarf_Unsigned unit; local
327 unit = drs->drs_addend ? sizeof(Elf64_Rela) : sizeof(Elf64_Rel);
329 unit = drs->drs_addend ? sizeof(Elf32_Rela) : sizeof(Elf32_Rel);
331 size = drs->drs_drecnt * unit;

Completed in 207 milliseconds

1234567891011>>