Home
last modified time | relevance | path

Searched refs:plength (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/block/
Dblkpg.c69 long pstart, plength; in add_partition() local
76 plength = pplength; in add_partition()
77 if (pstart != ppstart || plength != pplength in add_partition()
78 || pstart < 0 || plength < 0) in add_partition()
104 if (!(pstart+plength <= g->part[i].start_sect || in add_partition()
110 g->part[minor].nr_sects = plength; in add_partition()
112 g->sizes[minor] = (plength >> (BLOCK_SIZE_BITS - 9)); in add_partition()
/linux-2.4.37.9/drivers/usb/
Dbrlvger.c170 int plength; /* physical length */ member
370 priv->plength = 44; in brlvger_probe()
373 priv->plength = 70; in brlvger_probe()
379 dbg("Display length: %d", priv->plength); in brlvger_probe()
602 if(off > priv->plength) in brlvger_write()
605 rs = priv->plength - off; in brlvger_write()
619 if( priv->plength == 44 ) { in brlvger_write()
757 vi.display_length = priv->plength; in brlvger_ioctl()
818 offset += priv->plength; in brlvger_llseek()
823 if((offset >= priv->plength) || (offset < 0)) in brlvger_llseek()