Searched refs:max_readahead (Results 1 – 12 of 12) sorted by relevance
/linux-2.4.37.9/mm/ |
D | filemap.c | 1273 if (!inode->i_dev || !max_readahead[MAJOR(inode->i_dev)]) in get_max_readahead() 1275 return max_readahead[MAJOR(inode->i_dev)][MINOR(inode->i_dev)]; in get_max_readahead() 1286 int max_readahead = get_max_readahead(inode); in generic_file_readahead() local 1374 if (filp->f_ramax > max_readahead) in generic_file_readahead() 1375 filp->f_ramax = max_readahead; in generic_file_readahead() 1416 int max_readahead = get_max_readahead(inode); in do_generic_file_read() local 1457 if (filp->f_ramax > max_readahead) in do_generic_file_read() 1458 filp->f_ramax = max_readahead; in do_generic_file_read()
|
/linux-2.4.37.9/drivers/ide/raid/ |
D | ataraid.c | 297 max_readahead[ATAMAJOR] = NULL; in ataraid_exit()
|
/linux-2.4.37.9/drivers/block/ |
D | ll_rw_blk.c | 114 int * max_readahead[MAX_BLKDEV]; variable 1525 memset(max_readahead, 0, sizeof(max_readahead)); in blk_dev_init()
|
/linux-2.4.37.9/include/linux/ |
D | blkdev.h | 258 extern int * max_readahead[MAX_BLKDEV];
|
/linux-2.4.37.9/drivers/acorn/block/ |
D | mfmhd.c | 1214 max_readahead[major][minor] = arg; in mfm_ioctl() 1218 return put_user(max_readahead[major][minor], (long *) arg); in mfm_ioctl()
|
/linux-2.4.37.9/kernel/ |
D | ksyms.c | 344 EXPORT_SYMBOL(max_readahead);
|
/linux-2.4.37.9/drivers/ide/ |
D | ide-probe.c | 1204 max_readahead[hwif->major] = max_ra; in init_gendisk()
|
D | ide-floppy.c | 1991 …NG_RW, BLKFRAGET, BLKFRASET, TYPE_INTA, 0, INT_MAX, 1, 1024, &max_readahead[major][minor],… in idefloppy_add_settings()
|
D | ide-disk.c | 1599 …, BLKFRAGET, BLKFRASET, TYPE_INTA, 0, 4096, PAGE_SIZE, 1024, &max_readahead[major][minor],… in idedisk_add_settings()
|
D | ide.c | 958 kfree(max_readahead[hwif->major]); in ide_unregister()
|
D | ide-cd.c | 2885 …", SETTING_RW, BLKFRAGET, BLKFRASET, TYPE_INTA, 0, INT_MAX, 1, 1024, &max_readahead[major][minor],… in ide_cdrom_add_settings()
|
/linux-2.4.37.9/drivers/md/ |
D | md.c | 3731 max_readahead[MAJOR_NR] = md_maxreadahead; in md_geninit() 4119 max_readahead[MAJOR_NR] = NULL; in cleanup_module()
|