Searched refs:n_block (Results 1 - 6 of 6) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/ |
H A D | ata.h | 1026 static inline int lba_28_ok(u64 block, u32 n_block) argument 1029 return ((block + n_block) < ((1 << 28) - 1)) && (n_block <= 256); 1032 static inline int lba_48_ok(u64 block, u32 n_block) argument 1035 return ((block + n_block - 1) < ((u64)1 << 48)) && (n_block <= 65536);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/ata/ |
H A D | libata-scsi.c | 1502 u32 n_block; local 1510 scsi_10_lba_len(cdb, &block, &n_block); 1514 scsi_16_lba_len(cdb, &block, &n_block); 1518 if (!n_block) 1522 if ((block + n_block) > dev_sectors) 1528 if (lba_28_ok(block, n_block)) { 1532 } else if (lba_48_ok(block, n_block)) { 1540 tf->hob_nsect = (n_block >> 8) & 0xff; 1549 tf->nsect = n_block & 0xff; 1560 if (!lba_28_ok(block, n_block)) 1628 u32 n_block; local 2953 u32 n_block; local [all...] |
H A D | libata.h | 67 u64 block, u32 n_block, unsigned int tf_flags,
|
H A D | libata-core.c | 732 * @n_block: Number of blocks 740 * @block, @n_block, @tf_flags and @tag on @dev. 748 u64 block, u32 n_block, unsigned int tf_flags, 756 if (!lba_48_ok(block, n_block)) 768 tf->hob_feature = (n_block >> 8) & 0xff; 769 tf->feature = n_block & 0xff; 784 if (lba_28_ok(block, n_block)) { 787 } else if (lba_48_ok(block, n_block)) { 794 tf->hob_nsect = (n_block >> 8) & 0xff; 806 tf->nsect = n_block 747 ata_build_rw_tf(struct ata_taskfile *tf, struct ata_device *dev, u64 block, u32 n_block, unsigned int tf_flags, unsigned int tag) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/libxml2-2.7.2/ |
H A D | testapi.c | 37084 int n_block; local 37087 for (n_block = 0;n_block < gen_nb_const_char_ptr;n_block++) { 37090 block = gen_const_char_ptr(n_block, 1); 37096 des_const_char_ptr(n_block, (const char *)block, 1); 37103 printf(" %d", n_block); [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/libxml2-2.7.2/source/ |
H A D | testapi.c | 37084 int n_block; local 37087 for (n_block = 0;n_block < gen_nb_const_char_ptr;n_block++) { 37090 block = gen_const_char_ptr(n_block, 1); 37096 des_const_char_ptr(n_block, (const char *)block, 1); 37103 printf(" %d", n_block); [all...] |
Completed in 415 milliseconds