Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

dz̸linuxÄÚºËÖеÄlist.h[2]

Á´±íµÄɾ³ý
83/*
84 * Delete a list entry by making the prev/next entries
85 * point to each other.
86 *
87 * This is only for internal list manipulation where we know
88 * the prev/next entries already!
89 */
90static inline void __list_del(struct list_head * prev, struct list_head * next)
91{
92 next->prev = prev;
93 prev->next = next;
94}
¸Ãº¯Êýͨ¹ýÉèÖÃprevºÍnextÖ¸ÕëÖ¸Ïò±Ë´Ë£¬ÊµÏÖÁËɾ³ý¶þÕßÖ®¼ä½ÚµãµÄ¹¦ÄÜ¡£µ«ÊÇÕâÀïÎÒÓиöÒÉ»ó£¬É¾³ýµÄÖ¸ÕëµÄÊÍ·ÅÔÚÄÄÀïʵÏÖ¡£
96/**
97 * list_del - deletes entry from list.
98 * @entry: the element to delete from the list.
99 * Note: list_empty() on entry does not return true after this, the entry is
100 * in an undefined state.
101 */
102#ifndef CONFIG_DEBUG_LIST
103static inline void list_del(struct list_head *entry)
104{
105 __list_del(entry->prev, entry->next);
106 entry->next = LIST_POISON1;
107 entry->prev = LIST_POISON2;
108}
109#else
110extern void list_del(struct list_head *entry);
111#endif
¸Ãº¯Êýͨ¹ýµ÷ÓÃÉÏÃæµÄÄÚÁªº¯ÊýʵÏÖ½ÚµãµÄɾ³ý£¬ÕâÀïµÄLIST_POISON1ºÍLIST_POISON2ÊÇÔÚlinux/poison.h¶¨ÒåµÄ¡£´Ë´¦ÈÔÈ»ÊÇÌõ¼þ±àÒë¡£
 
 
Á´±í½ÚµãµÄÖû»
113/**
114 * list_replace - replace old entry by new one
115 * @old : the element to be replaced
116 * @new : the new element to insert
117 *
118 * If @old was empty, it will be overwritten.
119 */
120static inline void list_replace(struct list_head *old,
121 struct list_head *new)
122{
123 new->next = old->next;
124 new->next->prev = new;
125 new->prev = old->prev;
126 new->prev->next = new;
127}
128
129static inline void list_replace_init(struct list_head *old,
130 struct list_head *new)
131{
132 list_replace(old, new);
133 INIT_LIST_HEAD(old);
134}
¾²Ì¬ÄÚÁªº¯Êýlist_replace½ÓÊÜÁ½¸ö²ÎÊý£ºoldºÍnew£¬²¢Í¨¹ýnewÌæ»»old¡£¶ølist_replace_initº¯ÊýÔòÊÇͨ¹ýµ÷ÓÃlist_replace½øÐÐÌæ»»£¬Ö®ºóµ÷ÓÃINIT_LIST_HEAD¶Ô±»Ìæ»»µÄold½øÐÐÁ´±í³õʼ»¯¡£
 
 
Á´±íµÄÒƶ¯
146/**
147 * list_move - delete from one list


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨ËÄ£© L2CAP²ã±à³Ì

£¨L2CAPЭÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPЭÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼­Á¬½Ó¿ØÖƺÍÊÊÅäЭÒé (L2CAP) ΪÉϲãЭÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àЭÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãЭÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......

linux ϸ÷ÖÖѹËõ¸ñʽµÄ½âѹºÍѹËõ

 £¨ËùÓеÄ#²»ÊÇÒªÊäÈëµÄÃüÁÊǶÔĿ¼µÄÊ¡ÂÔ£¬Îļþ¼ÐÒªºÍ¶ÔÓ¦µÄĿ¼Ïàͬ Èç ÄãµÄÎļþ¼Ð·ÅÔÚÁËdowload Ï£¬¾ÍÒª»Øµ½dowloadĿ¼Ï£¬Ò»°ãÎļþ¼ÐµÄÃüÃû²»ÒªÓúºÓ
¶ÔÓÚ¸Õ¸Õ½Ó´¥LinuxµÄÈËÀ´Ëµ£¬Ò»¶¨»á¸øLinuxÏÂÒ»´ó¶Ñ¸÷ʽ¸÷ÑùµÄÎļþÃû¸ø¸ãÔΡ£±ð
¸ö²»Ëµ£¬µ¥µ¥¾ÍѹËõÎļþΪÀý£¬ÎÒÃÇÖªµÀÔÚWindowsÏÂ×î³£¼ûµÄѹËõÎļþ¾ÍÖ ......

VVϸ˵ Ubuntu Linux Èí¼þÔ´


Ò»¿ªÊ¼×°ubuntuµÄʱºò£¬ºÃ¶à³õѧÕß²»ÖªµÀÈçºÎÌí¼ÓÔ´£¬Èç´ËÎÊÌâ·´·´¸´¸´£¬ÐÂÊÖÓÖ²»ÔõôȥGOOGLE£¬ÏÖÔÚÎÒ°ÑÕâЩÎÊÌâÕûÀíÏ£¬°ïÖúÐÂÊÖÀí½â²¢Ê¹Óãº
ʲôÊÇ Ubuntu Linux Èí¼þÔ´
Ô´£¬ÔÚubuntuÏ£¬Ëü¾ÍÏ൱ÓÚÈí¼þ¿â£¬ÐèҪʲôÈí¼þ£¬Ö»Òª¼ÇµÃÕýÈ·µÄÈí¼þÃû²¢ÇÒÈ·¶¨ÔÚubuntuÏ¿϶¨ÓеÄÈí¼þ£¬¾Í¿ÉÒÔʹÓÃÃüÁîÀ´°²×°Èí¼þµÄ£¨µ±È»Ò² ......

LINUXµÄÈȲå°Î»úÖÆ£¨¾­µäÎÄÕ£©

 linuxµÄÈȲå°ÎÊÇGreg Kroah-Hartmanά»¤£¬ËùÒÔÕâÊÇƪ¾­µäÎÄÕ¡£Èç¹ûÄãÓÐUSB»òÕßPCIÉ豸Çý¶¯¿ª·¢»ù´¡£¬Ò»¶Á¾Í¿ÉÒÔÀí½â¡£
Hot-pluggable devices have been created to solve a number of user needs. On laptop computers, PCMCIA devices were designed to allow the user to swap cards while the computer was sti ......

ǶÈëʽLinuxÎļþϵͳ¼ò½é

  LinuxÖ§³Ö¶àÖÖÎļþϵͳ£¬°üÀ¨ext2¡¢ext3¡¢vfat¡¢ntfs¡¢iso9660¡¢jffs¡¢romfsºÍnfsµÈ£¬ÎªÁ˶Ը÷ÀàÎļþϵͳ½øÐÐͳһ¹ÜÀí£¬LinuxÒýÈëÁËÐéÄâÎļþϵͳVFS(Virtual File System)£¬Îª¸÷ÀàÎļþϵͳÌṩһ¸öͳһµÄ²Ù×÷½çÃæºÍÓ¦Óñà³Ì½Ó¿Ú¡£
    LinuxϵÄÎļþϵͳ½á¹¹ÈçÏ£º
    LinuxÆô¶¯Ê ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ