/linux-2.4.37.9/drivers/input/ |
D | mousedev.c | 56 struct mousedev_list *list; member 89 struct mousedev_list *list; in mousedev_event() local 95 list = (*mousedev)->list; in mousedev_event() 96 while (list) { in mousedev_event() 104 list->dx += (value * xres - list->oldx) / size; in mousedev_event() 105 list->oldx += list->dx * size; in mousedev_event() 109 list->dy -= (value * yres - list->oldy) / size; in mousedev_event() 110 list->oldy -= list->dy * size; in mousedev_event() 117 case REL_X: list->dx += value; break; in mousedev_event() 118 case REL_Y: list->dy -= value; break; in mousedev_event() [all …]
|
D | evdev.c | 49 struct evdev_list *list; member 66 struct evdev_list *list = evdev->list; in evdev_event() local 68 while (list) { in evdev_event() 70 do_gettimeofday(&list->buffer[list->head].time); in evdev_event() 71 list->buffer[list->head].type = type; in evdev_event() 72 list->buffer[list->head].code = code; in evdev_event() 73 list->buffer[list->head].value = value; in evdev_event() 74 list->head = (list->head + 1) & (EVDEV_BUFFER_SIZE - 1); in evdev_event() 76 kill_fasync(&list->fasync, SIGIO, POLL_IN); in evdev_event() 78 list = list->next; in evdev_event() [all …]
|
D | joydev.c | 63 struct joydev_list *list; member 115 struct joydev_list *list = joydev->list; in joydev_event() local 141 while (list) { in joydev_event() 143 memcpy(list->buffer + list->head, &event, sizeof(struct js_event)); in joydev_event() 145 if (list->startup == joydev->nabs + joydev->nkey) in joydev_event() 146 if (list->tail == (list->head = (list->head + 1) & (JOYDEV_BUFFER_SIZE - 1))) in joydev_event() 147 list->startup = 0; in joydev_event() 149 kill_fasync(&list->fasync, SIGIO, POLL_IN); in joydev_event() 151 list = list->next; in joydev_event() 160 struct joydev_list *list = file->private_data; in joydev_fasync() local [all …]
|
/linux-2.4.37.9/include/linux/ |
D | skbuff.h | 134 struct sk_buff_head * list; /* List we are on */ member 259 static inline int skb_queue_empty(struct sk_buff_head *list) in skb_queue_empty() argument 261 return (list->next == (struct sk_buff *) list); in skb_queue_empty() 400 struct sk_buff *list = ((struct sk_buff *)list_)->next; in skb_peek() local 401 if (list == (struct sk_buff *)list_) in skb_peek() 402 list = NULL; in skb_peek() 403 return list; in skb_peek() 422 struct sk_buff *list = ((struct sk_buff *)list_)->prev; in skb_peek_tail() local 423 if (list == (struct sk_buff *)list_) in skb_peek_tail() 424 list = NULL; in skb_peek_tail() [all …]
|
D | list.h | 113 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() argument 115 __list_del(list->prev, list->next); in list_move() 116 list_add(list, head); in list_move() 124 static inline void list_move_tail(struct list_head *list, in list_move_tail() argument 127 __list_del(list->prev, list->next); in list_move_tail() 128 list_add_tail(list, head); in list_move_tail() 140 static inline void __list_splice(struct list_head *list, in __list_splice() argument 143 struct list_head *first = list->next; in __list_splice() 144 struct list_head *last = list->prev; in __list_splice() 159 static inline void list_splice(struct list_head *list, struct list_head *head) in list_splice() argument [all …]
|
D | tqueue.h | 39 struct list_head list; /* linked list of active bh's */ member 59 INIT_LIST_HEAD(&(_tq)->list); \ 106 list_add_tail(&bh_pointer->list, bh_list); in queue_task() 117 extern void __run_task_queue(task_queue *list); 119 static inline void run_task_queue(task_queue *list) in run_task_queue() argument 121 if (TQ_ACTIVE(*list)) in run_task_queue() 122 __run_task_queue(list); in run_task_queue()
|
/linux-2.4.37.9/drivers/usb/ |
D | hiddev.c | 49 struct hiddev_list *list; member 76 struct list_head *list; in hiddev_lookup_report() local 89 list = report_enum->report_list.next; in hiddev_lookup_report() 90 if (list == &report_enum->report_list) return NULL; in hiddev_lookup_report() 91 rinfo->report_id = ((struct hid_report *) list)->id; in hiddev_lookup_report() 95 list = (struct list_head *) in hiddev_lookup_report() 98 if (list == NULL) return NULL; in hiddev_lookup_report() 99 list = list->next; in hiddev_lookup_report() 100 if (list == &report_enum->report_list) return NULL; in hiddev_lookup_report() 101 rinfo->report_id = ((struct hid_report *) list)->id; in hiddev_lookup_report() [all …]
|
/linux-2.4.37.9/include/asm-s390/ |
D | queue.h | 19 typedef queue list; typedef 62 static __inline__ void init_list(list **lhead) in init_list() 67 static __inline__ void add_to_list(list **lhead,list *member) in add_to_list() 73 static __inline__ list *remove_listhead(list **lhead) in remove_listhead() 75 list *oldhead=*lhead; in remove_listhead() 82 static __inline__ void add_to_list_tail(list **lhead,list *member) in add_to_list_tail() 84 list *curr,*prev; in add_to_list_tail() 95 static __inline__ void add_to_list_tail_null(list **lhead,list *member) in add_to_list_tail_null() 102 static __inline__ int is_in_list(list *lhead,list *member) in is_in_list() 104 list *curr; in is_in_list() [all …]
|
/linux-2.4.37.9/include/asm-s390x/ |
D | queue.h | 19 typedef queue list; typedef 62 static __inline__ void init_list(list **lhead) in init_list() 67 static __inline__ void add_to_list(list **lhead,list *member) in add_to_list() 73 static __inline__ list *remove_listhead(list **lhead) in remove_listhead() 75 list *oldhead=*lhead; in remove_listhead() 82 static __inline__ void add_to_list_tail(list **lhead,list *member) in add_to_list_tail() 84 list *curr,*prev; in add_to_list_tail() 95 static __inline__ void add_to_list_tail_null(list **lhead,list *member) in add_to_list_tail_null() 102 static __inline__ int is_in_list(list *lhead,list *member) in is_in_list() 104 list *curr; in is_in_list() [all …]
|
/linux-2.4.37.9/arch/sparc64/prom/ |
D | p1275.c | 261 va_list list; in p1275_cmd() local 280 va_start(list, fmt); in p1275_cmd() 285 (unsigned)va_arg(list, long); in p1275_cmd() 289 va_arg(list, unsigned long); in p1275_cmd() 292 strcpy (p, va_arg(list, char *)); in p1275_cmd() 297 (void) va_arg(list, char *); in p1275_cmd() 299 x = va_arg(list, long); in p1275_cmd() 305 q = va_arg(list, char *); in p1275_cmd() 307 x = va_arg(list, long); in p1275_cmd() 314 (void) va_arg(list, char *); in p1275_cmd() [all …]
|
/linux-2.4.37.9/fs/devfs/ |
D | util.c | 187 struct major_list *list; in devfs_alloc_major() local 189 list = (type == DEVFS_SPECIAL_CHR) ? &char_major_list : &block_major_list; in devfs_alloc_major() 190 spin_lock (&list->lock); in devfs_alloc_major() 191 major = find_first_zero_bit (list->bits, 256); in devfs_alloc_major() 192 if (major < 256) __set_bit (major, list->bits); in devfs_alloc_major() 194 spin_unlock (&list->lock); in devfs_alloc_major() 210 struct major_list *list; in devfs_dealloc_major() local 213 list = (type == DEVFS_SPECIAL_CHR) ? &char_major_list : &block_major_list; in devfs_dealloc_major() 214 spin_lock (&list->lock); in devfs_dealloc_major() 215 was_set = __test_and_clear_bit (major, list->bits); in devfs_dealloc_major() [all …]
|
/linux-2.4.37.9/kernel/ |
D | softirq.c | 158 t->next = tasklet_vec[cpu].list; in __tasklet_schedule() 159 tasklet_vec[cpu].list = t; in __tasklet_schedule() 170 t->next = tasklet_hi_vec[cpu].list; in __tasklet_hi_schedule() 171 tasklet_hi_vec[cpu].list = t; in __tasklet_hi_schedule() 179 struct tasklet_struct *list; in tasklet_action() local 182 list = tasklet_vec[cpu].list; in tasklet_action() 183 tasklet_vec[cpu].list = NULL; in tasklet_action() 186 while (list) { in tasklet_action() 187 struct tasklet_struct *t = list; in tasklet_action() 189 list = list->next; in tasklet_action() [all …]
|
/linux-2.4.37.9/drivers/sound/ |
D | sound_core.c | 72 static int __sound_insert_unit(struct sound_unit * s, struct sound_unit **list, struct file_operati… in __sound_insert_unit() argument 78 while (*list && (*list)->unit_minor<n) in __sound_insert_unit() 79 list=&((*list)->next); in __sound_insert_unit() 84 if(*list==NULL || (*list)->unit_minor>n) in __sound_insert_unit() 86 list=&((*list)->next); in __sound_insert_unit() 94 while (*list) { in __sound_insert_unit() 95 if ((*list)->unit_minor==n) in __sound_insert_unit() 97 if ((*list)->unit_minor>n) in __sound_insert_unit() 99 list=&((*list)->next); in __sound_insert_unit() 114 s->next=*list; in __sound_insert_unit() [all …]
|
/linux-2.4.37.9/net/core/ |
D | skbuff.c | 69 struct sk_buff_head list; member 114 struct sk_buff_head *list = &skb_head_pool[smp_processor_id()].list; in skb_head_from_pool() local 116 if (skb_queue_len(list)) { in skb_head_from_pool() 121 skb = __skb_dequeue(list); in skb_head_from_pool() 130 struct sk_buff_head *list = &skb_head_pool[smp_processor_id()].list; in skb_head_to_pool() local 132 if (skb_queue_len(list) < sysctl_hot_list_len) { in skb_head_to_pool() 136 __skb_queue_head(list, skb); in skb_head_to_pool() 230 skb->list = NULL; in skb_headerinit() 257 struct sk_buff *list = skb_shinfo(skb)->frag_list; in skb_drop_fraglist() local 262 struct sk_buff *this = list; in skb_drop_fraglist() [all …]
|
D | datagram.c | 250 struct sk_buff *list; in skb_copy_datagram_iovec() local 252 for (list = skb_shinfo(skb)->frag_list; list; list=list->next) { in skb_copy_datagram_iovec() 257 end = start + list->len; in skb_copy_datagram_iovec() 261 if (skb_copy_datagram_iovec(list, offset-start, to, copy)) in skb_copy_datagram_iovec() 330 struct sk_buff *list; in skb_copy_and_csum_datagram() local 332 for (list = skb_shinfo(skb)->frag_list; list; list=list->next) { in skb_copy_and_csum_datagram() 337 end = start + list->len; in skb_copy_and_csum_datagram() 342 if (skb_copy_and_csum_datagram(list, offset-start, to, copy, &csum2)) in skb_copy_and_csum_datagram()
|
/linux-2.4.37.9/scripts/lxdialog/ |
D | checklist.c | 126 WINDOW *dialog, *list; in dialog_checklist() local 187 list = subwin (dialog, list_height, list_width, y+box_y+1, x+box_x+1); in dialog_checklist() 189 keypad (list, TRUE); in dialog_checklist() 210 print_item (list, items[(scroll+i) * 3 + 1], in dialog_checklist() 219 wnoutrefresh (list); in dialog_checklist() 240 print_item (list, items[scroll * 3 + 1], in dialog_checklist() 242 scrollok (list, TRUE); in dialog_checklist() 243 wscrl (list, -1); in dialog_checklist() 244 scrollok (list, FALSE); in dialog_checklist() 247 print_item (list, items[scroll * 3 + 1], in dialog_checklist() [all …]
|
/linux-2.4.37.9/drivers/char/drm/ |
D | savage_drv.c | 66 drm_map_list_t *list; in savage_alloc_continuous_mem() local 124 list = DRM(alloc) (sizeof(*list), DRM_MEM_MAPS); in savage_alloc_continuous_mem() 125 if (!list) { in savage_alloc_continuous_mem() 129 memset(list, 0, sizeof(*list)); in savage_alloc_continuous_mem() 130 list->map = map; in savage_alloc_continuous_mem() 133 list_add(&list->head, &dev->maplist->head); in savage_alloc_continuous_mem() 198 struct list_head *list; in savage_free_cont_mem() local 209 list_for_each(list, &dev->maplist->head) { in savage_free_cont_mem() 210 r_list = (drm_map_list_t *) list; in savage_free_cont_mem() 216 if (list == (&dev->maplist->head)) { in savage_free_cont_mem() [all …]
|
D | sis_ds.c | 55 set->list[i].free_next = i+1; in setInit() 56 set->list[i].alloc_next = -1; in setInit() 59 set->list[SET_SIZE-1].free_next = -1; in setInit() 73 set->list[free].val = item; in setAdd() 74 set->free = set->list[free].free_next; in setAdd() 80 set->list[free].alloc_next = set->alloc; in setAdd() 82 set->list[free].free_next = -1; in setAdd() 93 if(set->list[alloc].val == item){ in setDel() 95 set->list[prev].alloc_next = set->list[alloc].alloc_next; in setDel() 97 set->alloc = set->list[alloc].alloc_next; in setDel() [all …]
|
D | via_ds.c | 55 set->list[i].free_next = i + 1; in via_set_init() 56 set->list[i].alloc_next = -1; in via_set_init() 58 set->list[SET_SIZE - 1].free_next = -1; in via_set_init() 69 set->list[free].val = item; in via_set_add() 70 set->free = set->list[free].free_next; in via_set_add() 74 set->list[free].alloc_next = set->alloc; in via_set_add() 76 set->list[free].free_next = -1; in via_set_add() 86 if (set->list[alloc].val == item) { in via_set_del() 88 set->list[prev].alloc_next = set->list[alloc].alloc_next; in via_set_del() 90 set->alloc = set->list[alloc].alloc_next; in via_set_del() [all …]
|
/linux-2.4.37.9/drivers/pcmcia/ |
D | bulkmem.c | 189 void retry_erase_list(erase_busy_t *list, u_int cause) in retry_erase_list() argument 191 erase_busy_t tmp = *list; in retry_erase_list() 193 DEBUG(2, "cs: rescanning erase queue list 0x%p\n", list); in retry_erase_list() 194 if (list->next == list) in retry_erase_list() 197 list->prev->next = &tmp; in retry_erase_list() 198 list->next->prev = &tmp; in retry_erase_list() 199 list->prev = list->next = list; in retry_erase_list() 330 memory_handle_t *list) in setup_regions() argument 340 handle, attr, list); in setup_regions() 391 r->info.next = *list; *list = r; in setup_regions() [all …]
|
/linux-2.4.37.9/net/sched/ |
D | sch_generic.c | 279 struct sk_buff_head *list; in pfifo_fast_enqueue() local 281 list = ((struct sk_buff_head*)qdisc->data) + in pfifo_fast_enqueue() 284 if (list->qlen < qdisc->dev->tx_queue_len) { in pfifo_fast_enqueue() 285 __skb_queue_tail(list, skb); in pfifo_fast_enqueue() 300 struct sk_buff_head *list = ((struct sk_buff_head*)qdisc->data); in pfifo_fast_dequeue() local 303 for (prio = 0; prio < 3; prio++, list++) { in pfifo_fast_dequeue() 304 skb = __skb_dequeue(list); in pfifo_fast_dequeue() 316 struct sk_buff_head *list; in pfifo_fast_requeue() local 318 list = ((struct sk_buff_head*)qdisc->data) + in pfifo_fast_requeue() 321 __skb_queue_head(list, skb); in pfifo_fast_requeue() [all …]
|
/linux-2.4.37.9/arch/m68k/sun3/ |
D | sun3dvma.c | 41 struct list_head list; member 89 hole = list_entry(cur, struct hole, list); in print_holes() 111 hole = list_entry(cur, struct hole, list); in refill() 121 list_del(&(prev->list)); in refill() 122 list_add(&(prev->list), &hole_cache); in refill() 142 ret = list_entry(hole_cache.next, struct hole, list); in rmcache() 143 list_del(&(ret->list)); in rmcache() 167 hole = list_entry(cur, struct hole, list); in get_baddr() 184 list_del(&(hole->list)); in get_baddr() 185 list_add(&(hole->list), &hole_cache); in get_baddr() [all …]
|
/linux-2.4.37.9/fs/jffs2/ |
D | erase.c | 62 list_del(&jeb->list); in jffs2_erase_block() 63 list_add(&jeb->list, &c->erase_pending_list); in jffs2_erase_block() 88 list_del(&jeb->list); in jffs2_erase_block() 89 list_add(&jeb->list, &c->erase_pending_list); in jffs2_erase_block() 101 list_del(&jeb->list); in jffs2_erase_block() 102 list_add(&jeb->list, &c->bad_list); in jffs2_erase_block() 118 jeb = list_entry(c->erase_pending_list.next, struct jffs2_eraseblock, list); in jffs2_erase_pending_blocks() 122 list_del(&jeb->list); in jffs2_erase_pending_blocks() 129 list_add(&jeb->list, &c->erasing_list); in jffs2_erase_pending_blocks() 152 list_del(&priv->jeb->list); in jffs2_erase_callback() [all …]
|
/linux-2.4.37.9/lib/ |
D | rwsem.c | 12 struct list_head list; member 54 waiter = list_entry(sem->wait_list.next,struct rwsem_waiter,list); in __rwsem_do_wake() 63 list_del(&waiter->list); in __rwsem_do_wake() 80 if (waiter->list.next==&sem->wait_list) in __rwsem_do_wake() 83 waiter = list_entry(waiter->list.next,struct rwsem_waiter,list); in __rwsem_do_wake() 94 waiter = list_entry(next,struct rwsem_waiter,list); in __rwsem_do_wake() 95 next = waiter->list.next; in __rwsem_do_wake() 134 list_add_tail(&waiter->list,&sem->wait_list); in rwsem_down_failed_common()
|
/linux-2.4.37.9/arch/arm/kernel/ |
D | setup.c | 111 struct proc_info_list *list; in setup_processor() local 118 for (list = &__proc_info_begin; list < &__proc_info_end ; list++) in setup_processor() 119 if ((processor_id & list->cpu_mask) == list->cpu_val) in setup_processor() 126 if (list >= &__proc_info_end) { in setup_processor() 132 cpu_name = list->info->cpu_name; in setup_processor() 135 processor = *list->proc; in setup_processor() 140 sprintf(system_utsname.machine, "%s%c", list->arch_name, ENDIANNESS); in setup_processor() 141 sprintf(elf_platform, "%s%c", list->elf_name, ENDIANNESS); in setup_processor() 142 elf_hwcap = list->elf_hwcap; in setup_processor() 150 struct machine_desc *list; in setup_machine() local [all …]
|