Home
last modified time | relevance | path

Searched refs:member (Results 1 – 25 of 142) sorted by relevance

123456

/linux-2.6.39/include/linux/
Ddrbd_tag_magic.h11 #define NL_INTEGER(pn, pr, member) argument
12 #define NL_INT64(pn, pr, member) argument
13 #define NL_BIT(pn, pr, member) argument
14 #define NL_STRING(pn, pr, member, len) argument
22 #define NL_INTEGER(pn, pr, member) \ argument
23 int member; int tag_and_len ## member;
24 #define NL_INT64(pn, pr, member) \ argument
25 __u64 member; int tag_and_len ## member;
26 #define NL_BIT(pn, pr, member) \ argument
27 unsigned char member:1; int tag_and_len ## member;
[all …]
Dlist.h350 #define list_entry(ptr, type, member) \ argument
351 container_of(ptr, type, member)
361 #define list_first_entry(ptr, type, member) \ argument
362 list_entry((ptr)->next, type, member)
422 #define list_for_each_entry(pos, head, member) \ argument
423 for (pos = list_entry((head)->next, typeof(*pos), member); \
424 prefetch(pos->member.next), &pos->member != (head); \
425 pos = list_entry(pos->member.next, typeof(*pos), member))
433 #define list_for_each_entry_reverse(pos, head, member) \ argument
434 for (pos = list_entry((head)->prev, typeof(*pos), member); \
[all …]
Drculist.h225 #define list_entry_rcu(ptr, type, member) \ argument
227 container_of((typeof(ptr))rcu_dereference_raw(__ptr), type, member); \
241 #define list_first_entry_rcu(ptr, type, member) \ argument
242 list_entry_rcu((ptr)->next, type, member)
254 #define list_for_each_entry_rcu(pos, head, member) \ argument
255 for (pos = list_entry_rcu((head)->next, typeof(*pos), member); \
256 prefetch(pos->member.next), &pos->member != (head); \
257 pos = list_entry_rcu(pos->member.next, typeof(*pos), member))
285 #define list_for_each_entry_continue_rcu(pos, head, member) \ argument
286 for (pos = list_entry_rcu(pos->member.next, typeof(*pos), member); \
[all …]
Dplist.h253 # define plist_first_entry(head, type, member) \ argument
256 container_of(plist_first(head), type, member); \
259 # define plist_first_entry(head, type, member) \ argument
260 container_of(plist_first(head), type, member)
270 # define plist_last_entry(head, type, member) \ argument
273 container_of(plist_last(head), type, member); \
276 # define plist_last_entry(head, type, member) \ argument
277 container_of(plist_last(head), type, member)
Dlist_nulls.h27 #define hlist_nulls_entry(ptr, type, member) container_of(ptr,type,member) argument
94 #define hlist_nulls_for_each_entry(tpos, pos, head, member) \ argument
97 ({ tpos = hlist_nulls_entry(pos, typeof(*tpos), member); 1;}); \
107 #define hlist_nulls_for_each_entry_from(tpos, pos, member) \ argument
109 ({ tpos = hlist_nulls_entry(pos, typeof(*tpos), member); 1;}); \
Dlist_bl.h49 #define hlist_bl_entry(ptr, type, member) container_of(ptr,type,member) argument
136 #define hlist_bl_for_each_entry(tpos, pos, head, member) \ argument
139 ({ tpos = hlist_bl_entry(pos, typeof(*tpos), member); 1;}); \
150 #define hlist_bl_for_each_entry_safe(tpos, pos, n, head, member) \ argument
153 ({ tpos = hlist_bl_entry(pos, typeof(*tpos), member); 1;}); \
Dirq_cpustat.h21 #define __IRQ_STAT(cpu, member) (irq_stat[cpu].member) argument
Dmm.h1064 static inline void set_mm_counter(struct mm_struct *mm, int member, long value) in set_mm_counter() argument
1066 atomic_long_set(&mm->rss_stat.count[member], value); in set_mm_counter()
1069 unsigned long get_mm_counter(struct mm_struct *mm, int member);
1071 static inline void add_mm_counter(struct mm_struct *mm, int member, long value) in add_mm_counter() argument
1073 atomic_long_add(value, &mm->rss_stat.count[member]); in add_mm_counter()
1076 static inline void inc_mm_counter(struct mm_struct *mm, int member) in inc_mm_counter() argument
1078 atomic_long_inc(&mm->rss_stat.count[member]); in inc_mm_counter()
1081 static inline void dec_mm_counter(struct mm_struct *mm, int member) in dec_mm_counter() argument
1083 atomic_long_dec(&mm->rss_stat.count[member]); in dec_mm_counter()
1091 static inline void set_mm_counter(struct mm_struct *mm, int member, long value) in set_mm_counter() argument
[all …]
Dres_counter.h71 u64 res_counter_read_u64(struct res_counter *counter, int member);
73 ssize_t res_counter_read(struct res_counter *counter, int member,
82 int res_counter_write(struct res_counter *counter, int member,
/linux-2.6.39/drivers/gpu/drm/radeon/
Dmkregtable.c27 #define container_of(ptr, type, member) ({ \ argument
28 const typeof(((type *)0)->member)*__mptr = (ptr); \
29 (type *)((char *)__mptr - offsetof(type, member)); })
352 #define list_entry(ptr, type, member) \ argument
353 container_of(ptr, type, member)
363 #define list_first_entry(ptr, type, member) \ argument
364 list_entry((ptr)->next, type, member)
424 #define list_for_each_entry(pos, head, member) \ argument
425 for (pos = list_entry((head)->next, typeof(*pos), member); \
426 &pos->member != (head); \
[all …]
/linux-2.6.39/drivers/isdn/mISDN/
Ddsp_cmx.c162 struct dsp_conf_member *member; in dsp_cmx_debug() local
179 list_for_each_entry(member, &conf->mlist, list) { in dsp_cmx_debug()
184 member->dsp->name, member->dsp->pcm_slot_tx, in dsp_cmx_debug()
185 member->dsp->pcm_bank_tx, member->dsp->pcm_slot_rx, in dsp_cmx_debug()
186 member->dsp->pcm_bank_rx, member->dsp->hfc_conf, in dsp_cmx_debug()
187 member->dsp->tx_data, member->dsp->rx_is_off, in dsp_cmx_debug()
188 (member->dsp == dsp) ? " *this*" : ""); in dsp_cmx_debug()
222 struct dsp_conf_member *member; in dsp_cmx_add_conf_member() local
228 if (dsp->member) { in dsp_cmx_add_conf_member()
240 member = kzalloc(sizeof(struct dsp_conf_member), GFP_ATOMIC); in dsp_cmx_add_conf_member()
[all …]
/linux-2.6.39/drivers/infiniband/core/
Dmulticast.c200 static void deref_member(struct mcast_member *member) in deref_member() argument
202 if (atomic_dec_and_test(&member->refcount)) in deref_member()
203 complete(&member->comp); in deref_member()
206 static void queue_join(struct mcast_member *member) in queue_join() argument
208 struct mcast_group *group = member->group; in queue_join()
212 list_add_tail(&member->list, &group->pending_list); in queue_join()
329 static int send_join(struct mcast_group *group, struct mcast_member *member) in send_join() argument
334 group->last_join = member; in send_join()
337 &member->multicast.rec, in send_join()
338 member->multicast.comp_mask, in send_join()
[all …]
/linux-2.6.39/tools/firewire/
Dlist.h46 #define list_entry(link, type, member) \ argument
47 ((type *)((char *)(link)-(unsigned long)(&((type *)0)->member)))
49 #define list_head(list, type, member) \ argument
50 list_entry((list)->next, type, member)
52 #define list_tail(list, type, member) \ argument
53 list_entry((list)->prev, type, member)
55 #define list_next(elm, member) \ argument
56 list_entry((elm)->member.next, typeof(*elm), member)
58 #define list_for_each_entry(pos, list, member) \ argument
59 for (pos = list_head(list, typeof(*pos), member); \
[all …]
/linux-2.6.39/security/tomoyo/
Dgroup.c40 struct list_head *member; in tomoyo_write_group() local
48 member = &group->member_list; in tomoyo_write_group()
57 member, tomoyo_same_path_group); in tomoyo_write_group()
66 member, tomoyo_same_number_group); in tomoyo_write_group()
92 struct tomoyo_path_group *member; in tomoyo_path_matches_group() local
93 list_for_each_entry_rcu(member, &group->member_list, head.list) { in tomoyo_path_matches_group()
94 if (member->head.is_deleted) in tomoyo_path_matches_group()
96 if (!tomoyo_path_matches_pattern(pathname, member->member_name)) in tomoyo_path_matches_group()
98 return member->member_name; in tomoyo_path_matches_group()
118 struct tomoyo_number_group *member; in tomoyo_number_matches_group() local
[all …]
Dgc.c177 struct tomoyo_path_group *member = in tomoyo_del_path_group() local
178 container_of(element, typeof(*member), head.list); in tomoyo_del_path_group()
179 tomoyo_put_name(member->member_name); in tomoyo_del_path_group()
191 struct tomoyo_number_group *member = in tomoyo_del_number_group() local
192 container_of(element, typeof(*member), head.list); in tomoyo_del_number_group()
197 struct tomoyo_acl_head *member; in tomoyo_collect_member() local
198 list_for_each_entry(member, member_list, list) { in tomoyo_collect_member()
199 if (!member->is_deleted) in tomoyo_collect_member()
201 if (!tomoyo_add_to_gc(id, &member->list)) in tomoyo_collect_member()
/linux-2.6.39/arch/powerpc/include/asm/
Dfs_pd.h24 #define cpm2_map(member) (&cpm2_immr->member) argument
25 #define cpm2_map_size(member, size) (&cpm2_immr->member) argument
35 #define immr_map(member) (&mpc8xx_immr->member) argument
36 #define immr_map_size(member, size) (&mpc8xx_immr->member) argument
/linux-2.6.39/fs/btrfs/
Dstruct-funcs.c44 #define BTRFS_SETGET_FUNCS(name, type, member, bits) \ argument
51 unsigned long offset = part_offset + offsetof(type, member); \
55 offset + sizeof(((type *)0)->member) <= eb->map_start + \
58 return le##bits##_to_cpu(p->member); \
69 sizeof(((type *)0)->member), \
74 read_eb_member(eb, s, type, member, &leres); \
78 res = le##bits##_to_cpu(p->member); \
88 unsigned long offset = part_offset + offsetof(type, member); \
92 offset + sizeof(((type *)0)->member) <= eb->map_start + \
95 p->member = cpu_to_le##bits(val); \
[all …]
/linux-2.6.39/kernel/
Dres_counter.c93 res_counter_member(struct res_counter *counter, int member) in res_counter_member() argument
95 switch (member) { in res_counter_member()
112 ssize_t res_counter_read(struct res_counter *counter, int member, in res_counter_read() argument
120 val = res_counter_member(counter, member); in res_counter_read()
130 u64 res_counter_read_u64(struct res_counter *counter, int member) in res_counter_read_u64() argument
136 ret = *res_counter_member(counter, member); in res_counter_read_u64()
142 u64 res_counter_read_u64(struct res_counter *counter, int member) in res_counter_read_u64() argument
144 return *res_counter_member(counter, member); in res_counter_read_u64()
171 int res_counter_write(struct res_counter *counter, int member, in res_counter_write() argument
187 val = res_counter_member(counter, member); in res_counter_write()
/linux-2.6.39/arch/alpha/kernel/
Dsetup.c934 unsigned long member = (variation >> 10) & 0x3f; in get_sysvec() local
940 if (member < ARRAY_SIZE(alcor_indices)) in get_sysvec()
941 vec = alcor_vecs[alcor_indices[member]]; in get_sysvec()
944 if (member < ARRAY_SIZE(eb164_indices)) in get_sysvec()
945 vec = eb164_vecs[eb164_indices[member]]; in get_sysvec()
952 if (member < ARRAY_SIZE(eb64p_indices)) in get_sysvec()
953 vec = eb64p_vecs[eb64p_indices[member]]; in get_sysvec()
956 if (member < ARRAY_SIZE(eb66_indices)) in get_sysvec()
957 vec = eb66_vecs[eb66_indices[member]]; in get_sysvec()
960 if (member < ARRAY_SIZE(marvel_indices)) in get_sysvec()
[all …]
/linux-2.6.39/arch/arm/include/asm/
Dhardirq.h22 #define __inc_irq_stat(cpu, member) __IRQ_STAT(cpu, member)++ argument
23 #define __get_irq_stat(cpu, member) __IRQ_STAT(cpu, member) argument
/linux-2.6.39/drivers/scsi/lpfc/
Dlpfc_scsi.h25 #define list_remove_head(list, entry, type, member) \ argument
29 entry = list_entry((list)->next, type, member); \
30 list_del_init(&entry->member); \
34 #define list_get_first(list, type, member) \ argument
36 list_entry((list)->next, type, member)
/linux-2.6.39/arch/x86/kernel/cpu/cpufreq/
Dpcc-cpufreq.c397 union acpi_object *out_obj, *member; in pcc_cpufreq_probe() local
428 member = &out_obj->package.elements[0]; in pcc_cpufreq_probe()
429 if (member->type != ACPI_TYPE_BUFFER) { in pcc_cpufreq_probe()
434 mem_resource = (struct pcc_memory_resource *)member->buffer.pointer; in pcc_cpufreq_probe()
483 member = &out_obj->package.elements[1]; in pcc_cpufreq_probe()
484 if (member->type != ACPI_TYPE_BUFFER) { in pcc_cpufreq_probe()
489 reg_resource = (struct pcc_register_resource *)member->buffer.pointer; in pcc_cpufreq_probe()
502 member = &out_obj->package.elements[2]; in pcc_cpufreq_probe()
503 if (member->type != ACPI_TYPE_INTEGER) { in pcc_cpufreq_probe()
508 doorbell_preserve = member->integer.value; in pcc_cpufreq_probe()
[all …]
/linux-2.6.39/arch/tile/include/asm/
Dhardirq.h41 #define __IRQ_STAT(cpu, member) (per_cpu(irq_stat, cpu).member) argument
/linux-2.6.39/sound/pci/ice1712/
Dse.c366 const char **member; member
407 .member = se200pci_sel
413 .member = se200pci_agc
424 const char **member; in se200pci_get_enum_count() local
427 member = se200pci_cont[n].member; in se200pci_get_enum_count()
428 if (!member) in se200pci_get_enum_count()
430 for (c = 0; member[c]; c++) in se200pci_get_enum_count()
462 se200pci_cont[n].member[uinfo->value.enumerated.item]); in se200pci_cont_enum_info()
/linux-2.6.39/Documentation/block/
Drequest.txt21 D driver member
22 B block layer member
23 I I/O scheduler member
26 this member. Some members may contain D classifications, but should only be

123456