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);
unit3794drivers/block/floppy.cint i,unit,drive;
unit3848drivers/block/floppy.cfor (unit=0; unit<4; unit++)
unit3849drivers/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;
unit288drivers/block/ide.cunsigned int h, unit;
unit323drivers/block/ide.cfor (unit = 0; unit < MAX_DRIVES; ++unit) {
unit324drivers/block/ide.cide_drive_t *drive = &hwif->drives[unit];
unit327drivers/block/ide.cdrive->select.all    = (unit<<4)|0xa0;
unit336drivers/block/ide.cdrive->name[2]      = 'a' + (h * MAX_DRIVES) + unit;
unit522drivers/block/ide.cunsigned int unit;
unit525drivers/block/ide.cfor (unit = 0; unit < gd->nr_real; ++unit) {
unit526drivers/block/ide.cide_drive_t *drive = &hwif->drives[unit];
unit558drivers/block/ide.cunsigned int unit, units, minors;
unit574drivers/block/ide.cfor (unit = 0; unit < minors; ++unit)
unit577drivers/block/ide.cfor (unit = 0; unit < units; ++unit)
unit578drivers/block/ide.chwif->drives[unit].part = &gd->part[unit << PARTN_BITS];
unit687drivers/block/ide.cunsigned int unit;
unit716drivers/block/ide.cfor (unit = 0; unit < MAX_DRIVES; ++unit) {
unit717drivers/block/ide.cide_drive_t *rdrive = &hwif->drives[unit];
unit1315drivers/block/ide.cunsigned int minor, unit;
unit1324drivers/block/ide.cunit = minor >> PARTN_BITS;
unit1325drivers/block/ide.cif (MAJOR(rq->rq_dev) != hwif->major || unit >= MAX_DRIVES) {
unit1330drivers/block/ide.cdrive = &hwif->drives[unit];
unit1542drivers/block/ide.cunsigned int unit;
unit1554drivers/block/ide.cfor (unit = 0; unit < MAX_DRIVES; ++unit) {
unit1555drivers/block/ide.cide_drive_t *drive = &hwif->drives[unit];
unit1605drivers/block/ide.cunsigned unit = DEVICE_NR(i_rdev);
unit1606drivers/block/ide.cif (unit < MAX_DRIVES) {
unit1607drivers/block/ide.cide_drive_t *drive = &hwif->drives[unit];
unit1610drivers/block/ide.c} else if (major == IDE0_MAJOR && unit < 4) {
unit1612drivers/block/ide.c'a' + unit, MINOR(i_rdev) & PARTN_MASK);
unit1679drivers/block/ide.crq->rq_dev = MKDEV(major,(drive->select.b.unit)<<PARTN_BITS);
unit1796drivers/block/ide.cminor = drive->select.b.unit << PARTN_BITS;
unit1819drivers/block/ide.cresetup_one_dev(HWIF(drive)->gd, drive->select.b.unit);
unit2337drivers/block/ide.cif (drive->select.b.unit != 0) {
unit2393drivers/block/ide.cunsigned int unit;
unit2397drivers/block/ide.cfor (unit = 0; unit < MAX_DRIVES; ++unit) {
unit2398drivers/block/ide.cide_drive_t *drive = &hwif->drives[unit];
unit2419drivers/block/ide.cfor (unit = 0; unit < 2; ++unit) { /* note the hardcoded '2' */
unit2420drivers/block/ide.cide_drive_t *drive = &hwif->drives[unit];
unit2423drivers/block/ide.cfor (unit = 0; unit < MAX_DRIVES; ++unit) {
unit2424drivers/block/ide.cide_drive_t *drive = &hwif->drives[unit];
unit2634drivers/block/ide.cunsigned int hw, unit;
unit2646drivers/block/ide.cunit = s[2] - 'a';
unit2647drivers/block/ide.chw   = unit / MAX_DRIVES;
unit2648drivers/block/ide.cunit = unit % MAX_DRIVES;
unit2650drivers/block/ide.cdrive = &hwif->drives[unit];
unit2841drivers/block/ide.cint unit;
unit2846drivers/block/ide.cfor (unit = 0; unit < MAX_DRIVES; ++unit) {
unit2847drivers/block/ide.cide_drive_t *drive = &hwif->drives[unit];
unit2848drivers/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]);