Home
last modified time | relevance | path

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

123

/drivers/scsi/
Dgdth_proc.c157 off_t begin = 0,pos = 0; in gdth_get_info() local
193 len += size; pos = begin + len; in gdth_get_info()
207 len += size; pos = begin + len; in gdth_get_info()
211 len += size; pos = begin + len; in gdth_get_info()
215 len += size; pos = begin + len; in gdth_get_info()
220 len += size; pos = begin + len; in gdth_get_info()
236 len += size; pos = begin + len; in gdth_get_info()
243 len += size; pos = begin + len; in gdth_get_info()
249 len += size; pos = begin + len; in gdth_get_info()
253 len += size; pos = begin + len; in gdth_get_info()
[all …]
Deata_pio.c110 off_t begin = 0, pos = 0; in eata_pio_proc_info() local
129 pos = begin + len; in eata_pio_proc_info()
133 begin = pos; in eata_pio_proc_info()
140 *start = buffer + (offset - begin); /* Start of wanted data */ in eata_pio_proc_info()
141 len -= (offset - begin); /* Start slop */ in eata_pio_proc_info()
Datari_NCR5380.c772 off_t begin = 0; in NCR5380_proc_info() local
775 if (pos - buffer < offset - begin) { \ in NCR5380_proc_info()
776 begin += pos - buffer; \ in NCR5380_proc_info()
812 *start = buffer + (offset - begin); in NCR5380_proc_info()
813 if (pos - buffer < offset - begin) in NCR5380_proc_info()
815 else if (pos - buffer - (offset - begin) < length) in NCR5380_proc_info()
816 return pos - buffer - (offset - begin); in NCR5380_proc_info()
Dsun3_NCR5380.c714 off_t begin = 0; in NCR5380_proc_info() local
717 if (pos - buffer < offset - begin) { \ in NCR5380_proc_info()
718 begin += pos - buffer; \ in NCR5380_proc_info()
755 *start = buffer + (offset - begin); in NCR5380_proc_info()
756 if (pos - buffer < offset - begin) in NCR5380_proc_info()
758 else if (pos - buffer - (offset - begin) < length) in NCR5380_proc_info()
759 return pos - buffer - (offset - begin); in NCR5380_proc_info()
/drivers/net/ethernet/xscale/ixp2000/
Dixp2400_rx.uc67 .begin
87 .begin
94 .begin
116 .begin
131 .begin
144 .begin
152 .begin
169 .begin
190 .begin
202 .begin
[all …]
Dixp2400_tx.uc60 .begin
67 .begin
87 .begin
99 .begin
112 .begin
143 .begin
176 .begin
206 .begin
224 .begin
242 .begin
[all …]
/drivers/md/persistent-data/
Ddm-space-map-metadata.c51 dm_block_t begin; member
316 r = sm_ll_find_free_block(&smm->old_ll, smm->begin, smm->old_ll.nr_blocks, b); in sm_metadata_new_block_()
320 smm->begin = *b + 1; in sm_metadata_new_block_()
354 smm->begin = 0; in sm_metadata_commit()
429 *count = smm->ll.nr_blocks - smm->begin; in sm_bootstrap_get_nr_free()
439 return b < smm->begin ? 1 : 0; in sm_bootstrap_get_count()
465 if (smm->begin == smm->ll.nr_blocks) in sm_bootstrap_new_block()
468 *b = smm->begin++; in sm_bootstrap_new_block()
548 smm->begin = superblock + 1; in dm_sm_metadata_create()
569 for (i = superblock; !r && i < smm->begin; i++) in dm_sm_metadata_create()
[all …]
Ddm-space-map-common.c168 static int sm_find_free(void *addr, unsigned begin, unsigned end, in sm_find_free() argument
171 while (begin < end) { in sm_find_free()
172 if (!(begin & (ENTRIES_PER_WORD - 1)) && in sm_find_free()
173 bitmap_word_used(addr, begin)) { in sm_find_free()
174 begin += ENTRIES_PER_WORD; in sm_find_free()
178 if (!sm_lookup_bitmap(addr, begin)) { in sm_find_free()
179 *result = begin; in sm_find_free()
183 begin++; in sm_find_free()
314 int sm_ll_find_free_block(struct ll_disk *ll, dm_block_t begin, in sm_ll_find_free_block() argument
319 dm_block_t i, index_begin = begin; in sm_ll_find_free_block()
[all …]
Ddm-space-map-disk.c31 dm_block_t begin; member
173 r = sm_ll_find_free_block(&smd->old_ll, smd->begin, smd->old_ll.nr_blocks, b); in sm_disk_new_block()
177 smd->begin = *b + 1; in sm_disk_new_block()
202 smd->begin = 0; in sm_disk_commit()
266 smd->begin = 0; in dm_sm_disk_create_real()
317 smd->begin = 0; in dm_sm_disk_open_real()
Ddm-space-map-common.h109 int sm_ll_find_free_block(struct ll_disk *ll, dm_block_t begin,
/drivers/hwmon/
Dapplesmc.c341 int begin = 0, end = smcreg.key_count; in applesmc_get_lower_bound() local
344 while (begin != end) { in applesmc_get_lower_bound()
345 int middle = begin + (end - begin) / 2; in applesmc_get_lower_bound()
352 begin = middle + 1; in applesmc_get_lower_bound()
357 *lo = begin; in applesmc_get_lower_bound()
363 int begin = 0, end = smcreg.key_count; in applesmc_get_upper_bound() local
366 while (begin != end) { in applesmc_get_upper_bound()
367 int middle = begin + (end - begin) / 2; in applesmc_get_upper_bound()
376 begin = middle + 1; in applesmc_get_upper_bound()
379 *hi = begin; in applesmc_get_upper_bound()
[all …]
/drivers/staging/cxt1e1/
Dsbeproc.c266 off_t begin = 0; in sbecom_proc_get_sbe_info()
271 pos = begin + size; in sbecom_proc_get_sbe_info()
275 begin = pos; in sbecom_proc_get_sbe_info()
277 *start = buffer + (offset - begin); /* Start of wanted data */ in sbecom_proc_get_sbe_info()
278 len -= (offset - begin); /* Start slop */ in sbecom_proc_get_sbe_info()
/drivers/mtd/
Dmtdconcat.c856 uint64_t begin, position; in mtd_concat_create() local
876 begin = position = 0; in mtd_concat_create()
885 erase_region_p->offset = begin; in mtd_concat_create()
888 tmp64 = position - begin; in mtd_concat_create()
891 begin = position; in mtd_concat_create()
904 erase_region_p->offset = begin; in mtd_concat_create()
907 tmp64 = position - begin; in mtd_concat_create()
910 begin = position; in mtd_concat_create()
924 erase_region_p->offset = begin; in mtd_concat_create()
926 tmp64 = position - begin; in mtd_concat_create()
/drivers/md/
Ddm-stripe.c248 sector_t begin, end; in stripe_map_discard() local
250 stripe_map_range_sector(sc, bio->bi_sector, target_stripe, &begin); in stripe_map_discard()
253 if (begin < end) { in stripe_map_discard()
255 bio->bi_sector = begin + sc->stripe[target_stripe].physical_start; in stripe_map_discard()
256 bio->bi_size = to_bytes(end - begin); in stripe_map_discard()
Ddm-table.c576 return !ti->begin; in adjoin()
579 return (ti->begin == (prev->begin + prev->len)); in adjoin()
729 (unsigned long long) ti->begin, in validate_hardware_logical_block_alignment()
800 tgt->begin = start; in dm_table_add_target()
824 t->highs[t->num_targets++] = tgt->begin + tgt->len - 1; in dm_table_add_target()
1263 (unsigned long long) ti->begin, in dm_calculate_queue_limits()
/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1174 static int gfar_trim_filer_entries(u32 begin, u32 end, struct filer_table *tab) in gfar_trim_filer_entries() argument
1177 if (end > MAX_FILER_CACHE_IDX || end < begin) in gfar_trim_filer_entries()
1181 length = end - begin; in gfar_trim_filer_entries()
1185 tab->fe[begin].ctrl = tab->fe[end].ctrl; in gfar_trim_filer_entries()
1186 tab->fe[begin++].prop = tab->fe[end++].prop; in gfar_trim_filer_entries()
1190 while (begin < tab->index) { in gfar_trim_filer_entries()
1191 tab->fe[begin].ctrl = 0x60; in gfar_trim_filer_entries()
1192 tab->fe[begin].prop = 0xFFFFFFFF; in gfar_trim_filer_entries()
1193 begin++; in gfar_trim_filer_entries()
1201 static int gfar_expand_filer_entries(u32 begin, u32 length, in gfar_expand_filer_entries() argument
[all …]
/drivers/scsi/aic7xxx/aicasm/
Daicasm.c69 u_int begin; member
431 cur_patch->patch_func, cur_patch->begin, in output_code()
509 new_patch->begin = scope->begin_addr; in emit_patch()
512 new_patch->begin = scope->end_addr; in emit_patch()
656 while (cur_patch != NULL && start_instr == cur_patch->begin) { in check_patch()
/drivers/nubus/
Dnubus.c975 int nprinted, len, begin = 0; in nubus_read_proc() local
987 if (len+begin < off) { in nubus_read_proc()
988 begin += len; in nubus_read_proc()
991 if (len+begin >= off+count) in nubus_read_proc()
994 if (len+begin < off) in nubus_read_proc()
996 off -= begin; in nubus_read_proc()
/drivers/acpi/
Dsleep.c522 .begin = acpi_suspend_begin,
550 .begin = acpi_suspend_begin_old,
624 .begin = acpi_hibernation_begin,
667 .begin = acpi_hibernation_begin_old,
/drivers/net/wireless/b43/
Dlo.c589 int begin, end; in lo_probe_possible_loctls() local
605 begin = 1; in lo_probe_possible_loctls()
608 begin = d->current_state - 1; in lo_probe_possible_loctls()
611 begin = d->current_state - 2; in lo_probe_possible_loctls()
614 if (begin < 1) in lo_probe_possible_loctls()
615 begin += 8; in lo_probe_possible_loctls()
620 i = begin; in lo_probe_possible_loctls()
/drivers/staging/rtl8187se/
Dr8180_core.c1937 u32 *begin; in rtl8180_tx() local
1960 begin = priv->txmapring; in rtl8180_tx()
1966 begin = priv->txbkpring; in rtl8180_tx()
1972 begin = priv->txbepring; in rtl8180_tx()
1978 begin = priv->txvipring; in rtl8180_tx()
1984 begin = priv->txvopring; in rtl8180_tx()
1990 begin = priv->txhpring; in rtl8180_tx()
1996 begin = priv->txbeaconring; in rtl8180_tx()
2162 if ((tail - begin)/8 == count-1) in rtl8180_tx()
2163 tail = begin; in rtl8180_tx()
[all …]
/drivers/infiniband/ulp/ipoib/
Dipoib_ib.c814 unsigned long begin; in ipoib_ib_dev_stop() local
832 begin = jiffies; in ipoib_ib_dev_stop()
835 if (time_after(jiffies, begin + 5 * HZ)) { in ipoib_ib_dev_stop()
886 begin = jiffies; in ipoib_ib_dev_stop()
891 if (time_after(jiffies, begin + HZ)) { in ipoib_ib_dev_stop()
/drivers/staging/serial/
D68360serial.c2032 off_t begin = 0; in rs_360_read_proc() local
2037 if (len+begin > off+count) in rs_360_read_proc()
2039 if (len+begin < off) { in rs_360_read_proc()
2040 begin += len; in rs_360_read_proc()
2046 if (off >= len+begin) in rs_360_read_proc()
2048 *start = page + (begin-off); in rs_360_read_proc()
2049 return ((count < begin+len-off) ? count : begin+len-off); in rs_360_read_proc()
/drivers/block/
Dvirtio_blk.c385 char *begin = buf + strlen(prefix); in virtblk_name_format() local
394 if (p == begin) in virtblk_name_format()
400 memmove(begin, p, end - p); in virtblk_name_format()
/drivers/net/wireless/b43legacy/
Dphy.c1401 int begin; in b43legacy_phy_lo_g_state() local
1415 begin = 1; in b43legacy_phy_lo_g_state()
1418 begin = state - 1; in b43legacy_phy_lo_g_state()
1421 begin = state - 2; in b43legacy_phy_lo_g_state()
1424 if (begin < 1) in b43legacy_phy_lo_g_state()
1425 begin += 8; in b43legacy_phy_lo_g_state()
1429 j = begin; in b43legacy_phy_lo_g_state()

123