Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\mpi\mpi-inline.h Create Date:2022-07-28 07:18:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mpihelp_sub_1

Proto:G10_MPI_INLINE_DECL mpi_limb_t mpihelp_sub_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size, mpi_limb_t s2_limb)

Type:mpi_limb_t

Parameter:

TypeParameterName
mpi_ptr_tres_ptr
mpi_ptr_ts1_ptr
mpi_size_ts1_size
mpi_limb_ts2_limb
72  x = s1_ptr++
73  s2_limb = x - s2_limb
74  res_ptr++ = s2_limb
75  If s2_limb > x Then
76  When --s1_size cycle
77  x = s1_ptr++
78  res_ptr++ = x - 1
79  If x Then Go to leave
82  Return 1
85  leave :
86  If res_ptr != s1_ptr Then
88  When i < s1_size - 1 cycle res_ptr[i] = s1_ptr[i]
91  Return 0