taglinefilesource code
unit213drivers/block/floppy.c#define REVDRIVE(fdc, unit) ((unit) + ((fdc) << 2))
unit696drivers/block/floppy.cstatic inline int is_selected(int dor, int unit)
unit698drivers/block/floppy.creturn ((dor  & (0x10 << unit)) && (dor &3) == unit);
unit703drivers/block/floppy.cregister unsigned char drive, unit, newdor,olddor;
unit711drivers/block/floppy.cunit = olddor & 0x3;
unit712drivers/block/floppy.cif (is_selected(olddor, unit) && !is_selected(newdor,unit)){
unit713drivers/block/floppy.cdrive = REVDRIVE(fdc,unit);
unit724drivers/block/floppy.cunit = newdor & 0x3;
unit725drivers/block/floppy.cif (!is_selected(olddor, unit) && is_selected(newdor,unit)){
unit726drivers/block/floppy.cdrive = REVDRIVE(fdc,unit);
unit3824drivers/block/floppy.cint i,unit,drive;
unit3878drivers/block/floppy.cfor (unit=0; unit<4; unit++)
unit3879drivers/block/floppy.cFDCS->track[unit] = 0;
unit57drivers/block/genhd.cunsigned int unit = minor >> hd->minor_shift;
unit70drivers/block/genhd.cname[strlen(name)-1] += unit;
unit74drivers/block/genhd.cprintk(" %s%c", hd->major_name, 'a' + unit);
unit1775drivers/block/ide-cd.cHWIF(drive)->gd->sizes[drive->select.b.unit << PARTN_BITS]
unit2567drivers/block/ide-cd.cblksize_size[HWIF(drive)->major][drive->select.b.unit << PARTN_BITS] = CD_FRAMESIZE;
unit289drivers/block/ide.cunsigned int h, unit;
unit324drivers/block/ide.cfor (unit = 0; unit < MAX_DRIVES; ++unit) {
unit325drivers/block/ide.cide_drive_t *drive = &hwif->drives[unit];
unit328drivers/block/ide.cdrive->select.all    = (unit<<4)|0xa0;
unit337drivers/block/ide.cdrive->name[2]      = 'a' + (h * MAX_DRIVES) + unit;
unit523drivers/block/ide.cunsigned int unit;
unit526drivers/block/ide.cfor (unit = 0; unit < gd->nr_real; ++unit) {
unit527drivers/block/ide.cide_drive_t *drive = &hwif->drives[unit];
unit559drivers/block/ide.cunsigned int unit, units, minors;
unit575drivers/block/ide.cfor (unit = 0; unit < minors; ++unit)
unit578drivers/block/ide.cfor (unit = 0; unit < units; ++unit)
unit579drivers/block/ide.chwif->drives[unit].part = &gd->part[unit << PARTN_BITS];
unit688drivers/block/ide.cunsigned int unit;
unit717drivers/block/ide.cfor (unit = 0; unit < MAX_DRIVES; ++unit) {
unit718drivers/block/ide.cide_drive_t *rdrive = &hwif->drives[unit];
unit1316drivers/block/ide.cunsigned int minor, unit;
unit1325drivers/block/ide.cunit = minor >> PARTN_BITS;
unit1326drivers/block/ide.cif (MAJOR(rq->rq_dev) != hwif->major || unit >= MAX_DRIVES) {
unit1331drivers/block/ide.cdrive = &hwif->drives[unit];
unit1543drivers/block/ide.cunsigned int unit;
unit1555drivers/block/ide.cfor (unit = 0; unit < MAX_DRIVES; ++unit) {
unit1556drivers/block/ide.cide_drive_t *drive = &hwif->drives[unit];
unit1606drivers/block/ide.cunsigned unit = DEVICE_NR(i_rdev);
unit1607drivers/block/ide.cif (unit < MAX_DRIVES) {
unit1608drivers/block/ide.cide_drive_t *drive = &hwif->drives[unit];
unit1611drivers/block/ide.c} else if (major == IDE0_MAJOR && unit < 4) {
unit1613drivers/block/ide.c'a' + unit, MINOR(i_rdev) & PARTN_MASK);
unit1680drivers/block/ide.crq->rq_dev = MKDEV(major,(drive->select.b.unit)<<PARTN_BITS);
unit1797drivers/block/ide.cminor = drive->select.b.unit << PARTN_BITS;
unit1820drivers/block/ide.cresetup_one_dev(HWIF(drive)->gd, drive->select.b.unit);
unit2338drivers/block/ide.cif (drive->select.b.unit != 0) {
unit2394drivers/block/ide.cunsigned int unit;
unit2398drivers/block/ide.cfor (unit = 0; unit < MAX_DRIVES; ++unit) {
unit2399drivers/block/ide.cide_drive_t *drive = &hwif->drives[unit];
unit2420drivers/block/ide.cfor (unit = 0; unit < 2; ++unit) { /* note the hardcoded '2' */
unit2421drivers/block/ide.cide_drive_t *drive = &hwif->drives[unit];
unit2424drivers/block/ide.cfor (unit = 0; unit < MAX_DRIVES; ++unit) {
unit2425drivers/block/ide.cide_drive_t *drive = &hwif->drives[unit];
unit2635drivers/block/ide.cunsigned int hw, unit;
unit2647drivers/block/ide.cunit = s[2] - 'a';
unit2648drivers/block/ide.chw   = unit / MAX_DRIVES;
unit2649drivers/block/ide.cunit = unit % MAX_DRIVES;
unit2651drivers/block/ide.cdrive = &hwif->drives[unit];
unit2842drivers/block/ide.cint unit;
unit2847drivers/block/ide.cfor (unit = 0; unit < MAX_DRIVES; ++unit) {
unit2848drivers/block/ide.cide_drive_t *drive = &hwif->drives[unit];
unit2849drivers/block/ide.cif ((cmos_disks & (0xf0 >> (unit*4))) && !drive->present) {
unit303drivers/block/ide.hunsigned unit    : 1;  /* drive select number, 0 or 1 */
unit310drivers/block/triton.cstatic void print_triton_drive_flags (unsigned int unit, byte flags)
unit312drivers/block/triton.cprintk("         %s ", unit ? "slave :" : "master:");
unit166drivers/net/bsd_comp.cunsigned char  unit;    /* ppp unit number */
unit197drivers/net/bsd_comp.cint opt_len, int unit, int debug, int decomp);
unit199drivers/net/bsd_comp.cint opt_len, int unit, int opthdr, int debug);
unit201drivers/net/bsd_comp.cint opt_len, int unit, int opthdr, int mru,
unit499drivers/net/bsd_comp.cint opt_len, int unit, int debug, int decomp)
unit529drivers/net/bsd_comp.cdb->unit = unit;
unit542drivers/net/bsd_comp.cint opt_len, int unit, int opthdr, int debug)
unit544drivers/net/bsd_comp.creturn bsd_init (state, options, opt_len, unit, debug, 0);
unit548drivers/net/bsd_comp.cint opt_len, int unit, int opthdr, int mru,
unit551drivers/net/bsd_comp.creturn bsd_init (state, options, opt_len, unit, debug, 1);
unit915drivers/net/bsd_comp.cdb->unit, seq, db->seqno - 1);
unit976drivers/net/bsd_comp.cprintk("bsd_decomp%d: bad CLEAR\n", db->unit);
unit991drivers/net/bsd_comp.cdb->unit, incode, oldcode);
unit1016drivers/net/bsd_comp.cprintk("bsd_decomp%d: ran out of mru\n", db->unit);
unit1041drivers/net/bsd_comp.cprintk("bsd_decomp%d: fell off end of chain ", db->unit);
unit1051drivers/net/bsd_comp.cdb->unit, incode, finchar);
unit1069drivers/net/bsd_comp.cdb->unit, codelen, incode, max_ent);
unit1157drivers/net/bsd_comp.cdb->unit, db->seqno - 1);
unit181drivers/sound/dev_table.csndtable_probe (int unit, struct address_info *hw_config)
unit185drivers/sound/dev_table.cif (!unit)
unit192drivers/sound/dev_table.cif (snd_installed_cards[i].card_type == unit)
unit201drivers/sound/dev_table.csnd_installed_cards[sel].card_type = unit;
unit244drivers/sound/dev_table.csndtable_init_card (int unit, struct address_info *hw_config)
unit248drivers/sound/dev_table.cDDB (printk ("sndtable_init_card(%d) entered\n", unit));
unit250drivers/sound/dev_table.cif (!unit)
unit258drivers/sound/dev_table.cif (snd_installed_cards[i].card_type == unit)
unit281drivers/sound/dev_table.cprintk ("snd%d", unit);
unit300drivers/sound/dev_table.cunit, num_sound_cards);
unit504drivers/sound/dev_table.hint sndtable_probe (int unit, struct address_info *hw_config);
unit505drivers/sound/dev_table.hint sndtable_init_card (int unit, struct address_info *hw_config);
unit79drivers/sound/sb16_midi.csb16midiintr (int unit)
unit113drivers/sound/sound_calls.hvoid sb16midiintr (int unit);
unit74include/linux/ppp-comp.hint opt_len, int unit, int opthdr, int debug);
unit94include/linux/ppp-comp.hint opt_len, int unit, int opthdr, int mru,
unit10include/net/netlink.hextern int netlink_attach(int unit, int (*function)(struct sk_buff *skb));
unit12include/net/netlink.hextern void netlink_detach(int unit);
unit13include/net/netlink.hextern int netlink_post(int unit, struct sk_buff *skb);
unit176net/netlink.cint netlink_attach(int unit, int (*function)(struct sk_buff *skb))
unit178net/netlink.cif(unit>=MAX_LINKS)
unit180net/netlink.cif(active_map&(1<<unit))
unit182net/netlink.cactive_map|=(1<<unit);
unit183net/netlink.cnetlink_handler[unit]=function;
unit187net/netlink.cvoid netlink_detach(int unit)
unit189net/netlink.cactive_map&=~(1<<unit);
unit190net/netlink.cnetlink_handler[unit]=netlink_err;
unit193net/netlink.cint netlink_post(int unit, struct sk_buff *skb)
unit197net/netlink.cif(open_map&(1<<unit))
unit201net/netlink.cif(rdq_size[unit]+skb->len>MAX_QBYTES)
unit205net/netlink.cskb_queue_tail(&skb_queue_rd[unit], skb);
unit206net/netlink.crdq_size[unit]+=skb->len;
unit208net/netlink.cwake_up_interruptible(&read_space_wait[unit]);