Home
last modified time | relevance | path

Searched refs:next (Results 1 – 25 of 1634) sorted by relevance

12345678910>>...66

/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_vfs.c56 struct bhv_desc *next = bdp; in vfs_mount() local
58 ASSERT(next); in vfs_mount()
59 while (! (bhvtovfsops(next))->vfs_mount) in vfs_mount()
60 next = BHV_NEXT(next); in vfs_mount()
61 return ((*bhvtovfsops(next)->vfs_mount)(next, args, cr)); in vfs_mount()
71 struct bhv_desc *next = bdp; in vfs_parseargs() local
73 ASSERT(next); in vfs_parseargs()
74 while (! (bhvtovfsops(next))->vfs_parseargs) in vfs_parseargs()
75 next = BHV_NEXT(next); in vfs_parseargs()
76 return ((*bhvtovfsops(next)->vfs_parseargs)(next, s, args, f)); in vfs_parseargs()
[all …]
/linux-2.4.37.9/drivers/hotplug/
Dacpiphp_res.c74 if (!((*head)->next)) in sort_by_size()
81 if (((*head)->next) && in sort_by_size()
82 ((*head)->length > (*head)->next->length)) { in sort_by_size()
85 *head = (*head)->next; in sort_by_size()
86 current_res->next = (*head)->next; in sort_by_size()
87 (*head)->next = current_res; in sort_by_size()
92 while (current_res->next && current_res->next->next) { in sort_by_size()
93 if (current_res->next->length > current_res->next->next->length) { in sort_by_size()
95 next_res = current_res->next; in sort_by_size()
96 current_res->next = current_res->next->next; in sort_by_size()
[all …]
Dpciehp_ctrl.c267 if (!((*head)->next)) in sort_by_size()
274 if (((*head)->next) && in sort_by_size()
275 ((*head)->length > (*head)->next->length)) { in sort_by_size()
278 *head = (*head)->next; in sort_by_size()
279 current_res->next = (*head)->next; in sort_by_size()
280 (*head)->next = current_res; in sort_by_size()
285 while (current_res->next && current_res->next->next) { in sort_by_size()
286 if (current_res->next->length > current_res->next->next->length) { in sort_by_size()
288 next_res = current_res->next; in sort_by_size()
289 current_res->next = current_res->next->next; in sort_by_size()
[all …]
Dcpqphp_ctrl.c150 slot = slot->next; in cpqhp_find_slot()
336 if (!((*head)->next)) in sort_by_size()
343 if (((*head)->next) && in sort_by_size()
344 ((*head)->length > (*head)->next->length)) { in sort_by_size()
347 *head = (*head)->next; in sort_by_size()
348 current_res->next = (*head)->next; in sort_by_size()
349 (*head)->next = current_res; in sort_by_size()
354 while (current_res->next && current_res->next->next) { in sort_by_size()
355 if (current_res->next->length > current_res->next->next->length) { in sort_by_size()
357 next_res = current_res->next; in sort_by_size()
[all …]
Dshpchp_ctrl.c279 if (!((*head)->next)) in sort_by_size()
286 if (((*head)->next) && in sort_by_size()
287 ((*head)->length > (*head)->next->length)) { in sort_by_size()
290 *head = (*head)->next; in sort_by_size()
291 current_res->next = (*head)->next; in sort_by_size()
292 (*head)->next = current_res; in sort_by_size()
297 while (current_res->next && current_res->next->next) { in sort_by_size()
298 if (current_res->next->length > current_res->next->next->length) { in sort_by_size()
300 next_res = current_res->next; in sort_by_size()
301 current_res->next = current_res->next->next; in sort_by_size()
[all …]
/linux-2.4.37.9/include/linux/
Dlist.h19 struct list_head *next, *prev; member
28 (ptr)->next = (ptr); (ptr)->prev = (ptr); \
39 struct list_head *next) in __list_add() argument
41 next->prev = new; in __list_add()
42 new->next = next; in __list_add()
44 prev->next = new; in __list_add()
57 __list_add(new, head, head->next); in list_add()
80 static inline void __list_del(struct list_head *prev, struct list_head *next) in __list_del() argument
82 next->prev = prev; in __list_del()
83 prev->next = next; in __list_del()
[all …]
Dghash.h60 TYPE * next = ptr->PTRS.next_hash;\
61 if(next && KEYCMP(next->KEY, elem->KEY)) {\
63 ptr = next;\
84 TYPE * next = elem->PTRS.next_hash;\
88 if(next)\
89 next->PTRS.prev_hash = prev;\
91 prev->PTRS.next_hash = next;\
94 tbl->hashtable[ix] = next;\
97 next = elem->PTRS.next_sorted;\
99 if(next)\
[all …]
Dskbuff.h99 struct sk_buff * next; member
131 struct sk_buff * next; /* Next buffer in list */ member
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()
444 list->next = (struct sk_buff *)list; in skb_queue_head_init()
468 struct sk_buff *prev, *next; in __skb_queue_head() local
473 next = prev->next; in __skb_queue_head()
474 newsk->next = next; in __skb_queue_head()
476 next->prev = newsk; in __skb_queue_head()
477 prev->next = newsk; in __skb_queue_head()
[all …]
/linux-2.4.37.9/net/ax25/
Dax25_iface.c39 struct protocol_struct *next; member
45 struct linkfail_struct *next; member
50 struct listen_struct *next; member
75 protocol->next = protocol_list; in ax25_protocol_register()
95 protocol_list = protocol->next; in ax25_protocol_release()
101 while (protocol != NULL && protocol->next != NULL) { in ax25_protocol_release()
102 if (protocol->next->pid == pid) { in ax25_protocol_release()
103 s = protocol->next; in ax25_protocol_release()
104 protocol->next = protocol->next->next; in ax25_protocol_release()
110 protocol = protocol->next; in ax25_protocol_release()
[all …]
/linux-2.4.37.9/drivers/scsi/sym53c8xx_2/
Dsym_malloc.c94 while (!h[j].next) { in ___sym_malloc()
96 h[j].next = (m_link_p) M_GET_MEM_CLUSTER(); in ___sym_malloc()
97 if (h[j].next) in ___sym_malloc()
98 h[j].next->next = 0; in ___sym_malloc()
104 a = (m_addr_t) h[j].next; in ___sym_malloc()
106 h[j].next = h[j].next->next; in ___sym_malloc()
110 h[j].next = (m_link_p) (a+s); in ___sym_malloc()
111 h[j].next->next = 0; in ___sym_malloc()
150 ((m_link_p) a)->next = h[i].next; in ___sym_mfree()
151 h[i].next = (m_link_p) a; in ___sym_mfree()
[all …]
/linux-2.4.37.9/scripts/
Dtkcond.c46 for ( cfg = scfg; cfg != NULL; cfg = cfg->next ) in mark_variables()
79 tmp1 = tmp->next; in free_cond()
95 for ( conda = condition; conda; conda = conda->next ) in remove_bang()
97 if ( conda->op == op_bang && conda->next && in remove_bang()
98 ( condb = conda->next->next ) ) in remove_bang()
106 prev->next = conda->next; in remove_bang()
110 condition = conda->next; in remove_bang()
112 conda->next = NULL; in remove_bang()
167 cond_last->next = cnew; in join_condition_stack()
181 { cond_last->next = cnew; cond_last = cnew; } in join_condition_stack()
[all …]
/linux-2.4.37.9/drivers/char/drm/
Dradeon_mem.c54 newblock->next = p->next; in split_block()
56 p->next->prev = newblock; in split_block()
57 p->next = newblock; in split_block()
70 newblock->next = p->next; in split_block()
72 p->next->prev = newblock; in split_block()
73 p->next = newblock; in split_block()
89 for (p = heap->next ; p != heap ; p = p->next) { in alloc_block()
102 for (p = heap->next ; p != heap ; p = p->next) in find_block()
117 if (p->next->pid == 0) { in free_block()
118 struct mem_block *q = p->next; in free_block()
[all …]
/linux-2.4.37.9/arch/m68k/hp300/
Dints.c50 for(t = hp300_irq_list[irq]; t; t=t->next) in hp300_int_handler()
85 n->next = NULL; in hp300_request_irq()
88 n->next = hp300_irq_list[irq]; in hp300_request_irq()
92 for(t = hp300_irq_list[irq]; t->next; t = t->next) in hp300_request_irq()
94 n->next = NULL; in hp300_request_irq()
95 t->next = n; in hp300_request_irq()
128 hp300_irq_list[irq] = t->next; in hp300_free_irq()
135 for (t = hp300_irq_list[irq]; t->next && t->next->dev_id != dev_id; t = t->next) in hp300_free_irq()
137 if (!t->next) in hp300_free_irq()
144 t->next->flags = IRQ_FLG_STD; in hp300_free_irq()
[all …]
/linux-2.4.37.9/drivers/acpi/tables/
Dtbinstal.c271 if (list_head->next) { in acpi_tb_init_table_descriptor()
275 table_desc->next = list_head->next; in acpi_tb_init_table_descriptor()
276 list_head->next = table_desc; in acpi_tb_init_table_descriptor()
278 if (table_desc->next) { in acpi_tb_init_table_descriptor()
279 table_desc->next->prev = table_desc; in acpi_tb_init_table_descriptor()
293 if (!list_head->next) { in acpi_tb_init_table_descriptor()
294 list_head->next = table_desc; in acpi_tb_init_table_descriptor()
297 table_desc->next = list_head->next; in acpi_tb_init_table_descriptor()
299 while (table_desc->next->next) { in acpi_tb_init_table_descriptor()
300 table_desc->next = table_desc->next->next; in acpi_tb_init_table_descriptor()
[all …]
/linux-2.4.37.9/include/asm-x86_64/
Dmmu_context.h31 #define activate_mm(prev, next) \ argument
32 switch_mm((prev),(next),NULL,smp_processor_id())
35 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument
38 if (prev != next) { in switch_mm()
44 if (prev->context.segments != next->context.segments) in switch_mm()
45 load_LDT(next); in switch_mm()
48 cpu_tlbstate[cpu].active_mm = next; in switch_mm()
50 set_bit(cpu, &next->cpu_vm_mask); in switch_mm()
51 set_bit(cpu, &next->context.cpuvalid); in switch_mm()
53 *read_pda(level4_pgt) = __pa(next->pgd) | _PAGE_TABLE; in switch_mm()
[all …]
/linux-2.4.37.9/drivers/scsi/
Dhosts.c93 scsi_hostlist = sh->next; in scsi_unregister()
96 while(shpnt->next != sh) shpnt = shpnt->next; in scsi_unregister()
97 shpnt->next = shpnt->next->next; in scsi_unregister()
106 shn=shn->next); in scsi_unregister()
140 for (shn = scsi_host_no_list;shn;shn = shn->next) { in scsi_register()
170 shn->next = NULL; in scsi_register()
172 for (shn2 = scsi_host_no_list;shn2->next;shn2 = shn2->next) in scsi_register()
174 shn2->next = shn; in scsi_register()
204 retval->next = NULL; in scsi_register()
236 retval->next = shpnt; in scsi_register()
[all …]
/linux-2.4.37.9/include/asm-s390/
Dqueue.h16 struct queue *next; member
39 tail->next=member; in enqueue_tail()
44 member->next=NULL; in enqueue_tail()
54 next_head=head->next; in dequeue_head()
69 member->next=*lhead; in add_to_list()
78 *lhead=(*lhead)->next; in remove_listhead()
90 for(curr=(*lhead)->next;curr!=NULL;curr=curr->next) in add_to_list_tail()
92 prev->next=member; in add_to_list_tail()
97 member->next=NULL; in add_to_list_tail_null()
106 for(curr=lhead;curr!=NULL;curr=curr->next) in is_in_list()
[all …]
/linux-2.4.37.9/include/asm-s390x/
Dqueue.h16 struct queue *next; member
39 tail->next=member; in enqueue_tail()
44 member->next=NULL; in enqueue_tail()
54 next_head=head->next; in dequeue_head()
69 member->next=*lhead; in add_to_list()
78 *lhead=(*lhead)->next; in remove_listhead()
90 for(curr=(*lhead)->next;curr!=NULL;curr=curr->next) in add_to_list_tail()
92 prev->next=member; in add_to_list_tail()
97 member->next=NULL; in add_to_list_tail_null()
106 for(curr=lhead;curr!=NULL;curr=curr->next) in is_in_list()
[all …]
/linux-2.4.37.9/net/ipv4/
Dip_fragment.c73 struct ipq *next; /* linked list pointers */ member
109 if(qp->next) in __ipq_unlink()
110 qp->next->pprev = qp->pprev; in __ipq_unlink()
111 *qp->pprev = qp->next; in __ipq_unlink()
144 struct ipq *next = q->next; in ipfrag_secret_rebuild() local
150 if (q->next) in ipfrag_secret_rebuild()
151 q->next->pprev = q->pprev; in ipfrag_secret_rebuild()
152 *q->pprev = q->next; in ipfrag_secret_rebuild()
155 if ((q->next = ipq_hash[hval]) != NULL) in ipfrag_secret_rebuild()
156 q->next->pprev = &q->next; in ipfrag_secret_rebuild()
[all …]
Dprotocol.c57 next: IPPROTO_PREVIOUS,
70 next: IPPROTO_PREVIOUS,
81 next: IPPROTO_PREVIOUS,
91 next: IPPROTO_PREVIOUS,
115 prot ->next = inet_protos[hash]; in inet_add_protocol()
123 p2 = (struct inet_protocol *) prot->next; in inet_add_protocol()
129 p2 = (struct inet_protocol *) p2->next; in inet_add_protocol()
147 inet_protos[hash] = (struct inet_protocol *) inet_protos[hash]->next; in inet_del_protocol()
163 if (p->next && p->next == prot) { in inet_del_protocol()
170 p->next = prot->next; in inet_del_protocol()
[all …]
/linux-2.4.37.9/include/asm-i386/
Dmmu_context.h30 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *ts… in switch_mm() argument
32 if (prev != next) { in switch_mm()
37 cpu_tlbstate[cpu].active_mm = next; in switch_mm()
39 set_bit(cpu, &next->cpu_vm_mask); in switch_mm()
41 load_cr3(next->pgd); in switch_mm()
45 if (next->context.size+prev->context.size) in switch_mm()
46 load_LDT(&next->context); in switch_mm()
51 if(cpu_tlbstate[cpu].active_mm != next) in switch_mm()
53 if(!test_and_set_bit(cpu, &next->cpu_vm_mask)) { in switch_mm()
57 load_cr3(next->pgd); in switch_mm()
[all …]
/linux-2.4.37.9/fs/autofs4/
Dexpire.c24 struct list_head *next; in is_vfsmnt_tree_busy() local
30 next = this_parent->mnt_mounts.next; in is_vfsmnt_tree_busy()
32 mnt, this_parent, next)); in is_vfsmnt_tree_busy()
34 for( ; next != &this_parent->mnt_mounts; next = next->next) { in is_vfsmnt_tree_busy()
35 struct vfsmount *p = list_entry(next, struct vfsmount, in is_vfsmnt_tree_busy()
56 next = this_parent->mnt_child.next; in is_vfsmnt_tree_busy()
84 struct list_head *next; in is_tree_busy() local
102 next = this_parent->d_subdirs.next; in is_tree_busy()
104 while (next != &this_parent->d_subdirs) { in is_tree_busy()
106 struct dentry *dentry = list_entry(next, struct dentry, in is_tree_busy()
[all …]
/linux-2.4.37.9/kernel/
Duser.c40 struct user_struct *next = *hashent; in uid_hash_insert() local
42 up->next = next; in uid_hash_insert()
43 if (next) in uid_hash_insert()
44 next->pprev = &up->next; in uid_hash_insert()
51 struct user_struct *next = up->next; in uid_hash_remove() local
54 if (next) in uid_hash_remove()
55 next->pprev = pprev; in uid_hash_remove()
56 *pprev = next; in uid_hash_remove()
61 struct user_struct *next; in uid_hash_find() local
63 next = *hashent; in uid_hash_find()
[all …]
/linux-2.4.37.9/drivers/acpi/parser/
Dpstree.c100 arg = arg->common.next; in acpi_ps_get_arg()
162 while (prev_arg->common.next) { in acpi_ps_append_arg()
163 prev_arg = prev_arg->common.next; in acpi_ps_append_arg()
165 prev_arg->common.next = arg; in acpi_ps_append_arg()
179 arg = arg->common.next; in acpi_ps_append_arg()
270 union acpi_parse_object *next = NULL; in acpi_ps_get_depth_next() local
284 next = acpi_ps_get_arg (op, 0); in acpi_ps_get_depth_next()
285 if (next) { in acpi_ps_get_depth_next()
286 return (next); in acpi_ps_get_depth_next()
291 next = op->common.next; in acpi_ps_get_depth_next()
[all …]
/linux-2.4.37.9/net/ipv6/
Dreassembly.c73 struct frag_queue *next; member
109 if(fq->next) in __fq_unlink()
110 fq->next->pprev = fq->pprev; in __fq_unlink()
111 *fq->pprev = fq->next; in __fq_unlink()
165 struct frag_queue *next = q->next; in ip6_frag_secret_rebuild() local
172 if (q->next) in ip6_frag_secret_rebuild()
173 q->next->pprev = q->pprev; in ip6_frag_secret_rebuild()
174 *q->pprev = q->next; in ip6_frag_secret_rebuild()
177 if ((q->next = ip6_frag_hash[hval]) != NULL) in ip6_frag_secret_rebuild()
178 q->next->pprev = &q->next; in ip6_frag_secret_rebuild()
[all …]

12345678910>>...66