Home
last modified time | relevance | path

Searched refs:begin (Results 1 – 25 of 170) sorted by relevance

1234567

/linux-2.4.37.9/fs/ufs/
Dutil.h270 #define ubh_get_addr8(ubh,begin) \ argument
271 ((u8*)(ubh)->bh[(begin) >> uspi->s_fshift]->b_data + \
272 ((begin) & ~uspi->s_fmask))
274 #define ubh_get_addr16(ubh,begin) \ argument
275 (((u16*)((ubh)->bh[(begin) >> (uspi->s_fshift-1)]->b_data)) + \
276 ((begin) & ((uspi->fsize>>1) - 1)))
278 #define ubh_get_addr32(ubh,begin) \ argument
279 (((u32*)((ubh)->bh[(begin) >> (uspi->s_fshift-2)]->b_data)) + \
280 ((begin) & ((uspi->s_fsize>>2) - 1)))
284 #define ubh_blkmap(ubh,begin,bit) \ argument
[all …]
/linux-2.4.37.9/drivers/scsi/
Deata_dma_proc.c90 off_t begin = 0; in eata_proc_info() local
121 len += size; pos = begin + len; in eata_proc_info()
124 len += size; pos = begin + len; in eata_proc_info()
129 pos = begin + len; in eata_proc_info()
133 pos = begin + len; in eata_proc_info()
136 pos = begin + len; in eata_proc_info()
144 pos = begin + len; in eata_proc_info()
148 pos = begin + len; in eata_proc_info()
152 pos = begin + len; in eata_proc_info()
192 pos = begin + len; in eata_proc_info()
[all …]
Deata_pio_proc.c32 off_t begin = 0; in eata_pio_proc_info() local
50 len += size; pos = begin + len; in eata_pio_proc_info()
53 len += size; pos = begin + len; in eata_pio_proc_info()
58 pos = begin + len; in eata_pio_proc_info()
62 pos = begin + len; in eata_pio_proc_info()
65 pos = begin + len; in eata_pio_proc_info()
68 pos = begin + len; in eata_pio_proc_info()
74 pos = begin + len; in eata_pio_proc_info()
78 begin = pos; in eata_pio_proc_info()
86 pos = begin + len; in eata_pio_proc_info()
[all …]
Dgdth_proc.c240 off_t begin = 0,pos = 0; in gdth_get_info() local
304 len += size; pos = begin + len; in gdth_get_info()
318 len += size; pos = begin + len; in gdth_get_info()
322 len += size; pos = begin + len; in gdth_get_info()
326 len += size; pos = begin + len; in gdth_get_info()
334 len += size; pos = begin + len; in gdth_get_info()
350 len += size; pos = begin + len; in gdth_get_info()
357 len += size; pos = begin + len; in gdth_get_info()
363 len += size; pos = begin + len; in gdth_get_info()
367 len += size; pos = begin + len; in gdth_get_info()
[all …]
Dscsi_proc.c50 int len, pos, begin; in generic_proc_info() local
52 begin = 0; in generic_proc_info()
61 begin = pos; in generic_proc_info()
63 *start = buffer + (offset - begin); /* Start of wanted data */ in generic_proc_info()
64 len -= (offset - begin); in generic_proc_info()
/linux-2.4.37.9/fs/proc/
Dproc_tty.c36 off_t begin = 0; in tty_drivers_read_proc() local
83 if (len+begin > off+count) in tty_drivers_read_proc()
85 if (len+begin < off) { in tty_drivers_read_proc()
86 begin += len; in tty_drivers_read_proc()
92 if (off >= len+begin) in tty_drivers_read_proc()
94 *start = page + (off-begin); in tty_drivers_read_proc()
95 return ((count < begin+len-off) ? count : begin+len-off); in tty_drivers_read_proc()
106 off_t begin = 0; in tty_ldiscs_read_proc() local
116 if (len+begin > off+count) in tty_ldiscs_read_proc()
118 if (len+begin < off) { in tty_ldiscs_read_proc()
[all …]
/linux-2.4.37.9/fs/coda/
Dsysctl.c293 off_t begin; in coda_vfs_stats_get_info() local
338 begin = offset; in coda_vfs_stats_get_info()
339 *start = buffer + begin; in coda_vfs_stats_get_info()
340 len -= begin; in coda_vfs_stats_get_info()
355 off_t begin; in coda_upcall_stats_get_info() local
384 begin = len- (pos - offset); in coda_upcall_stats_get_info()
385 *start = buffer + begin; in coda_upcall_stats_get_info()
386 len -= begin; in coda_upcall_stats_get_info()
400 off_t begin; in coda_permission_stats_get_info() local
413 begin = offset; in coda_permission_stats_get_info()
[all …]
/linux-2.4.37.9/drivers/video/matrox/
Dmatroxfb_proc.c43 if (begin + len > offset + size) \
45 if (begin + len < offset) { \
46 begin += len; \
54 off_t begin = 0; in bios_read_proc() local
70 if (offset >= begin + len) in bios_read_proc()
72 *start = buffer + (offset - begin); in bios_read_proc()
73 return size < begin + len - offset ? size : begin + len - offset; in bios_read_proc()
/linux-2.4.37.9/drivers/media/video/
Dzoran_procfs.c65 if (begin + len > offset + size) { \
70 if (begin + len < offset) { \
71 begin += len; \
80 off_t begin = 0; in zoran_read_proc() local
96 if (offset >= len + begin) { in zoran_read_proc()
99 *start = buffer + begin - offset; in zoran_read_proc()
100 return ((size < begin + len - offset) ? size : begin + len - offset); in zoran_read_proc()
/linux-2.4.37.9/arch/cris/kernel/
Ddebug.c135 off_t begin = 0; in log_int_read_proc() local
177 if (len+begin > off+count) in log_int_read_proc()
179 if (len+begin < off) { in log_int_read_proc()
180 begin += len; in log_int_read_proc()
198 if (off >= len+begin) in log_int_read_proc()
200 *start = page + (off-begin); in log_int_read_proc()
201 return ((count < begin+len-off) ? count : begin+len-off); in log_int_read_proc()
/linux-2.4.37.9/arch/sh/mm/
Dcache-sh3.c165 unsigned long begin, end; in __flush_wback_region() local
168 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in __flush_wback_region()
172 for (v = begin; v < end; v+=L1_CACHE_BYTES) { in __flush_wback_region()
203 unsigned long begin, end; in __flush_purge_region() local
205 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in __flush_purge_region()
209 for (v = begin; v < end; v+=L1_CACHE_BYTES) { in __flush_purge_region()
Dcache-sh4.c162 unsigned long begin, end; in __flush_wback_region() local
164 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in __flush_wback_region()
167 for (v = begin; v < end; v+=L1_CACHE_BYTES) { in __flush_wback_region()
183 unsigned long begin, end; in __flush_purge_region() local
185 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in __flush_purge_region()
188 for (v = begin; v < end; v+=L1_CACHE_BYTES) { in __flush_purge_region()
202 unsigned long begin, end; in __flush_invalidate_region() local
204 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in __flush_invalidate_region()
207 for (v = begin; v < end; v+=L1_CACHE_BYTES) { in __flush_invalidate_region()
/linux-2.4.37.9/net/ax25/
Dax25_uid.c135 off_t begin = 0; in ax25_uid_get_info() local
144 pos = begin + len; in ax25_uid_get_info()
148 begin = pos; in ax25_uid_get_info()
157 *start = buffer + (offset - begin); in ax25_uid_get_info()
158 len -= offset - begin; in ax25_uid_get_info()
/linux-2.4.37.9/drivers/mtd/
Dmtdcore.c336 off_t begin = 0; in mtd_read_proc() local
345 if (len+begin > off+count) in mtd_read_proc()
347 if (len+begin < off) { in mtd_read_proc()
348 begin += len; in mtd_read_proc()
359 if (off >= len+begin) in mtd_read_proc()
361 *start = page + (off-begin); in mtd_read_proc()
362 return ((count < begin+len-off) ? count : begin+len-off); in mtd_read_proc()
Dmtdconcat.c589 u_int32_t begin, position; in mtd_concat_create() local
608 begin = position = 0; in mtd_concat_create()
618 erase_region_p->offset = begin; in mtd_concat_create()
620 erase_region_p->numblocks = (position - begin) / curr_erasesize; in mtd_concat_create()
621 begin = position; in mtd_concat_create()
635 erase_region_p->offset = begin; in mtd_concat_create()
637 erase_region_p->numblocks = (position - begin) / curr_erasesize; in mtd_concat_create()
638 begin = position; in mtd_concat_create()
648 erase_region_p->offset = begin; in mtd_concat_create()
650 erase_region_p->numblocks = (position - begin) / curr_erasesize; in mtd_concat_create()
/linux-2.4.37.9/drivers/char/
Dnvram.c147 off_t *begin, off_t offset, int size);
415 off_t begin = 0; in nvram_read_proc() local
422 *eof = mach_proc_infos(contents, buffer, &len, &begin, offset, size); in nvram_read_proc()
424 if (offset >= begin + len) in nvram_read_proc()
426 *start = buffer + (offset - begin); in nvram_read_proc()
427 return (size < begin + len - offset) ? size : begin + len - offset; in nvram_read_proc()
436 if (*begin + *len > offset + size) \
438 if (*begin + *len < offset) { \
439 *begin += *len; \
550 off_t *begin, off_t offset, int size) in pc_proc_infos() argument
[all …]
/linux-2.4.37.9/net/core/
Ddev_mcast.c224 off_t pos = 0, begin = 0; in dev_mc_read_proc() local
243 pos = begin + len; in dev_mc_read_proc()
246 begin = pos; in dev_mc_read_proc()
259 *start = buffer + (offset - begin); in dev_mc_read_proc()
260 len -= (offset - begin); in dev_mc_read_proc()
Dprofile.c67 off_t begin=0; in profile_read_proc() local
114 pos=begin+len; in profile_read_proc()
117 begin=pos; in profile_read_proc()
125 *start=buffer+(offset-begin); in profile_read_proc()
126 len-=(offset-begin); in profile_read_proc()
/linux-2.4.37.9/drivers/acorn/scsi/
Darxescsi.c287 int pos, begin; in arxescsi_proc_info() local
300 begin = 0; in arxescsi_proc_info()
310 if (pos + begin < offset) { in arxescsi_proc_info()
311 begin += pos; in arxescsi_proc_info()
314 if (pos + begin > offset + length) in arxescsi_proc_info()
318 *start = buffer + (offset - begin); in arxescsi_proc_info()
319 pos -= offset - begin; in arxescsi_proc_info()
Dpowertec.c260 int pos, begin; in powertecscsi_proc_info() local
274 begin = 0; in powertecscsi_proc_info()
288 if (pos + begin < offset) { in powertecscsi_proc_info()
289 begin += pos; in powertecscsi_proc_info()
292 if (pos + begin > offset + length) in powertecscsi_proc_info()
296 *start = buffer + (offset - begin); in powertecscsi_proc_info()
297 pos -= offset - begin; in powertecscsi_proc_info()
/linux-2.4.37.9/net/802/
Dtr.c467 off_t begin=0; in rif_get_info() local
490 pos=begin+len; in rif_get_info()
502 pos=begin+len; in rif_get_info()
508 pos=begin+len; in rif_get_info()
512 pos=begin+len; in rif_get_info()
516 pos=begin+len; in rif_get_info()
521 begin=pos; in rif_get_info()
531 *start=buffer+(offset-begin); /* Start of wanted data */ in rif_get_info()
532 len-=(offset-begin); /* Start slop */ in rif_get_info()
/linux-2.4.37.9/net/x25/
Dx25_route.c225 off_t begin = 0; in x25_routes_get_info() local
237 pos = begin + len; in x25_routes_get_info()
241 begin = pos; in x25_routes_get_info()
250 *start = buffer + (offset - begin); in x25_routes_get_info()
251 len -= (offset - begin); in x25_routes_get_info()
/linux-2.4.37.9/arch/mips/mm/
Dc-r4k.c906 unsigned long flags, addr, begin, end, pow2; in probe_scache() local
914 begin = (unsigned long) &stext; in probe_scache()
915 begin &= ~((4 * 1024 * 1024) - 1); in probe_scache()
916 end = begin + (4 * 1024 * 1024); in probe_scache()
926 for (addr = begin; addr < end; addr = (begin + pow2)) { in probe_scache()
936 cache_op(Index_Store_Tag_I, begin); in probe_scache()
937 cache_op(Index_Store_Tag_D, begin); in probe_scache()
938 cache_op(Index_Store_Tag_SD, begin); in probe_scache()
943 for (addr = begin + (128 * 1024); addr < end; addr = begin + pow2) { in probe_scache()
951 addr -= begin; in probe_scache()
/linux-2.4.37.9/arch/mips64/mm/
Dc-r4k.c906 unsigned long flags, addr, begin, end, pow2; in probe_scache() local
914 begin = (unsigned long) &stext; in probe_scache()
915 begin &= ~((4 * 1024 * 1024) - 1); in probe_scache()
916 end = begin + (4 * 1024 * 1024); in probe_scache()
926 for (addr = begin; addr < end; addr = (begin + pow2)) { in probe_scache()
936 cache_op(Index_Store_Tag_I, begin); in probe_scache()
937 cache_op(Index_Store_Tag_D, begin); in probe_scache()
938 cache_op(Index_Store_Tag_SD, begin); in probe_scache()
943 for (addr = begin + (128 * 1024); addr < end; addr = begin + pow2) { in probe_scache()
951 addr -= begin; in probe_scache()
/linux-2.4.37.9/net/rose/
Drose_route.c974 off_t begin = 0; in rose_nodes_get_info() local
999 pos = begin + len; in rose_nodes_get_info()
1003 begin = pos; in rose_nodes_get_info()
1012 *start = buffer + (offset - begin); in rose_nodes_get_info()
1013 len -= (offset - begin); in rose_nodes_get_info()
1025 off_t begin = 0; in rose_neigh_get_info() local
1052 pos = begin + len; in rose_neigh_get_info()
1056 begin = pos; in rose_neigh_get_info()
1066 *start = buffer + (offset - begin); in rose_neigh_get_info()
1067 len -= (offset - begin); in rose_neigh_get_info()
[all …]

1234567