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

12

/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dkern_control.h70 @field ctl_unit The kernel control unit.
127 creator code obtained from Apple Computer. sc_unit is a unit
134 @field sc_unit Kernel controller private unit number.
142 u_int32_t sc_unit; /* Developer private unit number */
211 contains the unit number of the kernel control instance the client is
215 registered, sc_unit is the dynamically allocated unit number of
238 @param unit The unit number of the kernel control instance the client has
243 typedef errno_t (*ctl_disconnect_func)(kern_ctl_ref kctlref, u_int32_t unit, void *unitinfo);
250 @param unit Th
[all...]
H A Dreboot.h100 * adaptor (uba, mba, etc), unit number and partition number.
128 #define MAKEBOOTDEV(type, adaptor, controller, unit, partition) \
130 ((controller) << B_CONTROLLERSHIFT) | ((unit) << B_UNITSHIFT) | \
H A Dsys_domain.h99 u_int32_t unit; member in struct:ctl_cb
H A Ddisklabel.h97 * Translate between device numbers and major/disk unit/disk partition.
101 #define MAKEDISKDEV(maj, unit, part) \
102 (makedev((maj), ((unit) * MAXPARTITIONS) + (part)))
136 u_int32_t d_ncylinders; /* # of data cylinders per unit */
138 u_int32_t d_secperunit; /* # of data sectors per unit */
152 u_int32_t d_acylinders; /* # of alt. cylinders per unit */
/macosx-10.5.8/xnu-1228.15.4/osfmk/console/
H A Dserial_protos.h47 int _serial_getc(int unit, int line, boolean_t wait, boolean_t raw);
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dserial_io.h114 int unit,
119 int unit,
H A Dserial_io.c323 scc_getc(__unused int unit, int line, boolean_t wait, __unused boolean_t raw) argument
408 int _serial_getc(int unit, int line, boolean_t wait, boolean_t raw) { argument
410 return(scc_getc(unit, line, wait, raw));
420 scc_putc(__unused int unit, int line, int c) argument
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_control.c93 static struct kctl *ctl_find_by_id_unit(u_int32_t id, u_int32_t unit);
95 static struct ctl_cb *kcb_find(struct kctl *, u_int32_t unit);
329 u_int32_t unit = 1; local
332 if (kcb_next->unit > unit) {
336 unit = kcb_next->unit + 1;
337 if (unit == ctl_maxunit)
341 if (unit == ctl_maxunit) {
346 sa.sc_unit = unit;
456 ctl_enqueuembuf(void *kctlref, u_int32_t unit, struct mbuf *m, u_int32_t flags) argument
489 ctl_enqueuedata(void *kctlref, u_int32_t unit, void *data, size_t len, u_int32_t flags) argument
547 ctl_getenqueuespace(kern_ctl_ref kctlref, u_int32_t unit, size_t *space) argument
867 ctl_find_by_id_unit(u_int32_t id, u_int32_t unit) argument
884 kcb_find(struct kctl *kctl, u_int32_t unit) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Dppp_comp.h85 int unit, int hdrlen, int debug);
100 int unit, int hdrlen, int mru, int debug);
H A Dppp_deflate.c87 int unit; member in struct:deflate_state
104 int unit, int hdrlen, int debug);
106 int unit, int hdrlen, int mru, int debug);
225 z_comp_init(arg, options, opt_len, unit, hdrlen, debug)
228 int opt_len, unit, hdrlen, debug;
241 state->unit = unit;
454 z_decomp_init(arg, options, opt_len, unit, hdrlen, mru, debug)
457 int opt_len, unit, hdrlen, mru, debug;
470 state->unit
[all...]
H A Dbsd_comp.c124 u_char unit; member in struct:bsd_db
170 int unit, int hdrlen, int mru, int debug,
176 int unit, int hdrlen, int debug);
178 int unit, int hdrlen, int mru, int debug);
440 bsd_init_comp_db(db, options, opt_len, unit, hdrlen, mru, debug, decomp)
443 int opt_len, unit, hdrlen, mru, debug, decomp;
465 db->unit = unit;
479 bsd_comp_init(state, options, opt_len, unit, hdrlen, debug)
482 int opt_len, unit, hdrle
[all...]
H A Dif.c289 int unit; local
292 ifc = if_clone_lookup(name, &unit);
300 wildcard = (unit < 0);
302 * Find a free unit if none was given.
312 unit = (bytoff << 3) + bitoff;
315 if (unit > ifc->ifc_maxunit)
318 err = (*ifc->ifc_create)(ifc, unit);
323 bytoff = unit >> 3;
324 bitoff = unit - (bytoff << 3);
328 * Allocate the unit i
361 int unit; local
441 int unit; local
1082 int unit; local
[all...]
H A Dif_vlan.c783 vlan_clone_create(struct if_clone *ifc, int unit) argument
800 ifc->ifc_name, unit) >= sizeof(ifv->ifv_name)) {
809 vlan_init.unit = unit;
1815 u_long unit; member in struct:__anon212
1825 event.unit = (u_long) ifnet_unit(ifp);
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Dmisc_protos.h78 int unit);
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/
H A Dkm.c104 int unit; local
109 unit = minor(dev);
110 if(unit >= 1)
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/
H A Dkm.c88 int unit; local
93 unit = minor(dev);
94 if(unit >= 1)
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/vn/
H A Dvn.c234 int unit; local
236 unit = vnunit(dev);
240 vn = vn_table + unit;
500 int unit; local
502 unit = vnunit(dev);
508 vn = vn_table + unit;
577 int unit; local
579 unit = vnunit(dev);
585 vn = vn_table + unit;
881 int unit; local
1318 int unit; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dclock.c118 #define TIME_ADD(rsecs, secs, rfrac, frac, unit) \
120 if (((rfrac) += (frac)) >= (unit)) { \
121 (rfrac) -= (unit); \
127 #define TIME_SUB(rsecs, secs, rfrac, frac, unit) \
130 (rfrac) += (unit); \
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dip_fw2_compat.c340 printf("fu_via_if_compat.unit: %d\n", vers1_rule->fw_in_if.fu_via_if_compat.unit);
348 printf("fu_via_if_compat.unit: %d\n", vers1_rule->fw_in_if.fu_via_if_compat.unit);
356 printf("fu_via_if_compat.unit: %d\n", vers1_rule->fw_out_if.fu_via_if_compat.unit);
705 else if (cmdif->p.unit == -1)
709 cmdif->p.unit);
1096 ifu.fu_via_if_compat.unit = ifcmd->p.unit;
[all...]
H A Dip_fw2_compat.h24 * interface unit number of -1 matches any unit number, while an
38 short unit; /* -1 means match any unit */ member in struct:ip_fw_if_compat::__anon312
181 #define IP_FW_F_IIFNAME_COMPAT 0x00010000 /* In interface by name/unit (not IP) */
182 #define IP_FW_F_OIFNAME_COMPAT 0x00020000 /* Out interface by name/unit (not IP) */
244 * interface unit number of -1 matches any unit number, while an
258 short unit; /* -1 means match any unit */ member in struct:ip_old_fw_if::__anon315
[all...]
H A Dip_fw.h64 * interface unit number of -1 matches any unit number, while an
78 short unit; /* -1 means match any unit */ member in struct:ip_fw_if::__anon308
231 #define IP_FW_F_IIFNAME 0x00010000 /* In interface by name/unit (not IP) */
232 #define IP_FW_F_OIFNAME 0x00020000 /* Out interface by name/unit (not IP) */
H A Dip_fw2.h264 int32_t unit; member in union:_ipfw_insn_if::__anon311
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Dip6_fw.h95 * interface unit number of -1 matches any unit number, while an
109 short unit; /* -1 means match any unit */ member in struct:ip6_fw_if::__anon330
200 #define IPV6_FW_F_IIFNAME 0x0400 /* In interface by name/unit (not IP) */
201 #define IPV6_FW_F_OIFNAME 0x0800 /* Out interface by name/unit (not IP) */
/macosx-10.5.8/xnu-1228.15.4/pexpert/ppc/
H A Dpe_kprintf.c43 extern void scc_putc(int unit, int line, int c);
/macosx-10.5.8/xnu-1228.15.4/iokit/bsddev/
H A DIOKitBSDInit.cpp278 long unit = -1; local
284 // scan the tail of the path for "@unit:partition"
298 unit = strtol( look + 1, &comp, 16 );
317 if( c || unit == -1 || partition == -1)
355 snprintf( comp, len + 1, "/@%lx,%lx:%ld';}", unit, lun, partition );
364 snprintf( comp, len + 1, "/@%lx:%ld';}", unit, partition );

Completed in 133 milliseconds

12