Home
last modified time | relevance | path

Searched defs:head (Results 1 – 25 of 831) sorted by relevance

12345678910>>...34

/linux-3.3/drivers/scsi/aic7xxx/
Dqueue.h112 #define SLIST_HEAD_INITIALIZER(head) \ argument
123 #define SLIST_EMPTY(head) ((head)->slh_first == NULL) argument
125 #define SLIST_FIRST(head) ((head)->slh_first) argument
127 #define SLIST_FOREACH(var, head, field) \ argument
132 #define SLIST_INIT(head) do { \ argument
141 #define SLIST_INSERT_HEAD(head, elm, field) do { \ argument
148 #define SLIST_REMOVE(head, elm, type, field) do { \ argument
161 #define SLIST_REMOVE_HEAD(head, field) do { \ argument
174 #define STAILQ_HEAD_INITIALIZER(head) \ argument
185 #define STAILQ_EMPTY(head) ((head)->stqh_first == NULL) argument
[all …]
/linux-3.3/include/linux/
Dlist.h60 static inline void list_add(struct list_head *new, struct list_head *head) in list_add()
74 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail()
153 static inline void list_move(struct list_head *list, struct list_head *head) in list_move()
165 struct list_head *head) in list_move_tail()
177 const struct list_head *head) in list_is_last()
186 static inline int list_empty(const struct list_head *head) in list_empty()
204 static inline int list_empty_careful(const struct list_head *head) in list_empty_careful()
214 static inline void list_rotate_left(struct list_head *head) in list_rotate_left()
228 static inline int list_is_singular(const struct list_head *head) in list_is_singular()
234 struct list_head *head, struct list_head *entry) in __list_cut_position()
[all …]
Dplist.h95 #define PLIST_HEAD_INIT(head) \ argument
117 plist_head_init(struct plist_head *head) in plist_head_init()
142 #define plist_for_each(pos, head) \ argument
153 #define plist_for_each_safe(pos, n, head) \ argument
162 #define plist_for_each_entry(pos, head, mem) \ argument
174 #define plist_for_each_entry_safe(pos, n, head, m) \ argument
181 static inline int plist_head_empty(const struct plist_head *head) in plist_head_empty()
204 # define plist_first_entry(head, type, member) \ argument
210 # define plist_first_entry(head, type, member) \ argument
221 # define plist_last_entry(head, type, member) \ argument
[all …]
Dbtree-128.h5 static inline void btree_init_mempool128(struct btree_head128 *head, in btree_init_mempool128()
11 static inline int btree_init128(struct btree_head128 *head) in btree_init128()
16 static inline void btree_destroy128(struct btree_head128 *head) in btree_destroy128()
21 static inline void *btree_lookup128(struct btree_head128 *head, u64 k1, u64 k2) in btree_lookup128()
27 static inline void *btree_get_prev128(struct btree_head128 *head, in btree_get_prev128()
40 static inline int btree_insert128(struct btree_head128 *head, u64 k1, u64 k2, in btree_insert128()
48 static inline int btree_update128(struct btree_head128 *head, u64 k1, u64 k2, in btree_update128()
56 static inline void *btree_remove128(struct btree_head128 *head, u64 k1, u64 k2) in btree_remove128()
62 static inline void *btree_last128(struct btree_head128 *head, u64 *k1, u64 *k2) in btree_last128()
89 static inline size_t btree_visitor128(struct btree_head128 *head, in btree_visitor128()
[all …]
Dcirc_buf.h10 int head; member
15 #define CIRC_CNT(head,tail,size) (((head) - (tail)) & ((size)-1)) argument
20 #define CIRC_SPACE(head,tail,size) CIRC_CNT((tail),((head)+1),(size)) argument
25 #define CIRC_CNT_TO_END(head,tail,size) \ argument
31 #define CIRC_SPACE_TO_END(head,tail,size) \ argument
Drculist.h58 static inline void list_add_rcu(struct list_head *new, struct list_head *head) in list_add_rcu()
80 struct list_head *head) in list_add_tail_rcu()
179 struct list_head *head, in list_splice_init_rcu()
254 #define list_for_each_entry_rcu(pos, head, member) \ argument
271 #define list_for_each_continue_rcu(pos, head) \ argument
285 #define list_for_each_entry_continue_rcu(pos, head, member) \ argument
338 #define hlist_first_rcu(head) (*((struct hlist_node __rcu **)(&(head)->first))) argument
428 #define __hlist_for_each_rcu(pos, head) \ argument
444 #define hlist_for_each_entry_rcu(tpos, pos, head, member) \ argument
461 #define hlist_for_each_entry_rcu_bh(tpos, pos, head, member) \ argument
Dtimerqueue.h14 struct rb_root head; member
35 struct timerqueue_node *timerqueue_getnext(struct timerqueue_head *head) in timerqueue_getnext()
45 static inline void timerqueue_init_head(struct timerqueue_head *head) in timerqueue_init_head()
/linux-3.3/drivers/gpu/drm/radeon/
Dmkregtable.c84 static inline void list_add(struct list_head *new, struct list_head *head) in list_add()
97 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail()
169 static inline void list_move(struct list_head *list, struct list_head *head) in list_move()
181 struct list_head *head) in list_move_tail()
193 const struct list_head *head) in list_is_last()
202 static inline int list_empty(const struct list_head *head) in list_empty()
220 static inline int list_empty_careful(const struct list_head *head) in list_empty_careful()
230 static inline int list_is_singular(const struct list_head *head) in list_is_singular()
236 struct list_head *head, in __list_cut_position()
263 struct list_head *head, in list_cut_position()
[all …]
/linux-3.3/kernel/
Drcupdate.c105 struct rcu_head head; member
113 static void wakeme_after_rcu(struct rcu_head *head) in wakeme_after_rcu()
147 static inline void debug_init_rcu_head(struct rcu_head *head) in debug_init_rcu_head()
152 static inline void debug_rcu_head_free(struct rcu_head *head) in debug_rcu_head_free()
163 struct rcu_head *head = addr; in rcuhead_fixup_init() local
202 struct rcu_head *head = addr; in rcuhead_fixup_activate() local
249 struct rcu_head *head = addr; in rcuhead_fixup_free() local
290 void init_rcu_head_on_stack(struct rcu_head *head) in init_rcu_head_on_stack()
307 void destroy_rcu_head_on_stack(struct rcu_head *head) in destroy_rcu_head_on_stack()
Drcu.h51 static inline void debug_rcu_head_queue(struct rcu_head *head) in debug_rcu_head_queue()
60 static inline void debug_rcu_head_unqueue(struct rcu_head *head) in debug_rcu_head_unqueue()
68 static inline void debug_rcu_head_queue(struct rcu_head *head) in debug_rcu_head_queue()
72 static inline void debug_rcu_head_unqueue(struct rcu_head *head) in debug_rcu_head_unqueue()
79 static inline void __rcu_reclaim(char *rn, struct rcu_head *head) in __rcu_reclaim()
/linux-3.3/security/tomoyo/
Dcommon.c211 static bool tomoyo_flush(struct tomoyo_io_buffer *head) in tomoyo_flush()
256 static void tomoyo_set_string(struct tomoyo_io_buffer *head, const char *string) in tomoyo_set_string()
274 static void tomoyo_io_printf(struct tomoyo_io_buffer *head, const char *fmt, in tomoyo_io_printf()
301 static void tomoyo_set_space(struct tomoyo_io_buffer *head) in tomoyo_set_space()
313 static bool tomoyo_set_lf(struct tomoyo_io_buffer *head) in tomoyo_set_lf()
326 static void tomoyo_set_slash(struct tomoyo_io_buffer *head) in tomoyo_set_slash()
364 static void tomoyo_print_namespace(struct tomoyo_io_buffer *head) in tomoyo_print_namespace()
381 static void tomoyo_print_name_union(struct tomoyo_io_buffer *head, in tomoyo_print_name_union()
401 static void tomoyo_print_name_union_quoted(struct tomoyo_io_buffer *head, in tomoyo_print_name_union_quoted()
423 (struct tomoyo_io_buffer *head, const struct tomoyo_number_union *ptr) in tomoyo_print_number_union_nospace()
[all …]
/linux-3.3/drivers/gpu/drm/nouveau/
Dnouveau_hw.h122 int head, uint32_t reg) in NVReadCRTC()
133 int head, uint32_t reg, uint32_t val) in NVWriteCRTC()
142 int head, uint32_t reg) in NVReadRAMDAC()
154 int head, uint32_t reg, uint32_t val) in NVWriteRAMDAC()
184 int head, uint8_t index, uint8_t value) in NVWriteVgaCrtc()
193 int head, uint8_t index) in NVReadVgaCrtc()
218 NVWriteVgaCrtc5758(struct drm_device *dev, int head, uint8_t index, uint8_t value) in NVWriteVgaCrtc5758()
224 static inline uint8_t NVReadVgaCrtc5758(struct drm_device *dev, int head, uint8_t index) in NVReadVgaCrtc5758()
231 int head, uint32_t reg) in NVReadPRMVIO()
247 int head, uint32_t reg, uint8_t value) in NVWritePRMVIO()
[all …]
Dnouveau_hw.c37 NVWriteVgaSeq(struct drm_device *dev, int head, uint8_t index, uint8_t value) in NVWriteVgaSeq()
44 NVReadVgaSeq(struct drm_device *dev, int head, uint8_t index) in NVReadVgaSeq()
51 NVWriteVgaGr(struct drm_device *dev, int head, uint8_t index, uint8_t value) in NVWriteVgaGr()
58 NVReadVgaGr(struct drm_device *dev, int head, uint8_t index) in NVReadVgaGr()
108 NVBlankScreen(struct drm_device *dev, int head, bool blank) in NVBlankScreen()
512 nouveau_hw_fix_bad_vpll(struct drm_device *dev, int head) in nouveau_hw_fix_bad_vpll()
635 rd_cio_state(struct drm_device *dev, int head, in rd_cio_state()
642 wr_cio_state(struct drm_device *dev, int head, in wr_cio_state()
649 nv_save_state_ramdac(struct drm_device *dev, int head, in nv_save_state_ramdac()
724 nv_load_state_ramdac(struct drm_device *dev, int head, in nv_load_state_ramdac()
[all …]
/linux-3.3/net/netlabel/
Dnetlabel_addrlist.c62 struct list_head *head) in netlbl_af4list_search()
87 struct list_head *head) in netlbl_af4list_search_exact()
112 struct list_head *head) in netlbl_af6list_search()
138 struct list_head *head) in netlbl_af6list_search_exact()
163 int netlbl_af4list_add(struct netlbl_af4list *entry, struct list_head *head) in netlbl_af4list_add()
200 int netlbl_af6list_add(struct netlbl_af6list *entry, struct list_head *head) in netlbl_af6list_add()
255 struct list_head *head) in netlbl_af4list_remove()
296 struct list_head *head) in netlbl_af6list_remove()
Dnetlabel_addrlist.h97 #define netlbl_af4list_foreach(iter, head) \ argument
102 #define netlbl_af4list_foreach_rcu(iter, head) \ argument
107 #define netlbl_af4list_foreach_safe(iter, tmp, head) \ argument
164 #define netlbl_af6list_foreach(iter, head) \ argument
169 #define netlbl_af6list_foreach_rcu(iter, head) \ argument
174 #define netlbl_af6list_foreach_safe(iter, tmp, head) \ argument
/linux-3.3/drivers/scsi/sym53c8xx_2/
Dsym_misc.h55 static inline struct sym_quehead *sym_que_first(struct sym_quehead *head) in sym_que_first()
60 static inline struct sym_quehead *sym_que_last(struct sym_quehead *head) in sym_que_last()
82 static inline int sym_que_empty(struct sym_quehead *head) in sym_que_empty()
88 struct sym_quehead *head) in sym_que_splice()
130 #define sym_insque_head(new, head) __sym_que_add(new, head, (head)->flink) argument
132 static inline struct sym_quehead *sym_remque_head(struct sym_quehead *head) in sym_remque_head()
143 #define sym_insque_tail(new, head) __sym_que_add(new, (head)->blink, head) argument
145 static inline struct sym_quehead *sym_remque_tail(struct sym_quehead *head) in sym_remque_tail()
159 #define FOR_EACH_QUEUED_ELEMENT(head, qp) \ argument
/linux-3.3/arch/arm/mm/
Dvmregion.c38 arm_vmregion_alloc(struct arm_vmregion_head *head, size_t align, in arm_vmregion_alloc()
85 static struct arm_vmregion *__arm_vmregion_find(struct arm_vmregion_head *head, unsigned long addr) in __arm_vmregion_find()
98 struct arm_vmregion *arm_vmregion_find(struct arm_vmregion_head *head, unsigned long addr) in arm_vmregion_find()
109 struct arm_vmregion *arm_vmregion_find_remove(struct arm_vmregion_head *head, unsigned long addr) in arm_vmregion_find_remove()
122 void arm_vmregion_free(struct arm_vmregion_head *head, struct arm_vmregion *c) in arm_vmregion_free()
/linux-3.3/lib/
Dbtree.c93 static unsigned long *btree_node_alloc(struct btree_head *head, gfp_t gfp) in btree_node_alloc()
176 static inline void __btree_init(struct btree_head *head) in __btree_init()
182 void btree_init_mempool(struct btree_head *head, mempool_t *mempool) in btree_init_mempool()
189 int btree_init(struct btree_head *head) in btree_init()
199 void btree_destroy(struct btree_head *head) in btree_destroy()
206 void *btree_last(struct btree_head *head, struct btree_geo *geo, in btree_last()
240 void *btree_lookup(struct btree_head *head, struct btree_geo *geo, in btree_lookup()
270 int btree_update(struct btree_head *head, struct btree_geo *geo, in btree_update()
310 void *btree_get_prev(struct btree_head *head, struct btree_geo *geo, in btree_get_prev()
387 static unsigned long *find_level(struct btree_head *head, struct btree_geo *geo, in find_level()
[all …]
/linux-3.3/arch/x86/oprofile/
Dbacktrace.c42 dump_user_backtrace_32(struct stack_frame_ia32 *head) in dump_user_backtrace_32()
68 struct stack_frame_ia32 *head; in x86_backtrace_32() local
89 static struct stack_frame *dump_user_backtrace(struct stack_frame *head) in dump_user_backtrace()
112 struct stack_frame *head = (struct stack_frame *)frame_pointer(regs); in x86_backtrace() local
/linux-3.3/net/sched/
Dcls_fw.c83 struct fw_head *head = (struct fw_head *)tp->root; in fw_classify() local
119 struct fw_head *head = (struct fw_head *)tp->root; in fw_get() local
150 struct fw_head *head = tp->root; in fw_destroy() local
168 struct fw_head *head = (struct fw_head *)tp->root; in fw_delete() local
198 struct fw_head *head = (struct fw_head *)tp->root; in fw_change_attrs() local
241 struct fw_head *head = (struct fw_head *)tp->root; in fw_change() local
303 struct fw_head *head = (struct fw_head *)tp->root; in fw_walk() local
332 struct fw_head *head = (struct fw_head *)tp->root; in fw_dump() local
Dcls_basic.c46 struct basic_head *head = (struct basic_head *) tp->root; in basic_classify() local
64 struct basic_head *head = (struct basic_head *) tp->root; in basic_get() local
83 struct basic_head *head; in basic_init() local
103 struct basic_head *head = tp->root; in basic_destroy() local
115 struct basic_head *head = (struct basic_head *) tp->root; in basic_delete() local
169 struct basic_head *head = (struct basic_head *) tp->root; in basic_change() local
229 struct basic_head *head = (struct basic_head *) tp->root; in basic_walk() local
/linux-3.3/fs/proc/
Dproc_sysctl.c28 struct ctl_table_header *head, struct ctl_table *table) in proc_sys_make_inode()
92 struct ctl_table_header *head = grab_header(dir); in proc_sys_lookup() local
145 struct ctl_table_header *head = grab_header(inode); in proc_sys_call_handler() local
225 struct ctl_table_header *head, in proc_sys_fill_cache()
261 static int scan(struct ctl_table_header *head, ctl_table *table, in scan()
289 struct ctl_table_header *head = grab_header(inode); in proc_sys_readdir() local
346 struct ctl_table_header *head; in proc_sys_permission() local
395 struct ctl_table_header *head = grab_header(inode); in proc_sys_getattr() local
453 struct ctl_table_header *head; in proc_sys_compare() local
/linux-3.3/fs/gfs2/
Drecovery.c57 struct list_head *head = &sdp->sd_revoke_list; in gfs2_revoke_add() local
110 struct list_head *head = &sdp->sd_revoke_list; in gfs2_revoke_clean() local
151 struct gfs2_log_header_host *head) in get_log_header()
192 struct gfs2_log_header_host *head) in find_good_lh()
223 static int jhead_scan(struct gfs2_jdesc *jd, struct gfs2_log_header_host *head) in jhead_scan()
263 int gfs2_find_jhead(struct gfs2_jdesc *jd, struct gfs2_log_header_host *head) in gfs2_find_jhead()
381 static int clean_journal(struct gfs2_jdesc *jd, struct gfs2_log_header_host *head) in clean_journal()
456 struct gfs2_log_header_host head; in gfs2_recover_func() local
/linux-3.3/drivers/isdn/capi/
Dcapilib.c80 void capilib_new_ncci(struct list_head *head, u16 applid, u32 ncci, u32 winsize) in capilib_new_ncci()
104 void capilib_free_ncci(struct list_head *head, u16 applid, u32 ncci) in capilib_free_ncci()
125 void capilib_release_appl(struct list_head *head, u16 applid) in capilib_release_appl()
142 void capilib_release(struct list_head *head) in capilib_release()
157 u16 capilib_data_b3_req(struct list_head *head, u16 applid, u32 ncci, u16 msgid) in capilib_data_b3_req()
180 void capilib_data_b3_conf(struct list_head *head, u16 applid, u32 ncci, u16 msgid) in capilib_data_b3_conf()
/linux-3.3/net/batman-adv/
Dunicast.c34 static struct sk_buff *frag_merge_packet(struct list_head *head, in frag_merge_packet()
80 static void frag_create_entry(struct list_head *head, struct sk_buff *skb) in frag_create_entry()
96 static int frag_create_buffer(struct list_head *head) in frag_create_buffer()
116 static struct frag_packet_list_entry *frag_search_packet(struct list_head *head, in frag_search_packet()
154 void frag_list_free(struct list_head *head) in frag_list_free()

12345678910>>...34