p!ranha?
Server IP : 103.169.32.36  /  Your IP : 216.73.217.13
Web Server : Apache
System : Linux web.dpmptsp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/modules/3.10.0-1160.119.1.el7.x86_64/build/include/asm-generic/bitops/

Upload File :
Curr3nt_D!r [ Writeable ] D0cum3nt_r0Ot [ Writeable ]

 
Command :
Current File : /usr/lib/modules/3.10.0-1160.119.1.el7.x86_64/build/include/asm-generic/bitops/fls64.h
#ifndef _ASM_GENERIC_BITOPS_FLS64_H_
#define _ASM_GENERIC_BITOPS_FLS64_H_

#include <asm/types.h>

/**
 * fls64 - find last set bit in a 64-bit word
 * @x: the word to search
 *
 * This is defined in a similar way as the libc and compiler builtin
 * ffsll, but returns the position of the most significant set bit.
 *
 * fls64(value) returns 0 if value is 0 or the position of the last
 * set bit if value is nonzero. The last (most significant) bit is
 * at position 64.
 */
#if BITS_PER_LONG == 32
static __always_inline int fls64(__u64 x)
{
	__u32 h = x >> 32;
	if (h)
		return fls(h) + 32;
	return fls(x);
}
#elif BITS_PER_LONG == 64
static __always_inline int fls64(__u64 x)
{
	if (x == 0)
		return 0;
	return __fls(x) + 1;
}
#else
#error BITS_PER_LONG not 32 or 64
#endif

#endif /* _ASM_GENERIC_BITOPS_FLS64_H_ */
N4m3
5!z3
L45t M0d!f!3d
0wn3r / Gr0up
P3Rm!55!0n5
0pt!0n5
..
--
September 29 2025 07:01:10
0 / 0
0755
__ffs.h
0.721 KB
November 06 2023 09:15:52
0 / 0
0644
__fls.h
0.86 KB
November 06 2023 09:15:52
0 / 0
0644
arch_hweight.h
0.504 KB
November 06 2023 09:15:52
0 / 0
0644
atomic.h
5.464 KB
November 06 2023 09:15:52
0 / 0
0644
builtin-__ffs.h
0.332 KB
November 06 2023 09:15:52
0 / 0
0644
builtin-__fls.h
0.388 KB
November 06 2023 09:15:52
0 / 0
0644
builtin-ffs.h
0.362 KB
November 06 2023 09:15:52
0 / 0
0644
builtin-fls.h
0.355 KB
November 06 2023 09:15:52
0 / 0
0644
const_hweight.h
1.633 KB
November 06 2023 09:15:52
0 / 0
0644
count_zeros.h
1.639 KB
November 06 2023 09:15:52
0 / 0
0644
ext2-atomic-setbit.h
0.355 KB
November 06 2023 09:15:52
0 / 0
0644
ext2-atomic.h
0.548 KB
November 06 2023 09:15:52
0 / 0
0644
ffs.h
0.601 KB
November 06 2023 09:15:52
0 / 0
0644
ffz.h
0.279 KB
November 06 2023 09:15:52
0 / 0
0644
find.h
1.634 KB
November 06 2023 09:15:52
0 / 0
0644
fls.h
0.62 KB
November 06 2023 09:15:52
0 / 0
0644
fls64.h
0.802 KB
November 06 2023 09:15:52
0 / 0
0644
hweight.h
0.21 KB
November 06 2023 09:15:52
0 / 0
0644
le.h
2.148 KB
November 06 2023 09:15:52
0 / 0
0644
lock.h
1.318 KB
November 06 2023 09:15:52
0 / 0
0644
non-atomic.h
2.96 KB
November 06 2023 09:15:52
0 / 0
0644
sched.h
0.704 KB
November 06 2023 09:15:52
0 / 0
0644