Home
last modified time | relevance | path

Searched refs:left (Results 1 – 25 of 437) sorted by relevance

12345678910>>...18

/drivers/md/persistent-data/
A Ddm-btree-remove.c104 memcpy(key_ptr(left, nr_left), in node_copy()
107 memcpy(value_ptr(left, nr_left), in node_copy()
240 struct btree_node *left = l->n; in __rebalance2() local
284 struct child left, right; in rebalance2() local
294 exit_child(info, &left); in rebalance2()
300 exit_child(info, &left); in rebalance2()
376 ret = shift(left, right, s); in redistribute3()
398 ret = shift(left, right, s); in redistribute3()
462 exit_child(info, &left); in rebalance3()
468 exit_child(info, &left); in rebalance3()
[all …]
A Ddm-btree.c662 left = shadow_current(s); in split_one_into_two()
668 ln = dm_block_data(left); in split_one_into_two()
693 s->nodes[1] = left; in split_one_into_two()
751 left = shadow_current(s); in split_two_into_three()
767 ln = dm_block_data(left); in split_two_into_three()
801 s->nodes[1] = left; in split_two_into_three()
858 ln = dm_block_data(left); in btree_split_beneath()
905 unlock_block(s->info, left); in btree_split_beneath()
926 left = dm_block_data(sib); in rebalance_left()
928 redistribute2(left, right); in rebalance_left()
[all …]
/drivers/firmware/
A Dedd.c45 #define left (PAGE_SIZE - (p - buf) - 1) macro
137 p += scnprintf(p, left, " "); in edd_show_host_bus()
147 p += scnprintf(p, left, in edd_show_host_bus()
155 p += scnprintf(p, left, in edd_show_host_bus()
183 p += scnprintf(p, left, " "); in edd_show_interface()
191 p += scnprintf(p, left, "\tdevice: %u\n", in edd_show_interface()
201 p += scnprintf(p, left, "\teui: %llx\n", in edd_show_interface()
214 p += scnprintf(p, left, "\tdevice: %u\n", in edd_show_interface()
319 p += scnprintf(p, left, "removable\n"); in edd_show_info_flags()
321 p += scnprintf(p, left, "write verify\n"); in edd_show_info_flags()
[all …]
/drivers/soc/samsung/
A Ds3c-pm-check.c106 unsigned long addr, left; in s3c_pm_makecheck() local
110 left = res->end - addr; in s3c_pm_makecheck()
112 if (left > CHECK_CHUNKSIZE) in s3c_pm_makecheck()
113 left = CHECK_CHUNKSIZE; in s3c_pm_makecheck()
164 unsigned long left; in s3c_pm_runcheck() local
173 left = res->end - addr; in s3c_pm_runcheck()
175 if (left > CHECK_CHUNKSIZE) in s3c_pm_runcheck()
176 left = CHECK_CHUNKSIZE; in s3c_pm_runcheck()
180 if (in_region(ptr, left, stkpage, 4096)) { in s3c_pm_runcheck()
185 if (in_region(ptr, left, crcs, crc_size)) { in s3c_pm_runcheck()
[all …]
/drivers/crypto/intel/qat/qat_common/
A Dqat_bl.c70 unsigned int left; in __qat_bl_sgl_to_bufl() local
95 left = sskip; in __qat_bl_sgl_to_bufl()
103 if (left >= sg->length) { in __qat_bl_sgl_to_bufl()
104 left -= sg->length; in __qat_bl_sgl_to_bufl()
114 if (left) { in __qat_bl_sgl_to_bufl()
116 left = 0; in __qat_bl_sgl_to_bufl()
134 left = dskip; in __qat_bl_sgl_to_bufl()
160 left -= sg->length; in __qat_bl_sgl_to_bufl()
164 sg->length - left, in __qat_bl_sgl_to_bufl()
170 if (left) { in __qat_bl_sgl_to_bufl()
[all …]
/drivers/infiniband/hw/usnic/
A Dusnic_debugfs.c73 int left; in flowinfo_read() local
79 left = count; in flowinfo_read()
85 n = scnprintf(ptr, left, in flowinfo_read()
89 UPDATE_PTR_LEFT(n, ptr, left); in flowinfo_read()
91 n = scnprintf(ptr, left, "Port_Num:%hu\n", in flowinfo_read()
93 UPDATE_PTR_LEFT(n, ptr, left); in flowinfo_read()
95 n = usnic_transport_sock_to_str(ptr, left, in flowinfo_read()
97 UPDATE_PTR_LEFT(n, ptr, left); in flowinfo_read()
98 n = scnprintf(ptr, left, "\n"); in flowinfo_read()
99 UPDATE_PTR_LEFT(n, ptr, left); in flowinfo_read()
/drivers/video/fbdev/core/
A Dfb_copyarea.h167 int shift, left, right; in fb_copy_fwd() local
174 left = -shift & (BITS_PER_LONG - 1); in fb_copy_fwd()
205 d0 = fb_left(d0, left) | fb_right(d1, right); in fb_copy_fwd()
215 d0 = fb_left(d0, left) | fb_right(d1, right); in fb_copy_fwd()
235 d0 = fb_left(d0, left) | fb_right(d1, right); in fb_copy_fwd()
243 d0 = fb_left(d0, left); in fb_copy_fwd()
261 int shift, left, right; in fb_copy_rev() local
268 left = -shift & (BITS_PER_LONG-1); in fb_copy_rev()
277 if (src->bits > left) in fb_copy_rev()
333 d0 = fb_left(d1, left) | fb_right(d0, right); in fb_copy_rev()
[all …]
/drivers/misc/cb710/
A Dsgbuf2.c27 size_t len, left = 4; in sg_dwiter_read_buffer() local
32 len = min(miter->length - miter->consumed, left); in sg_dwiter_read_buffer()
35 left -= len; in sg_dwiter_read_buffer()
36 if (!left) in sg_dwiter_read_buffer()
41 memset(addr, 0, left); in sg_dwiter_read_buffer()
103 size_t len, left = 4; in sg_dwiter_write_slow() local
107 len = min(miter->length - miter->consumed, left); in sg_dwiter_write_slow()
110 left -= len; in sg_dwiter_write_slow()
111 if (!left) in sg_dwiter_write_slow()
/drivers/usb/core/
A Dport.c489 if (left->peer == right && right->peer == left) in link_peers()
497 if (left->location && left->location == right->location) in link_peers()
504 dev_name(&left->dev), in link_peers()
526 ss_port = left; in link_peers()
532 hs_port = left; in link_peers()
536 left->peer = right; in link_peers()
537 right->peer = left; in link_peers()
572 WARN(right->peer != left || left->peer != right, in unlink_peers()
582 ss_port = left; in unlink_peers()
586 hs_port = left; in unlink_peers()
[all …]
/drivers/media/platform/ti/omap/
A Domap_voutlib.c52 crop->left = ((pix->width - crop->width) >> 1) & ~1; in omap_vout_default_crop()
74 if (try_win.left < 0) { in omap_vout_try_window()
75 try_win.width += try_win.left; in omap_vout_try_window()
76 try_win.left = 0; in omap_vout_try_window()
86 if (try_win.left + try_win.width > fbuf->fmt.width) in omap_vout_try_window()
87 try_win.width = fbuf->fmt.width - try_win.left; in omap_vout_try_window()
180 if (try_crop.left < 0) { in omap_vout_new_crop()
181 try_crop.width += try_crop.left; in omap_vout_new_crop()
182 try_crop.left = 0; in omap_vout_new_crop()
192 if (try_crop.left + try_crop.width > pix->width) in omap_vout_new_crop()
[all …]
/drivers/video/fbdev/
A Darcfb.c257 xindex = left >> 6; in arcfb_lcd_update_page()
266 ks108_set_xaddr(par, chipindex, left); in arcfb_lcd_update_page()
270 while (left <= right) { in arcfb_lcd_update_page()
282 left++; in arcfb_lcd_update_page()
347 unsigned int left, right, distance, y; in arcfb_lcd_update() local
355 left = dx; in arcfb_lcd_update()
356 right = min(left + w - 1, ceil64(left)); in arcfb_lcd_update()
359 arcfb_lcd_update_horiz(par, left, right, y, h); in arcfb_lcd_update()
360 distance -= ((right - left) + 1); in arcfb_lcd_update()
361 left = right + 1; in arcfb_lcd_update()
[all …]
/drivers/staging/rtl8723bs/core/
A Drtw_ieee80211.c443 int left, count; in rtw_parse_wpa_ie() local
473 if (left >= 2) { in rtw_parse_wpa_ie()
477 left -= 2; in rtw_parse_wpa_ie()
493 if (left >= 6) { in rtw_parse_wpa_ie()
506 int left, count; in rtw_parse_wpa2_ie() local
533 if (left >= 2) { in rtw_parse_wpa2_ie()
537 left -= 2; in rtw_parse_wpa2_ie()
848 uint left = len; in rtw_ieee802_11_parse_elems() local
859 left -= 2; in rtw_ieee802_11_parse_elems()
960 left -= elen; in rtw_ieee802_11_parse_elems()
[all …]
/drivers/gpu/drm/qxl/
A Dqxl_draw.c96 drawable->self_bitmap_area.left = 0; in make_drawable()
142 int left, right, top, bottom; in qxl_draw_dirty_fb() local
164 left = clips->x1; in qxl_draw_dirty_fb()
172 left = min_t(int, left, (int)clips_ptr->x1); in qxl_draw_dirty_fb()
178 width = right - left; in qxl_draw_dirty_fb()
196 drawable_rect.left = left; in qxl_draw_dirty_fb()
212 left - dumb_shadow_offset, in qxl_draw_dirty_fb()
231 drawable->u.copy.src_area.left = 0; in qxl_draw_dirty_fb()
246 rects[i].left = clips_ptr->x1; in qxl_draw_dirty_fb()
/drivers/hid/
A Dhid-zpff.c30 int left, right; in zpff_play() local
38 left = effect->u.rumble.strong_magnitude; in zpff_play()
40 dbg_hid("called with 0x%04x 0x%04x\n", left, right); in zpff_play()
42 left = left * 0x7f / 0xffff; in zpff_play()
45 zpff->report->field[2]->value[0] = left; in zpff_play()
47 dbg_hid("running with 0x%02x 0x%02x\n", left, right); in zpff_play()
A Dhid-sjoy.c34 u32 left, right; in hid_sjoyff_play() local
36 left = effect->u.rumble.strong_magnitude; in hid_sjoyff_play()
38 dev_dbg(&dev->dev, "called with 0x%08x 0x%08x\n", left, right); in hid_sjoyff_play()
40 left = left * 0xff / 0xffff; in hid_sjoyff_play()
44 sjoyff->report->field[0]->value[2] = left; in hid_sjoyff_play()
45 dev_dbg(&dev->dev, "running with 0x%02x 0x%02x\n", left, right); in hid_sjoyff_play()
A Dhid-axff.c37 int left, right; in axff_play() local
40 left = effect->u.rumble.strong_magnitude; in axff_play()
43 dbg_hid("called with 0x%04x 0x%04x", left, right); in axff_play()
45 left = left * 0xff / 0xffff; in axff_play()
51 field_count % 2 ? right : left; in axff_play()
56 dbg_hid("running with 0x%02x 0x%02x", left, right); in axff_play()
A Dhid-gaff.c34 int left, right; in hid_gaff_play() local
36 left = effect->u.rumble.strong_magnitude; in hid_gaff_play()
39 dbg_hid("called with 0x%04x 0x%04x", left, right); in hid_gaff_play()
41 left = left * 0xfe / 0xffff; in hid_gaff_play()
48 gaff->report->field[0]->value[4] = left; in hid_gaff_play()
50 dbg_hid("running with 0x%02x 0x%02x", left, right); in hid_gaff_play()
A Dhid-lgff.c63 unsigned int left, right; in hid_lgff_play() local
83 left = effect->u.rumble.weak_magnitude; in hid_lgff_play()
85 left = left * 0xff / 0xffff; in hid_lgff_play()
86 CLAMP(left); in hid_lgff_play()
90 report->field[0]->value[2] = left; in hid_lgff_play()
92 dbg_hid("(left, right)=(%04x, %04x)\n", left, right); in hid_lgff_play()
A Dhid-pl.c52 int left, right; in hid_plff_play() local
54 left = effect->u.rumble.strong_magnitude; in hid_plff_play()
56 debug("called with 0x%04x 0x%04x", left, right); in hid_plff_play()
58 left = left * plff->maxval / 0xffff; in hid_plff_play()
61 *plff->strong = left; in hid_plff_play()
63 debug("running with 0x%02x 0x%02x", left, right); in hid_plff_play()
A Dhid-holtekff.c95 int left, right; in holtekff_play() local
100 left = effect->u.rumble.strong_magnitude; in holtekff_play()
102 dbg_hid("called with 0x%04x 0x%04x\n", left, right); in holtekff_play()
104 if (!left && !right) { in holtekff_play()
109 if (left) in holtekff_play()
115 buf[6] = min(0xf, (left >> 12) + (right >> 12)); in holtekff_play()
/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
A Dchcr_common.h61 int left = (void *)q->stat - pos; in chcr_copy_to_txd() local
64 if (likely(length <= left)) { in chcr_copy_to_txd()
68 memcpy(pos, src, left); in chcr_copy_to_txd()
69 memcpy(q->desc, src + left, length - left); in chcr_copy_to_txd()
70 pos = (void *)q->desc + (length - left); in chcr_copy_to_txd()
/drivers/media/platform/renesas/vsp1/
A Dvsp1_uif.c108 sel->r.left = 0; in uif_get_selection()
153 sel->r.left = clamp_t(unsigned int, sel->r.left, 0, format->width - 1); in uif_set_selection()
156 format->width - sel->r.left); in uif_set_selection()
198 unsigned int left; in uif_configure_stream() local
206 left = crop->left; in uif_configure_stream()
211 left /= 2; in uif_configure_stream()
215 vsp1_uif_write(uif, dlb, VI6_UIF_DISCOM_DOCMSPXR, left); in uif_configure_stream()
/drivers/input/mouse/
A Dvsxxxaa.c197 int left, middle, right; in vsxxxaa_handle_REL_packet() local
227 left = buf[0] & 0x04; in vsxxxaa_handle_REL_packet()
235 left ? "L" : "l", middle ? "M" : "m", right ? "R" : "r"); in vsxxxaa_handle_REL_packet()
240 input_report_key(dev, BTN_LEFT, left); in vsxxxaa_handle_REL_packet()
253 int left, middle, right, touch; in vsxxxaa_handle_ABS_packet() local
277 left = buf[0] & 0x02; in vsxxxaa_handle_ABS_packet()
286 left ? "L" : "l", middle ? "M" : "m", in vsxxxaa_handle_ABS_packet()
292 input_report_key(dev, BTN_LEFT, left); in vsxxxaa_handle_ABS_packet()
305 int left, middle, right; in vsxxxaa_handle_POR_packet() local
336 left = buf[0] & 0x04; in vsxxxaa_handle_POR_packet()
[all …]
/drivers/media/pci/saa7134/
A Dsaa7134-alsa.c456 if (left || right) { in snd_saa7134_capsrc_set()
933 int left, right; in snd_saa7134_volume_put() local
936 if (left < 0) in snd_saa7134_volume_put()
937 left = 0; in snd_saa7134_volume_put()
938 if (left > 20) in snd_saa7134_volume_put()
939 left = 20; in snd_saa7134_volume_put()
949 right = left; in snd_saa7134_volume_put()
953 left = right; in snd_saa7134_volume_put()
960 left = 20; in snd_saa7134_volume_put()
976 left = 20; in snd_saa7134_volume_put()
[all …]
/drivers/char/xilinx_hwicap/
A Dxilinx_hwicap.c443 ssize_t left = count; in hwicap_write() local
452 left += drvdata->write_buffer_in_use; in hwicap_write()
455 if (left < 4) { in hwicap_write()
466 while (left > 3) { in hwicap_write()
469 len = left; in hwicap_write()
508 left -= len; in hwicap_write()
510 if ((left > 0) && (left < 4)) { in hwicap_write()
512 buf + written, left)) { in hwicap_write()
513 drvdata->write_buffer_in_use = left; in hwicap_write()
514 written += left; in hwicap_write()
[all …]

Completed in 56 milliseconds

12345678910>>...18