/kernel/linux/linux-5.10/arch/x86/crypto/ |
H A D | aesni-intel_glue.c | 695 unsigned long left = req->cryptlen; in gcmaes_crypt_by_sg() local 708 left -= auth_tag_len; in gcmaes_crypt_by_sg() 710 if (left < AVX_GEN4_OPTSIZE && gcm_tfm == &aesni_gcm_tfm_avx_gen4) in gcmaes_crypt_by_sg() 712 if (left < AVX_GEN2_OPTSIZE && gcm_tfm == &aesni_gcm_tfm_avx_gen2) in gcmaes_crypt_by_sg() 731 if (left) { in gcmaes_crypt_by_sg() 744 while (left) { in gcmaes_crypt_by_sg() 747 srclen = scatterwalk_clamp(&src_sg_walk, left); in gcmaes_crypt_by_sg() 748 dstlen = scatterwalk_clamp(&dst_sg_walk, left); in gcmaes_crypt_by_sg() 758 left -= len; in gcmaes_crypt_by_sg() 764 scatterwalk_done(&src_sg_walk, 0, left); in gcmaes_crypt_by_sg() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_txrx.c | 803 unsigned int left; in ionic_tx_tso() local 845 left = skb_headlen(skb); in ionic_tx_tso() 852 while (left > 0) { in ionic_tx_tso() 853 len = min(seglen, left); in ionic_tx_tso() 860 left -= len; in ionic_tx_tso() 864 done = (nfrags == 0 && left == 0); in ionic_tx_tso() 882 left = skb_frag_size(frag); in ionic_tx_tso() 883 len_left -= left; in ionic_tx_tso() 887 while (left > 0) { in ionic_tx_tso() 889 len = min(frag_left, left); in ionic_tx_tso() [all...] |
/kernel/linux/linux-5.10/fs/ntfs/ |
H A D | runlist.c | 199 * On error, return -errno. Both runlists are left unmodified. The following 256 * left end of the new runlist, if necessary. Adjust the size of the hole 266 * On error, return -errno. Both runlists are left unmodified. The following 274 bool left = false; /* Left end of @src needs merging. */ in ntfs_rl_insert() local 290 left = ntfs_are_rl_mergeable(dst + loc - 1, src); in ntfs_rl_insert() 293 if (left) in ntfs_rl_insert() 302 dst = ntfs_rl_realloc(dst, dsize, dsize + ssize - left + disc); in ntfs_rl_insert() 309 if (left) in ntfs_rl_insert() 314 * runs in @src. However, if @left, then the first run in @src has in ntfs_rl_insert() 318 marker = loc + ssize - left in ntfs_rl_insert() 371 bool left = false; /* Left end of @src needs merging. */ ntfs_rl_replace() local [all...] |
/kernel/linux/linux-6.6/fs/ntfs/ |
H A D | runlist.c | 199 * On error, return -errno. Both runlists are left unmodified. The following 256 * left end of the new runlist, if necessary. Adjust the size of the hole 266 * On error, return -errno. Both runlists are left unmodified. The following 274 bool left = false; /* Left end of @src needs merging. */ in ntfs_rl_insert() local 290 left = ntfs_are_rl_mergeable(dst + loc - 1, src); in ntfs_rl_insert() 293 if (left) in ntfs_rl_insert() 302 dst = ntfs_rl_realloc(dst, dsize, dsize + ssize - left + disc); in ntfs_rl_insert() 309 if (left) in ntfs_rl_insert() 314 * runs in @src. However, if @left, then the first run in @src has in ntfs_rl_insert() 318 marker = loc + ssize - left in ntfs_rl_insert() 371 bool left = false; /* Left end of @src needs merging. */ ntfs_rl_replace() local [all...] |
/kernel/linux/linux-5.10/sound/pci/cs46xx/ |
H A D | dsp_spos.h | 205 u16 left, u16 right) in cs46xx_dsp_scb_set_volume() 207 unsigned int val = ((0xffff - left) << 16 | (0xffff - right)); in cs46xx_dsp_scb_set_volume() 212 scb->volume[0] = left; in cs46xx_dsp_scb_set_volume() 203 cs46xx_dsp_scb_set_volume(struct snd_cs46xx * chip, struct dsp_scb_descriptor * scb, u16 left, u16 right) cs46xx_dsp_scb_set_volume() argument
|
/kernel/linux/linux-6.6/sound/pci/cs46xx/ |
H A D | dsp_spos.h | 205 u16 left, u16 right) in cs46xx_dsp_scb_set_volume() 207 unsigned int val = ((0xffff - left) << 16 | (0xffff - right)); in cs46xx_dsp_scb_set_volume() 212 scb->volume[0] = left; in cs46xx_dsp_scb_set_volume() 203 cs46xx_dsp_scb_set_volume(struct snd_cs46xx * chip, struct dsp_scb_descriptor * scb, u16 left, u16 right) cs46xx_dsp_scb_set_volume() argument
|
/kernel/linux/linux-5.10/drivers/usb/image/ |
H A D | mdc800.c | 150 int download_left; // Bytes left to download ? 683 size_t left=len, sts=len; /* single transfer size */ in mdc800_device_read() local 706 while (left) in mdc800_device_read() 714 sts=left > (mdc800->out_count-mdc800->out_ptr)?mdc800->out_count-mdc800->out_ptr:left; in mdc800_device_read() 732 return len-left; in mdc800_device_read() 745 return len-left; in mdc800_device_read() 764 left-=sts; in mdc800_device_read() 770 return len-left; in mdc800_device_read()
|
/kernel/linux/linux-6.6/drivers/usb/image/ |
H A D | mdc800.c | 150 int download_left; // Bytes left to download ? 683 size_t left=len, sts=len; /* single transfer size */ in mdc800_device_read() local 706 while (left) in mdc800_device_read() 714 sts=left > (mdc800->out_count-mdc800->out_ptr)?mdc800->out_count-mdc800->out_ptr:left; in mdc800_device_read() 732 return len-left; in mdc800_device_read() 745 return len-left; in mdc800_device_read() 764 left-=sts; in mdc800_device_read() 770 return len-left; in mdc800_device_read()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_buddy.c | 212 block->left = drm_block_alloc(mm, block, block_order, offset); in split_block() 213 if (!block->left) in split_block() 219 drm_block_free(mm, block->left); in split_block() 223 mark_free(mm, block->left); in split_block() 240 if (parent->left == block) in __get_buddy() 243 return parent->left; in __get_buddy() 398 list_add(&block->left->tmp_link, &dfs); in alloc_range_bias() 545 list_add(&block->left->tmp_link, dfs); in __alloc_range()
|
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-c2c.c | 491 struct hist_entry *left, struct hist_entry *right) in dcacheline_cmp() 493 return sort__dcacheline_cmp(left, right); in dcacheline_cmp() 549 struct hist_entry *left, struct hist_entry *right) in offset_cmp() 553 if (left->mem_info) in offset_cmp() 554 l = cl_offset(left->mem_info->daddr.addr); in offset_cmp() 577 struct hist_entry *left, struct hist_entry *right) in iaddr_cmp() 579 return sort__iaddr_cmp(left, right); in iaddr_cmp() 598 struct hist_entry *left, struct hist_entry *right) in tot_hitm_cmp() 605 c2c_left = container_of(left, struct c2c_hist_entry, he); in tot_hitm_cmp() 630 struct hist_entry *left, struc 490 dcacheline_cmp(struct perf_hpp_fmt *fmt __maybe_unused, struct hist_entry *left, struct hist_entry *right) dcacheline_cmp() argument 548 offset_cmp(struct perf_hpp_fmt *fmt __maybe_unused, struct hist_entry *left, struct hist_entry *right) offset_cmp() argument 576 iaddr_cmp(struct perf_hpp_fmt *fmt __maybe_unused, struct hist_entry *left, struct hist_entry *right) iaddr_cmp() argument 597 tot_hitm_cmp(struct perf_hpp_fmt *fmt __maybe_unused, struct hist_entry *left, struct hist_entry *right) tot_hitm_cmp() argument 693 tot_recs_cmp(struct perf_hpp_fmt *fmt __maybe_unused, struct hist_entry *left, struct hist_entry *right) tot_recs_cmp() argument 744 tot_loads_cmp(struct perf_hpp_fmt *fmt __maybe_unused, struct hist_entry *left, struct hist_entry *right) tot_loads_cmp() argument 842 percent_hitm_cmp(struct perf_hpp_fmt *fmt __maybe_unused, struct hist_entry *left, struct hist_entry *right) percent_hitm_cmp() argument 915 percent_rmt_hitm_cmp(struct perf_hpp_fmt *fmt __maybe_unused, struct hist_entry *left, struct hist_entry *right) percent_rmt_hitm_cmp() argument 946 percent_lcl_hitm_cmp(struct perf_hpp_fmt *fmt __maybe_unused, struct hist_entry *left, struct hist_entry *right) percent_lcl_hitm_cmp() argument 977 percent_stores_l1hit_cmp(struct perf_hpp_fmt *fmt __maybe_unused, struct hist_entry *left, struct hist_entry *right) percent_stores_l1hit_cmp() argument 1008 percent_stores_l1miss_cmp(struct perf_hpp_fmt *fmt __maybe_unused, struct hist_entry *left, struct hist_entry *right) percent_stores_l1miss_cmp() argument 1033 pid_cmp(struct perf_hpp_fmt *fmt __maybe_unused, struct hist_entry *left, struct hist_entry *right) pid_cmp() argument [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | amifb.c | 120 | left # | # right | hsync | 171 (0, 0) is somewhere in the upper-left corner :-) 203 (0, 0) is somewhere in the upper-left corner :-) 223 panning needs an extra 64 pixels on the left to prefetch the pixels that 224 `fall off' on the left. 288 xres yres left right upper lower hsync vsync 299 xres yres left right upper lower hsync vsync 349 - the left visible part begins at 360 (SHRES; HIRES:180, LORES:90), 2606 int shift = dst_idx - src_idx, left, right; in bitcpy() local 2659 left in bitcpy() 2746 int shift = dst_idx - src_idx, left, right; bitcpy_rev() local 2898 int shift = dst_idx - src_idx, left, right; bitcpy_not() local [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/ |
H A D | amifb.c | 120 | left # | # right | hsync | 171 (0, 0) is somewhere in the upper-left corner :-) 203 (0, 0) is somewhere in the upper-left corner :-) 223 panning needs an extra 64 pixels on the left to prefetch the pixels that 224 `fall off' on the left. 288 xres yres left right upper lower hsync vsync 299 xres yres left right upper lower hsync vsync 349 - the left visible part begins at 360 (SHRES; HIRES:180, LORES:90), 2595 int shift = dst_idx - src_idx, left, right; in bitcpy() local 2648 left in bitcpy() 2735 int shift = dst_idx - src_idx, left, right; bitcpy_rev() local 2887 int shift = dst_idx - src_idx, left, right; bitcpy_not() local [all...] |
/kernel/linux/linux-5.10/arch/parisc/math-emu/ |
H A D | dbl_float.h | 386 /* The left argument is never smaller than the right argument */ 392 /* Subtract right augmented with extension from left augmented with zeros and 408 #define Dbl_xortointp1(left,right,result) \ 409 result = Dallp1(left) XOR Dallp1(right) 411 #define Dbl_xorfromintp1(left,right,result) \ 412 Dallp1(result) = left XOR Dallp1(right) 414 #define Dbl_swap_lower(left,right) \ 415 Dallp2(left) = Dallp2(left) XOR Dallp2(right); \ 416 Dallp2(right) = Dallp2(left) XO [all...] |
/kernel/linux/linux-6.6/arch/parisc/math-emu/ |
H A D | dbl_float.h | 386 /* The left argument is never smaller than the right argument */ 392 /* Subtract right augmented with extension from left augmented with zeros and 408 #define Dbl_xortointp1(left,right,result) \ 409 result = Dallp1(left) XOR Dallp1(right) 411 #define Dbl_xorfromintp1(left,right,result) \ 412 Dallp1(result) = left XOR Dallp1(right) 414 #define Dbl_swap_lower(left,right) \ 415 Dallp2(left) = Dallp2(left) XOR Dallp2(right); \ 416 Dallp2(right) = Dallp2(left) XO [all...] |
/kernel/linux/linux-5.10/sound/isa/opti9xx/ |
H A D | miro.c | 478 int left, right, left_old, right_old; in snd_miro_put_double() local 482 left = ucontrol->value.integer.value[0]; in snd_miro_put_double() 509 if (left < -0x7f || left > 0x7f || in snd_miro_put_double() 518 if (left >= 0) { in snd_miro_put_double() 519 error = aci_setvalue(aci, setreg_left, left); in snd_miro_put_double() 522 left, error); in snd_miro_put_double() 526 error = aci_setvalue(aci, setreg_left, 0x80 - left); in snd_miro_put_double() 529 0x80 - left, error); in snd_miro_put_double() 554 if (left < in snd_miro_put_double() [all...] |
/kernel/linux/linux-6.6/arch/x86/events/amd/ |
H A D | ibs.c | 103 s64 left = local64_read(&hwc->period_left); in perf_event_set_period() local 110 if (unlikely(left <= -period)) { in perf_event_set_period() 111 left = period; in perf_event_set_period() 112 local64_set(&hwc->period_left, left); in perf_event_set_period() 117 if (unlikely(left < (s64)min)) { in perf_event_set_period() 118 left += period; in perf_event_set_period() 119 local64_set(&hwc->period_left, left); in perf_event_set_period() 130 if (left > max) { in perf_event_set_period() 131 left -= max; in perf_event_set_period() 132 if (left > ma in perf_event_set_period() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_stdu.c | 57 * @left: Left side of bounding box. 69 s32 left, right, top, bottom; member 254 * @left: Left side of bounding box. 260 s32 left, s32 right, s32 top, s32 bottom) in vmw_stdu_populate_update() 268 update->body.rect.x = left; in vmw_stdu_populate_update() 270 update->body.rect.w = right - left; in vmw_stdu_populate_update() 462 ddirty->left = min_t(s32, ddirty->left, dirty->unit_x1); in vmw_stdu_bo_cpu_clip() 468 * Calculate content bounding box. We only need the top-left in vmw_stdu_bo_cpu_clip() 500 width = ddirty->right - ddirty->left; in vmw_stdu_bo_cpu_commit() 259 vmw_stdu_populate_update(void *cmd, int unit, s32 left, s32 right, s32 top, s32 bottom) vmw_stdu_populate_update() argument [all...] |
/kernel/linux/linux-6.6/sound/isa/opti9xx/ |
H A D | miro.c | 475 int left, right, left_old, right_old; in snd_miro_put_double() local 479 left = ucontrol->value.integer.value[0]; in snd_miro_put_double() 506 if (left < -0x7f || left > 0x7f || in snd_miro_put_double() 515 if (left >= 0) { in snd_miro_put_double() 516 error = aci_setvalue(aci, setreg_left, left); in snd_miro_put_double() 519 left, error); in snd_miro_put_double() 523 error = aci_setvalue(aci, setreg_left, 0x80 - left); in snd_miro_put_double() 526 0x80 - left, error); in snd_miro_put_double() 551 if (left < in snd_miro_put_double() [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/cx88/ |
H A D | cx88-alsa.c | 650 u16 left = value->value.integer.value[0]; in snd_cx88_wm8775_volume_put() local 655 if (left >= right) { in snd_cx88_wm8775_volume_put() 656 v = left << 10; in snd_cx88_wm8775_volume_put() 657 b = left ? (0x8000 * right) / left : 0x8000; in snd_cx88_wm8775_volume_put() 660 b = right ? 0xffff - (0x8000 * left) / right : 0x8000; in snd_cx88_wm8775_volume_put() 672 int left, right, v, b; in snd_cx88_volume_put() local 679 left = value->value.integer.value[0] & 0x3f; in snd_cx88_volume_put() 681 b = right - left; in snd_cx88_volume_put() 683 v = 0x3f - left; in snd_cx88_volume_put() [all...] |
/kernel/linux/linux-5.10/sound/parisc/ |
H A D | harmony.c | 689 int left, right; in snd_harmony_volume_get() local 693 left = (h->st.gain >> shift_left) & mask; in snd_harmony_volume_get() 696 left = mask - left; in snd_harmony_volume_get() 700 ucontrol->value.integer.value[0] = left; in snd_harmony_volume_get() 718 int left, right; in snd_harmony_volume_put() local 723 left = ucontrol->value.integer.value[0] & mask; in snd_harmony_volume_put() 725 left = mask - left; in snd_harmony_volume_put() 727 h->st.gain |= (left << shift_lef in snd_harmony_volume_put() [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/cx88/ |
H A D | cx88-alsa.c | 649 u16 left = value->value.integer.value[0]; in snd_cx88_wm8775_volume_put() local 654 if (left >= right) { in snd_cx88_wm8775_volume_put() 655 v = left << 10; in snd_cx88_wm8775_volume_put() 656 b = left ? (0x8000 * right) / left : 0x8000; in snd_cx88_wm8775_volume_put() 659 b = right ? 0xffff - (0x8000 * left) / right : 0x8000; in snd_cx88_wm8775_volume_put() 671 int left, right, v, b; in snd_cx88_volume_put() local 678 left = value->value.integer.value[0] & 0x3f; in snd_cx88_volume_put() 680 b = right - left; in snd_cx88_volume_put() 682 v = 0x3f - left; in snd_cx88_volume_put() [all...] |
/kernel/linux/linux-6.6/sound/parisc/ |
H A D | harmony.c | 675 int left, right; in snd_harmony_volume_get() local 679 left = (h->st.gain >> shift_left) & mask; in snd_harmony_volume_get() 682 left = mask - left; in snd_harmony_volume_get() 686 ucontrol->value.integer.value[0] = left; in snd_harmony_volume_get() 704 int left, right; in snd_harmony_volume_put() local 709 left = ucontrol->value.integer.value[0] & mask; in snd_harmony_volume_put() 711 left = mask - left; in snd_harmony_volume_put() 713 h->st.gain |= (left << shift_lef in snd_harmony_volume_put() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/sti/delta/ |
H A D | delta-debug.c | 26 s->crop.left, s->crop.top, in delta_streaminfo_str() 47 f->crop.left, f->crop.top, in delta_frameinfo_str()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | block-info.h | 65 int64_t __block_info__cmp(struct hist_entry *left, struct hist_entry *right); 68 struct hist_entry *left, struct hist_entry *right);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | instrumented.h | 138 * @left: number of bytes not copied (as returned by copy_from_user) 145 unsigned long n, unsigned long left) in instrument_copy_from_user_after() 147 kmsan_unpoison_memory(to, n - left); in instrument_copy_from_user_after() 144 instrument_copy_from_user_after(const void *to, const void __user *from, unsigned long n, unsigned long left) instrument_copy_from_user_after() argument
|