亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? bitops.h

?? u-boot-1.1.6 源碼包
?? H
字號:
#ifndef _I386_BITOPS_H#define _I386_BITOPS_H/* * Copyright 1992, Linus Torvalds. *//* * These have to be done with inline assembly: that way the bit-setting * is guaranteed to be atomic. All bit operations return 0 if the bit * was cleared before the operation and != 0 if it was not. * * bit 0 is the LSB of addr; bit 32 is the LSB of (addr+1). */#ifdef CONFIG_SMP#define LOCK_PREFIX "lock ; "#else#define LOCK_PREFIX ""#endif#define ADDR (*(volatile long *) addr)/** * set_bit - Atomically set a bit in memory * @nr: the bit to set * @addr: the address to start counting from * * This function is atomic and may not be reordered.  See __set_bit() * if you do not require the atomic guarantees. * Note that @nr may be almost arbitrarily large; this function is not * restricted to acting on a single-word quantity. */static __inline__ void set_bit(int nr, volatile void * addr){	__asm__ __volatile__( LOCK_PREFIX		"btsl %1,%0"		:"=m" (ADDR)		:"Ir" (nr));}/** * __set_bit - Set a bit in memory * @nr: the bit to set * @addr: the address to start counting from * * Unlike set_bit(), this function is non-atomic and may be reordered. * If it's called on the same region of memory simultaneously, the effect * may be that only one operation succeeds. */static __inline__ void __set_bit(int nr, volatile void * addr){	__asm__(		"btsl %1,%0"		:"=m" (ADDR)		:"Ir" (nr));}/** * clear_bit - Clears a bit in memory * @nr: Bit to clear * @addr: Address to start counting from * * clear_bit() is atomic and may not be reordered.  However, it does * not contain a memory barrier, so if it is used for locking purposes, * you should call smp_mb__before_clear_bit() and/or smp_mb__after_clear_bit() * in order to ensure changes are visible on other processors. */static __inline__ void clear_bit(int nr, volatile void * addr){	__asm__ __volatile__( LOCK_PREFIX		"btrl %1,%0"		:"=m" (ADDR)		:"Ir" (nr));}#define smp_mb__before_clear_bit()	barrier()#define smp_mb__after_clear_bit()	barrier()/** * __change_bit - Toggle a bit in memory * @nr: the bit to set * @addr: the address to start counting from * * Unlike change_bit(), this function is non-atomic and may be reordered. * If it's called on the same region of memory simultaneously, the effect * may be that only one operation succeeds. */static __inline__ void __change_bit(int nr, volatile void * addr){	__asm__ __volatile__(		"btcl %1,%0"		:"=m" (ADDR)		:"Ir" (nr));}/** * change_bit - Toggle a bit in memory * @nr: Bit to clear * @addr: Address to start counting from * * change_bit() is atomic and may not be reordered. * Note that @nr may be almost arbitrarily large; this function is not * restricted to acting on a single-word quantity. */static __inline__ void change_bit(int nr, volatile void * addr){	__asm__ __volatile__( LOCK_PREFIX		"btcl %1,%0"		:"=m" (ADDR)		:"Ir" (nr));}/** * test_and_set_bit - Set a bit and return its old value * @nr: Bit to set * @addr: Address to count from * * This operation is atomic and cannot be reordered. * It also implies a memory barrier. */static __inline__ int test_and_set_bit(int nr, volatile void * addr){	int oldbit;	__asm__ __volatile__( LOCK_PREFIX		"btsl %2,%1\n\tsbbl %0,%0"		:"=r" (oldbit),"=m" (ADDR)		:"Ir" (nr) : "memory");	return oldbit;}/** * __test_and_set_bit - Set a bit and return its old value * @nr: Bit to set * @addr: Address to count from * * This operation is non-atomic and can be reordered. * If two examples of this operation race, one can appear to succeed * but actually fail.  You must protect multiple accesses with a lock. */static __inline__ int __test_and_set_bit(int nr, volatile void * addr){	int oldbit;	__asm__(		"btsl %2,%1\n\tsbbl %0,%0"		:"=r" (oldbit),"=m" (ADDR)		:"Ir" (nr));	return oldbit;}/** * test_and_clear_bit - Clear a bit and return its old value * @nr: Bit to set * @addr: Address to count from * * This operation is atomic and cannot be reordered. * It also implies a memory barrier. */static __inline__ int test_and_clear_bit(int nr, volatile void * addr){	int oldbit;	__asm__ __volatile__( LOCK_PREFIX		"btrl %2,%1\n\tsbbl %0,%0"		:"=r" (oldbit),"=m" (ADDR)		:"Ir" (nr) : "memory");	return oldbit;}/** * __test_and_clear_bit - Clear a bit and return its old value * @nr: Bit to set * @addr: Address to count from * * This operation is non-atomic and can be reordered. * If two examples of this operation race, one can appear to succeed * but actually fail.  You must protect multiple accesses with a lock. */static __inline__ int __test_and_clear_bit(int nr, volatile void * addr){	int oldbit;	__asm__(		"btrl %2,%1\n\tsbbl %0,%0"		:"=r" (oldbit),"=m" (ADDR)		:"Ir" (nr));	return oldbit;}/* WARNING: non atomic and it can be reordered! */static __inline__ int __test_and_change_bit(int nr, volatile void * addr){	int oldbit;	__asm__ __volatile__(		"btcl %2,%1\n\tsbbl %0,%0"		:"=r" (oldbit),"=m" (ADDR)		:"Ir" (nr) : "memory");	return oldbit;}/** * test_and_change_bit - Change a bit and return its new value * @nr: Bit to set * @addr: Address to count from * * This operation is atomic and cannot be reordered. * It also implies a memory barrier. */static __inline__ int test_and_change_bit(int nr, volatile void * addr){	int oldbit;	__asm__ __volatile__( LOCK_PREFIX		"btcl %2,%1\n\tsbbl %0,%0"		:"=r" (oldbit),"=m" (ADDR)		:"Ir" (nr) : "memory");	return oldbit;}#if 0 /* Fool kernel-doc since it doesn't do macros yet *//** * test_bit - Determine whether a bit is set * @nr: bit number to test * @addr: Address to start counting from */static int test_bit(int nr, const volatile void * addr);#endifstatic __inline__ int constant_test_bit(int nr, const volatile void * addr){	return ((1UL << (nr & 31)) & (((const volatile unsigned int *) addr)[nr >> 5])) != 0;}static __inline__ int variable_test_bit(int nr, volatile void * addr){	int oldbit;	__asm__ __volatile__(		"btl %2,%1\n\tsbbl %0,%0"		:"=r" (oldbit)		:"m" (ADDR),"Ir" (nr));	return oldbit;}#define test_bit(nr,addr) \(__builtin_constant_p(nr) ? \ constant_test_bit((nr),(addr)) : \ variable_test_bit((nr),(addr)))/** * find_first_zero_bit - find the first zero bit in a memory region * @addr: The address to start the search at * @size: The maximum size to search * * Returns the bit-number of the first zero bit, not the number of the byte * containing a bit. */static __inline__ int find_first_zero_bit(void * addr, unsigned size){	int d0, d1, d2;	int res;	if (!size)		return 0;	/* This looks at memory. Mark it volatile to tell gcc not to move it around */	__asm__ __volatile__(		"movl $-1,%%eax\n\t"		"xorl %%edx,%%edx\n\t"		"repe; scasl\n\t"		"je 1f\n\t"		"xorl -4(%%edi),%%eax\n\t"		"subl $4,%%edi\n\t"		"bsfl %%eax,%%edx\n"		"1:\tsubl %%ebx,%%edi\n\t"		"shll $3,%%edi\n\t"		"addl %%edi,%%edx"		:"=d" (res), "=&c" (d0), "=&D" (d1), "=&a" (d2)		:"1" ((size + 31) >> 5), "2" (addr), "b" (addr));	return res;}/** * find_next_zero_bit - find the first zero bit in a memory region * @addr: The address to base the search on * @offset: The bitnumber to start searching at * @size: The maximum size to search */static __inline__ int find_next_zero_bit (void * addr, int size, int offset){	unsigned long * p = ((unsigned long *) addr) + (offset >> 5);	int set = 0, bit = offset & 31, res;	if (bit) {		/*		 * Look for zero in first byte		 */		__asm__("bsfl %1,%0\n\t"			"jne 1f\n\t"			"movl $32, %0\n"			"1:"			: "=r" (set)			: "r" (~(*p >> bit)));		if (set < (32 - bit))			return set + offset;		set = 32 - bit;		p++;	}	/*	 * No zero yet, search remaining full bytes for a zero	 */	res = find_first_zero_bit (p, size - 32 * (p - (unsigned long *) addr));	return (offset + set + res);}/** * ffz - find first zero in word. * @word: The word to search * * Undefined if no zero exists, so code should check against ~0UL first. */static __inline__ unsigned long ffz(unsigned long word){	__asm__("bsfl %1,%0"		:"=r" (word)		:"r" (~word));	return word;}#ifdef __KERNEL__/** * ffs - find first bit set * @x: the word to search * * This is defined the same way as * the libc and compiler builtin ffs routines, therefore * differs in spirit from the above ffz (man ffs). */static __inline__ int ffs(int x){	int r;	__asm__("bsfl %1,%0\n\t"		"jnz 1f\n\t"		"movl $-1,%0\n"		"1:" : "=r" (r) : "g" (x));	return r+1;}/** * hweightN - returns the hamming weight of a N-bit word * @x: the word to weigh * * The Hamming Weight of a number is the total number of bits set in it. */#define hweight32(x) generic_hweight32(x)#define hweight16(x) generic_hweight16(x)#define hweight8(x) generic_hweight8(x)#endif /* __KERNEL__ */#ifdef __KERNEL__#define ext2_set_bit                 __test_and_set_bit#define ext2_clear_bit               __test_and_clear_bit#define ext2_test_bit                test_bit#define ext2_find_first_zero_bit     find_first_zero_bit#define ext2_find_next_zero_bit      find_next_zero_bit/* Bitmap functions for the minix filesystem.  */#define minix_test_and_set_bit(nr,addr) __test_and_set_bit(nr,addr)#define minix_set_bit(nr,addr) __set_bit(nr,addr)#define minix_test_and_clear_bit(nr,addr) __test_and_clear_bit(nr,addr)#define minix_test_bit(nr,addr) test_bit(nr,addr)#define minix_find_first_zero_bit(addr,size) find_first_zero_bit(addr,size)#endif /* __KERNEL__ */#endif /* _I386_BITOPS_H */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人欧美一区二区三区黑人麻豆 | 欧美精品视频www在线观看 | 亚洲精品一区二区三区在线观看| 三级在线观看一区二区| 3d动漫精品啪啪一区二区竹菊| 亚洲成年人网站在线观看| 欧美精品电影在线播放| 美女看a上一区| 国产午夜亚洲精品午夜鲁丝片| 国产综合色精品一区二区三区| 久久久精品免费观看| 懂色中文一区二区在线播放| 中文字幕在线观看一区| 欧美性xxxxx极品少妇| 蜜桃av噜噜一区二区三区小说| 2020国产精品久久精品美国| 国产91精品久久久久久久网曝门| 亚洲日本电影在线| 欧美日本在线看| 国产精品1区2区3区| 亚洲视频一二三| 欧美一区二区美女| 成人妖精视频yjsp地址| 91在线精品一区二区| 亚洲一区二区av在线| 精品日韩99亚洲| 不卡av免费在线观看| 首页国产欧美日韩丝袜| 久久久久国产成人精品亚洲午夜 | 一本到不卡精品视频在线观看| 午夜精品久久久久久久久久| 精品国产一区二区三区忘忧草| 91一区二区三区在线播放| 日本三级韩国三级欧美三级| 国产精品人人做人人爽人人添| 欧美日韩精品是欧美日韩精品| 国产福利不卡视频| 肉色丝袜一区二区| 中文字幕综合网| 久久综合色播五月| 欧美日韩一区国产| av网站一区二区三区| 另类小说综合欧美亚洲| 亚洲免费高清视频在线| 国产亚洲一区二区三区在线观看| 欧美日韩中文一区| av资源站一区| 国产乱人伦偷精品视频免下载| 亚洲国产综合视频在线观看| 国产精品久久久久久久久晋中| 91精品国产91久久久久久最新毛片| 99麻豆久久久国产精品免费优播| 美腿丝袜亚洲色图| 亚洲gay无套男同| 亚洲欧美视频一区| 国产精品久久久久aaaa樱花| 欧美精品一区二区三区高清aⅴ| 欧美日韩精品综合在线| 91麻豆文化传媒在线观看| 国产精品白丝jk黑袜喷水| 免费一级片91| 日韩精品电影一区亚洲| 一区二区日韩av| 亚洲三级在线免费| 国产精品久久久久久久久免费桃花 | 欧美本精品男人aⅴ天堂| 欧美日韩国产综合一区二区三区| 色综合久久天天| 91一区二区在线观看| 成人国产在线观看| 成人久久视频在线观看| 国产美女娇喘av呻吟久久| 蜜臀a∨国产成人精品| 日韩av二区在线播放| 日韩二区在线观看| 日韩av电影天堂| 蜜桃久久精品一区二区| 日本亚洲三级在线| 捆绑调教一区二区三区| 免费看日韩精品| 久久99久久久久久久久久久| 蜜桃一区二区三区四区| 裸体一区二区三区| 激情深爱一区二区| 国产激情一区二区三区桃花岛亚洲| 国产一区二区女| 成人av在线播放网址| av综合在线播放| 欧美伊人精品成人久久综合97| 欧美图区在线视频| 日韩亚洲欧美成人一区| 精品国产露脸精彩对白| 国产片一区二区三区| 国产精品成人网| 一区二区高清在线| 人人精品人人爱| 国产成人一区在线| 色综合久久综合网97色综合 | 国产精品一区二区三区乱码| 国产成人av资源| 91丨国产丨九色丨pron| 欧美日韩免费一区二区三区 | 欧美视频你懂的| 日韩一区二区三区在线视频| 久久精品无码一区二区三区 | 亚洲亚洲精品在线观看| 日韩福利视频导航| 国产大陆精品国产| 在线视频一区二区三| 日韩欧美中文字幕制服| 欧美高清在线视频| 亚洲18影院在线观看| 国产精品一区二区三区99 | 色av成人天堂桃色av| 欧美一区二区三区思思人| 国产日韩精品一区二区浪潮av | 奇米影视一区二区三区小说| 国产精品一区二区在线播放| 色婷婷综合激情| 26uuu精品一区二区三区四区在线| 综合久久国产九一剧情麻豆| 日本最新不卡在线| 91网站在线播放| 精品蜜桃在线看| 一区二区三区免费在线观看| 久久激五月天综合精品| 色综合久久久久综合| 欧美精品一区二区三区一线天视频 | 国产亚洲一区字幕| 五月天国产精品| 精品99999| 婷婷六月综合网| a亚洲天堂av| 精品1区2区在线观看| 亚洲成人免费视频| 91在线视频在线| 久久精品人人做人人爽97| 天天亚洲美女在线视频| 99久久精品一区二区| 2017欧美狠狠色| 日韩av电影一区| 欧美日韩午夜在线视频| 成人免费一区二区三区视频| 精品一区二区三区免费毛片爱| 欧美日韩国产免费一区二区 | 国产精品18久久久久久久久| 9191成人精品久久| 一级中文字幕一区二区| av一区二区三区在线| 久久久久久久久久久黄色| 免费观看91视频大全| 3d成人h动漫网站入口| 亚洲观看高清完整版在线观看| 99精品视频免费在线观看| 久久精品一级爱片| 国产精品一区二区你懂的| 欧美成人精品福利| 老司机精品视频线观看86 | 久久99精品视频| 日韩欧美一区中文| 青娱乐精品在线视频| 亚洲精品一区二区三区四区高清| 日日夜夜免费精品| 在线播放91灌醉迷j高跟美女| 亚洲午夜精品网| 欧美日韩在线播| 亚洲国产中文字幕| 欧美人妖巨大在线| 日韩精品欧美成人高清一区二区| 在线成人高清不卡| 青青草伊人久久| 精品福利一区二区三区免费视频| 精品一区二区三区在线播放视频| 精品国产乱码久久久久久免费| 韩国精品主播一区二区在线观看 | 婷婷一区二区三区| 欧美一区二区三区免费大片| 免费观看日韩av| 精品处破学生在线二十三| 国产久卡久卡久卡久卡视频精品| 精品国产区一区| 成人手机电影网| 亚洲狠狠丁香婷婷综合久久久| 一本色道久久加勒比精品| 亚洲一区视频在线观看视频| 欧美日韩另类国产亚洲欧美一级| 日韩影院精彩在线| 久久精品亚洲国产奇米99| 成人午夜在线免费| 亚洲激情校园春色| 欧美一区二区三区视频免费播放| 美女一区二区视频| 亚洲国产精品高清| 91高清视频在线| 美女视频网站黄色亚洲| 欧美激情中文不卡| 色播五月激情综合网| 欧美96一区二区免费视频| 国产人伦精品一区二区| 欧洲精品视频在线观看|