Home
last modified time | relevance | path

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

1234

/drivers/md/persistent-data/
Ddm-space-map-metadata.c96 unsigned begin; member
103 brb->begin = 0; in brb_init()
109 return brb->begin == brb->end; in brb_empty()
128 if (next == brb->begin) in brb_push()
147 bop = brb->bops + brb->begin; in brb_peek()
159 brb->begin = brb_next(brb, brb->begin); in brb_pop()
172 dm_block_t begin; member
312 for (i = smm->uncommitted.begin; in sm_metadata_get_count()
352 for (i = smm->uncommitted.begin; in sm_metadata_count_is_more_than_one()
451 r = sm_ll_find_free_block(&smm->old_ll, smm->begin, smm->old_ll.nr_blocks, b); in sm_metadata_new_block_()
[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 dm_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()
329 int sm_ll_find_free_block(struct ll_disk *ll, dm_block_t begin, in sm_ll_find_free_block() argument
334 dm_block_t i, index_begin = begin; in sm_ll_find_free_block()
[all …]
Ddm-space-map-disk.c30 dm_block_t begin; member
171 r = sm_ll_find_free_block(&smd->old_ll, smd->begin, smd->old_ll.nr_blocks, b); in sm_disk_new_block()
175 smd->begin = *b + 1; in sm_disk_new_block()
200 smd->begin = 0; in sm_disk_commit()
264 smd->begin = 0; in dm_sm_disk_create()
298 smd->begin = 0; in dm_sm_disk_open()
/drivers/net/wireless/st/cw1200/
Dwsm.c893 hdr_len = buf->data - buf->begin; in wsm_receive_indication()
1078 size_t buf_len = buf->data - buf->begin; in wsm_cmd_send()
1099 cmd, __le16_to_cpu(((__le16 *)buf->begin)[2]), in wsm_cmd_send()
1112 ((__le16 *)buf->begin)[0] = __cpu_to_le16(buf_len); in wsm_cmd_send()
1113 ((__le16 *)buf->begin)[1] = __cpu_to_le16(cmd); in wsm_cmd_send()
1117 priv->wsm_cmd.ptr = buf->begin; in wsm_cmd_send()
1140 buf->begin, buf_len); in wsm_cmd_send()
1256 buf.begin = buf.data = data; in wsm_handle_exception()
1257 buf.end = &buf.begin[len]; in wsm_handle_exception()
1307 wsm_buf.begin = (u8 *)&wsm[0]; in wsm_handle_rx()
[all …]
Dscan.c111 priv->scan.begin = &req->channels[0]; in cw1200_hw_scan()
112 priv->scan.curr = priv->scan.begin; in cw1200_hw_scan()
139 bool first_run = (priv->scan.begin == priv->scan.curr && in cw1200_scan_work()
140 priv->scan.begin != priv->scan.end); in cw1200_scan_work()
Dscan.h26 struct ieee80211_channel **begin; member
/drivers/acpi/
Dacpi_lpit.c130 static void lpit_process(u64 begin, u64 end) in lpit_process() argument
132 while (begin + sizeof(struct acpi_lpit_native) <= end) { in lpit_process()
133 struct acpi_lpit_native *lpit_native = (struct acpi_lpit_native *)begin; in lpit_process()
144 begin += lpit_native->header.length; in lpit_process()
Dsleep.c650 .begin = acpi_suspend_begin,
678 .begin = acpi_suspend_begin_old,
1045 .begin = acpi_s2idle_begin,
1178 .begin = acpi_hibernation_begin,
1228 .begin = acpi_hibernation_begin_old,
/drivers/hwmon/
Dapplesmc.c365 int begin = 0, end = smcreg.key_count; in applesmc_get_lower_bound() local
368 while (begin != end) { in applesmc_get_lower_bound()
369 int middle = begin + (end - begin) / 2; in applesmc_get_lower_bound()
376 begin = middle + 1; in applesmc_get_lower_bound()
381 *lo = begin; in applesmc_get_lower_bound()
387 int begin = 0, end = smcreg.key_count; in applesmc_get_upper_bound() local
390 while (begin != end) { in applesmc_get_upper_bound()
391 int middle = begin + (end - begin) / 2; in applesmc_get_upper_bound()
400 begin = middle + 1; in applesmc_get_upper_bound()
403 *hi = begin; in applesmc_get_upper_bound()
[all …]
/drivers/net/wireless/ath/wcn36xx/
Ddebug.c118 char *begin; in write_file_dump() local
119 begin = strsep(&tmp, " "); in write_file_dump()
120 if (begin == NULL) in write_file_dump()
123 if (kstrtou32(begin, 0, &arg[i]) != 0) in write_file_dump()
/drivers/mtd/
Dmtdconcat.c765 uint64_t begin, position; in mtd_concat_create() local
786 begin = position = 0; in mtd_concat_create()
795 erase_region_p->offset = begin; in mtd_concat_create()
798 tmp64 = position - begin; in mtd_concat_create()
801 begin = position; in mtd_concat_create()
814 erase_region_p->offset = begin; in mtd_concat_create()
817 tmp64 = position - begin; in mtd_concat_create()
820 begin = position; in mtd_concat_create()
834 erase_region_p->offset = begin; in mtd_concat_create()
836 tmp64 = position - begin; in mtd_concat_create()
/drivers/md/
Ddm-thin-metadata.c1542 dm_block_t begin, dm_block_t end, in __find_mapped_range() argument
1550 if (end < begin) in __find_mapped_range()
1553 r = __find_next_mapped_block(td, begin, &begin, &lookup); in __find_mapped_range()
1557 if (begin >= end) in __find_mapped_range()
1560 *thin_begin = begin; in __find_mapped_range()
1564 begin++; in __find_mapped_range()
1566 while (begin != end) { in __find_mapped_range()
1567 r = __find_block(td, begin, true, &lookup); in __find_mapped_range()
1580 begin++; in __find_mapped_range()
1583 *thin_end = begin; in __find_mapped_range()
[all …]
Ddm-cache-metadata.c900 dm_cblock_t begin, dm_cblock_t end, in blocks_are_clean_combined_dirty() argument
906 while (begin != end) { in blocks_are_clean_combined_dirty()
907 r = block_clean_combined_dirty(cmd, begin, result); in blocks_are_clean_combined_dirty()
915 (unsigned long long) from_cblock(begin)); in blocks_are_clean_combined_dirty()
919 begin = to_cblock(from_cblock(begin) + 1); in blocks_are_clean_combined_dirty()
926 dm_cblock_t begin, dm_cblock_t end, in blocks_are_clean_separate_dirty() argument
944 r = dm_bitset_cursor_skip(&cmd->dirty_cursor, from_cblock(begin)); in blocks_are_clean_separate_dirty()
951 while (begin != end) { in blocks_are_clean_separate_dirty()
959 (unsigned long long) from_cblock(begin)); in blocks_are_clean_separate_dirty()
965 begin = to_cblock(from_cblock(begin) + 1); in blocks_are_clean_separate_dirty()
[all …]
Ddm-cache-policy-smq.c61 struct entry *begin; member
68 es->begin = es->end = NULL; in space_init()
72 es->begin = vzalloc(array_size(nr_entries, sizeof(struct entry))); in space_init()
73 if (!es->begin) in space_init()
76 es->end = es->begin + nr_entries; in space_init()
82 vfree(es->begin); in space_exit()
89 e = es->begin + block; in __get_entry()
97 BUG_ON(e < es->begin || e >= es->end); in to_index()
98 return e - es->begin; in to_index()
692 unsigned begin; member
[all …]
Ddm-stripe.c267 sector_t begin, end; in stripe_map_range() local
270 target_stripe, &begin); in stripe_map_range()
273 if (begin < end) { in stripe_map_range()
275 bio->bi_iter.bi_sector = begin + in stripe_map_range()
277 bio->bi_iter.bi_size = to_bytes(end - begin); in stripe_map_range()
Ddm-thin-metadata.h154 dm_block_t begin, dm_block_t end,
171 dm_block_t begin, dm_block_t end);
/drivers/acpi/acpica/
Dextrace.c132 u8 begin, u8 *aml, char *pathname) in acpi_ex_trace_point() argument
141 begin ? "Begin" : "End", aml, pathname)); in acpi_ex_trace_point()
146 begin ? "Begin" : "End", aml)); in acpi_ex_trace_point()
Dutdebug.c597 acpi_trace_point(acpi_trace_event_type type, u8 begin, u8 *aml, char *pathname) in acpi_trace_point() argument
602 acpi_ex_trace_point(type, begin, aml, pathname); in acpi_trace_point()
605 acpi_os_trace_point(type, begin, aml, pathname); in acpi_trace_point()
/drivers/gpu/drm/rcar-du/
Drcar_du_of.c29 void *begin; member
40 .begin = __dtb_rcar_du_of_##type##_##soc##_begin, \
62 return of_overlay_fdt_apply(dtb->begin, dtb->end - dtb->begin, in rcar_du_of_apply_overlay()
/drivers/input/
Dinput-mt.c315 static int adjust_dual(int *begin, int step, int *end, int eq, int mu) in adjust_dual() argument
319 if (begin == end) in adjust_dual()
322 f = *begin; in adjust_dual()
323 p = begin + step; in adjust_dual()
339 for (p = begin; p != end; p += step) in adjust_dual()
/drivers/media/platform/sti/hva/
Dhva-debugfs.c125 ktime_t prev = dbg->begin; in hva_dbg_perf_begin()
127 dbg->begin = ktime_get(); in hva_dbg_perf_begin()
131 div = (u64)ktime_us_delta(dbg->begin, prev); in hva_dbg_perf_begin()
192 div = (u64)ktime_us_delta(end, dbg->begin); in hva_dbg_perf_end()
/drivers/scsi/aic7xxx/aicasm/
Daicasm.c69 u_int begin; member
431 cur_patch->patch_func, cur_patch->begin, in output_code()
508 new_patch->begin = scope->begin_addr; in emit_patch()
511 new_patch->begin = scope->end_addr; in emit_patch()
655 while (cur_patch != NULL && start_instr == cur_patch->begin) { in check_patch()
/drivers/net/can/usb/
Dusb_8dev.c145 u8 begin; member
155 u8 begin; member
167 u8 begin; member
206 out->begin = USB_8DEV_CMD_START; in usb_8dev_send_cmd()
231 if (in->begin != USB_8DEV_CMD_START || in->end != USB_8DEV_CMD_END || in usb_8dev_send_cmd()
630 msg->begin = USB_8DEV_DATA_START; in usb_8dev_start_xmit()
/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.h565 int begin = smp_load_acquire(&ring->next_to_clean); in ring_space() local
568 return ((end >= begin) ? (ring->desc_num - end + begin) : in ring_space()
569 (begin - end)) - 1; in ring_space()
/drivers/net/wireless/broadcom/b43/
Dlo.c576 int begin, end; in lo_probe_possible_loctls() local
592 begin = 1; in lo_probe_possible_loctls()
595 begin = d->current_state - 1; in lo_probe_possible_loctls()
598 begin = d->current_state - 2; in lo_probe_possible_loctls()
601 if (begin < 1) in lo_probe_possible_loctls()
602 begin += 8; in lo_probe_possible_loctls()
607 i = begin; in lo_probe_possible_loctls()

1234