Searched refs:member (Results 1 - 200 of 543) sorted by relevance

123

/linux-4.4.14/tools/firewire/
H A Dlist.h46 #define list_entry(link, type, member) \
47 ((type *)((char *)(link)-(unsigned long)(&((type *)0)->member)))
49 #define list_head(list, type, member) \
50 list_entry((list)->next, type, member)
52 #define list_tail(list, type, member) \
53 list_entry((list)->prev, type, member)
55 #define list_next(elm, member) \
56 list_entry((elm)->member.next, typeof(*elm), member)
58 #define list_for_each_entry(pos, list, member) \
59 for (pos = list_head(list, typeof(*pos), member); \
60 &pos->member != (list); \
61 pos = list_next(pos, member))
/linux-4.4.14/arch/powerpc/include/asm/
H A Dfs_pd.h24 #define cpm2_map(member) (&cpm2_immr->member)
25 #define cpm2_map_size(member, size) (&cpm2_immr->member)
34 #define immr_map(member) (&mpc8xx_immr->member)
35 #define immr_map_size(member, size) (&mpc8xx_immr->member)
/linux-4.4.14/arch/arm/include/asm/
H A Dhardirq.h19 #define __inc_irq_stat(cpu, member) __IRQ_STAT(cpu, member)++
20 #define __get_irq_stat(cpu, member) __IRQ_STAT(cpu, member)
H A Dstacktrace.h8 * FP member should hold R7 when CONFIG_THUMB2_KERNEL is enabled
/linux-4.4.14/scripts/kconfig/
H A Dlist.h12 * container_of - cast a member of a structure out to the containing structure
13 * @ptr: the pointer to the member.
15 * @member: the name of the member within the struct.
18 #define container_of(ptr, type, member) ({ \
19 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
20 (type *)( (char *)__mptr - offsetof(type,member) );})
37 * @member: the name of the list_head within the struct.
39 #define list_entry(ptr, type, member) \
40 container_of(ptr, type, member)
46 * @member: the name of the list_head within the struct.
48 #define list_for_each_entry(pos, head, member) \
49 for (pos = list_entry((head)->next, typeof(*pos), member); \
50 &pos->member != (head); \
51 pos = list_entry(pos->member.next, typeof(*pos), member))
58 * @member: the name of the list_head within the struct.
60 #define list_for_each_entry_safe(pos, n, head, member) \
61 for (pos = list_entry((head)->next, typeof(*pos), member), \
62 n = list_entry(pos->member.next, typeof(*pos), member); \
63 &pos->member != (head); \
64 pos = n, n = list_entry(n->member.next, typeof(*n), member))
/linux-4.4.14/arch/parisc/include/asm/
H A Dhardirq.h33 #define __IRQ_STAT(cpu, member) (irq_stat[cpu].member)
34 #define inc_irq_stat(member) this_cpu_inc(irq_stat.member)
35 #define __inc_irq_stat(member) __this_cpu_inc(irq_stat.member)
/linux-4.4.14/fs/dlm/
H A DMakefile8 member.o \
H A Dmember.c15 #include "member.h"
470 than the one when this member was added, then dlm_lsop_recover_slot()
539 log_rinfo(ls, "prev removed member %d", memb->nodeid); dlm_recover_members()
551 log_rinfo(ls, "remove member %d", memb->nodeid); dlm_recover_members()
554 log_rinfo(ls, "remove member %d comm_seq %u %u", dlm_recover_members()
571 log_rinfo(ls, "add member %d", node->nodeid); dlm_recover_members()
H A Drequestqueue.c14 #include "member.h"
H A Ddir.c16 #include "member.h"
H A Drecoverd.c16 #include "member.h"
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvif/
H A Dlist.h250 * @param member Member name of the struct list_head field in the list element.
254 #define container_of(ptr, type, member) \
255 (type *)((char *)(ptr) - (char *) &((type *)0)->member)
261 #define list_entry(ptr, type, member) \
262 container_of(ptr, type, member)
273 * @param member Member name of the struct list_head field in the list element.
276 #define list_first_entry(ptr, type, member) \
277 list_entry((ptr)->next, type, member)
288 * @param member Member name of the struct list_head field in the list element.
291 #define list_last_entry(ptr, type, member) \
292 list_entry((ptr)->prev, type, member)
294 #define __container_of(ptr, sample, member) \
295 (void *)container_of((ptr), typeof(*(sample)), member)
311 * @param member Member name of the struct list_head in the list elements.
314 #define list_for_each_entry(pos, head, member) \
315 for (pos = __container_of((head)->next, pos, member); \
316 &pos->member != (head); \
317 pos = __container_of(pos->member.next, pos, member))
326 #define list_for_each_entry_safe(pos, tmp, head, member) \
327 for (pos = __container_of((head)->next, pos, member), \
328 tmp = __container_of(pos->member.next, pos, member); \
329 &pos->member != (head); \
330 pos = tmp, tmp = __container_of(pos->member.next, tmp, member))
333 #define list_for_each_entry_reverse(pos, head, member) \
334 for (pos = __container_of((head)->prev, pos, member); \
335 &pos->member != (head); \
336 pos = __container_of(pos->member.prev, pos, member))
338 #define list_for_each_entry_continue(pos, head, member) \
339 for (pos = __container_of(pos->member.next, pos, member); \
340 &pos->member != (head); \
341 pos = __container_of(pos->member.next, pos, member))
343 #define list_for_each_entry_continue_reverse(pos, head, member) \
344 for (pos = __container_of(pos->member.prev, pos, member); \
345 &pos->member != (head); \
346 pos = __container_of(pos->member.prev, pos, member))
348 #define list_for_each_entry_from(pos, head, member) \
350 &pos->member != (head); \
351 pos = __container_of(pos->member.next, pos, member))
/linux-4.4.14/drivers/gpu/drm/radeon/
H A Dmkregtable.c21 * container_of - cast a member of a structure out to the containing structure
22 * @ptr: the pointer to the member.
24 * @member: the name of the member within the struct.
27 #define container_of(ptr, type, member) ({ \
28 const typeof(((type *)0)->member)*__mptr = (ptr); \
29 (type *)((char *)__mptr - offsetof(type, member)); })
213 * in the process of modifying either member (next or prev)
350 * @member: the name of the list_head within the struct.
352 #define list_entry(ptr, type, member) \
353 container_of(ptr, type, member)
359 * @member: the name of the list_head within the struct.
363 #define list_first_entry(ptr, type, member) \
364 list_entry((ptr)->next, type, member)
409 * @member: the name of the list_head within the struct.
411 #define list_for_each_entry(pos, head, member) \
412 for (pos = list_entry((head)->next, typeof(*pos), member); \
413 &pos->member != (head); \
414 pos = list_entry(pos->member.next, typeof(*pos), member))
420 * @member: the name of the list_head within the struct.
422 #define list_for_each_entry_reverse(pos, head, member) \
423 for (pos = list_entry((head)->prev, typeof(*pos), member); \
424 prefetch(pos->member.prev), &pos->member != (head); \
425 pos = list_entry(pos->member.prev, typeof(*pos), member))
431 * @member: the name of the list_head within the struct.
435 #define list_prepare_entry(pos, head, member) \
436 ((pos) ? : list_entry(head, typeof(*pos), member))
442 * @member: the name of the list_head within the struct.
447 #define list_for_each_entry_continue(pos, head, member) \
448 for (pos = list_entry(pos->member.next, typeof(*pos), member); \
449 prefetch(pos->member.next), &pos->member != (head); \
450 pos = list_entry(pos->member.next, typeof(*pos), member))
456 * @member: the name of the list_head within the struct.
461 #define list_for_each_entry_continue_reverse(pos, head, member) \
462 for (pos = list_entry(pos->member.prev, typeof(*pos), member); \
463 prefetch(pos->member.prev), &pos->member != (head); \
464 pos = list_entry(pos->member.prev, typeof(*pos), member))
470 * @member: the name of the list_head within the struct.
474 #define list_for_each_entry_from(pos, head, member) \
475 for (; prefetch(pos->member.next), &pos->member != (head); \
476 pos = list_entry(pos->member.next, typeof(*pos), member))
483 * @member: the name of the list_head within the struct.
485 #define list_for_each_entry_safe(pos, n, head, member) \
486 for (pos = list_entry((head)->next, typeof(*pos), member), \
487 n = list_entry(pos->member.next, typeof(*pos), member); \
488 &pos->member != (head); \
489 pos = n, n = list_entry(n->member.next, typeof(*n), member))
496 * @member: the name of the list_head within the struct.
501 #define list_for_each_entry_safe_continue(pos, n, head, member) \
502 for (pos = list_entry(pos->member.next, typeof(*pos), member), \
503 n = list_entry(pos->member.next, typeof(*pos), member); \
504 &pos->member != (head); \
505 pos = n, n = list_entry(n->member.next, typeof(*n), member))
512 * @member: the name of the list_head within the struct.
517 #define list_for_each_entry_safe_from(pos, n, head, member) \
518 for (n = list_entry(pos->member.next, typeof(*pos), member); \
519 &pos->member != (head); \
520 pos = n, n = list_entry(n->member.next, typeof(*n), member))
527 * @member: the name of the list_head within the struct.
532 #define list_for_each_entry_safe_reverse(pos, n, head, member) \
533 for (pos = list_entry((head)->prev, typeof(*pos), member), \
534 n = list_entry(pos->member.prev, typeof(*pos), member); \
535 &pos->member != (head); \
536 pos = n, n = list_entry(n->member.prev, typeof(*n), member))
/linux-4.4.14/drivers/infiniband/core/
H A Dmulticast.c201 static void deref_member(struct mcast_member *member) deref_member() argument
203 if (atomic_dec_and_test(&member->refcount)) deref_member()
204 complete(&member->comp); deref_member()
207 static void queue_join(struct mcast_member *member) queue_join() argument
209 struct mcast_group *group = member->group; queue_join()
213 list_add_tail(&member->list, &group->pending_list); queue_join()
223 * A multicast group has three types of members: full member, non member, and
224 * send only member. We need to keep track of the number of members of each
239 * the group is still a member with the SA, we need to leave that join state.
330 static int send_join(struct mcast_group *group, struct mcast_member *member) send_join() argument
335 group->last_join = member; send_join()
338 &member->multicast.rec, send_join()
339 member->multicast.comp_mask, send_join()
373 static void join_group(struct mcast_group *group, struct mcast_member *member, join_group() argument
376 member->state = MCAST_MEMBER; join_group()
379 member->multicast.rec = group->rec; join_group()
380 member->multicast.rec.join_state = join_state; join_group()
381 list_move(&member->list, &group->active_list); join_group()
384 static int fail_join(struct mcast_group *group, struct mcast_member *member, fail_join() argument
388 list_del_init(&member->list); fail_join()
390 return member->multicast.callback(status, &member->multicast); fail_join()
395 struct mcast_member *member; process_group_error() local
410 member = list_entry(group->active_list.next, process_group_error()
412 atomic_inc(&member->refcount); process_group_error()
413 list_del_init(&member->list); process_group_error()
414 adjust_membership(group, member->multicast.rec.join_state, -1); process_group_error()
415 member->state = MCAST_ERROR; process_group_error()
418 ret = member->multicast.callback(-ENETRESET, process_group_error()
419 &member->multicast); process_group_error()
420 deref_member(member); process_group_error()
422 ib_sa_free_multicast(&member->multicast); process_group_error()
435 struct mcast_member *member; mcast_work_handler() local
452 member = list_entry(group->pending_list.next, mcast_work_handler()
454 multicast = &member->multicast; mcast_work_handler()
456 atomic_inc(&member->refcount); mcast_work_handler()
462 join_group(group, member, join_state); mcast_work_handler()
464 list_del_init(&member->list); mcast_work_handler()
469 status = send_join(group, member); mcast_work_handler()
471 deref_member(member); mcast_work_handler()
474 ret = fail_join(group, member, status); mcast_work_handler()
477 deref_member(member); mcast_work_handler()
479 ib_sa_free_multicast(&member->multicast); mcast_work_handler()
501 struct mcast_member *member; process_join_error() local
505 member = list_entry(group->pending_list.next, process_join_error()
507 if (group->last_join == member) { process_join_error()
508 atomic_inc(&member->refcount); process_join_error()
509 list_del_init(&member->list); process_join_error()
511 ret = member->multicast.callback(status, &member->multicast); process_join_error()
512 deref_member(member); process_join_error()
514 ib_sa_free_multicast(&member->multicast); process_join_error()
621 struct mcast_member *member; ib_sa_join_multicast() local
629 member = kmalloc(sizeof *member, gfp_mask); ib_sa_join_multicast()
630 if (!member) ib_sa_join_multicast()
634 member->client = client; ib_sa_join_multicast()
635 member->multicast.rec = *rec; ib_sa_join_multicast()
636 member->multicast.comp_mask = comp_mask; ib_sa_join_multicast()
637 member->multicast.callback = callback; ib_sa_join_multicast()
638 member->multicast.context = context; ib_sa_join_multicast()
639 init_completion(&member->comp); ib_sa_join_multicast()
640 atomic_set(&member->refcount, 1); ib_sa_join_multicast()
641 member->state = MCAST_JOINING; ib_sa_join_multicast()
643 member->group = acquire_group(&dev->port[port_num - dev->start_port], ib_sa_join_multicast()
645 if (!member->group) { ib_sa_join_multicast()
656 multicast = &member->multicast; ib_sa_join_multicast()
657 queue_join(member); ib_sa_join_multicast()
662 kfree(member); ib_sa_join_multicast()
669 struct mcast_member *member; ib_sa_free_multicast() local
672 member = container_of(multicast, struct mcast_member, multicast); ib_sa_free_multicast()
673 group = member->group; ib_sa_free_multicast()
676 if (member->state == MCAST_MEMBER) ib_sa_free_multicast()
679 list_del_init(&member->list); ib_sa_free_multicast()
691 deref_member(member); ib_sa_free_multicast()
692 wait_for_completion(&member->comp); ib_sa_free_multicast()
693 ib_sa_client_put(member->client); ib_sa_free_multicast()
694 kfree(member); ib_sa_free_multicast()
H A Dfmr_pool.c56 * If an FMR is not in use, then the list member will point to either
61 * if ref_count is > 0, then the list member must not be linked into
64 * The cache_node member is used to link the FMR into a cache bucket
/linux-4.4.14/tools/lib/lockdep/uinclude/linux/
H A Dkernel.h11 #define container_of(ptr, type, member) ({ \
12 const typeof(((type *)0)->member) * __mptr = (ptr); \
13 (type *)((char *)__mptr - offsetof(type, member)); })
/linux-4.4.14/security/tomoyo/
H A Dgroup.c119 * Returns matched member's pathname if @pathname matches pathnames in @group,
128 struct tomoyo_path_group *member; tomoyo_path_matches_group() local
129 list_for_each_entry_rcu(member, &group->member_list, head.list) { tomoyo_path_matches_group()
130 if (member->head.is_deleted) tomoyo_path_matches_group()
132 if (!tomoyo_path_matches_pattern(pathname, member->member_name)) tomoyo_path_matches_group()
134 return member->member_name; tomoyo_path_matches_group()
154 struct tomoyo_number_group *member; tomoyo_number_matches_group() local
156 list_for_each_entry_rcu(member, &group->member_list, head.list) { tomoyo_number_matches_group()
157 if (member->head.is_deleted) tomoyo_number_matches_group()
159 if (min > member->number.values[1] || tomoyo_number_matches_group()
160 max < member->number.values[0]) tomoyo_number_matches_group()
182 struct tomoyo_address_group *member; tomoyo_address_matches_group() local
186 list_for_each_entry_rcu(member, &group->member_list, head.list) { tomoyo_address_matches_group()
187 if (member->head.is_deleted) tomoyo_address_matches_group()
189 if (member->address.is_ipv6 != is_ipv6) tomoyo_address_matches_group()
191 if (memcmp(&member->address.ip[0], address, size) > 0 || tomoyo_address_matches_group()
192 memcmp(address, &member->address.ip[1], size) > 0) tomoyo_address_matches_group()
H A Dgc.c321 struct tomoyo_path_group *member = tomoyo_del_path_group() local
322 container_of(element, typeof(*member), head.list); tomoyo_del_path_group()
323 tomoyo_put_name(member->member_name); tomoyo_del_path_group()
476 struct tomoyo_acl_head *member; tomoyo_collect_member() local
478 list_for_each_entry_safe(member, tmp, member_list, list) { list_for_each_entry_safe()
479 if (!member->is_deleted) list_for_each_entry_safe()
481 member->is_deleted = TOMOYO_GC_IN_PROGRESS; list_for_each_entry_safe()
482 tomoyo_try_to_gc(id, &member->list); list_for_each_entry_safe()
/linux-4.4.14/drivers/isdn/mISDN/
H A Ddsp_cmx.c32 * There are 3 types of interaction: One member is alone, in this case only
54 * individual member. This is only the case if data needs to be dejittered
87 * If a member joins a conference:
89 * - If a member joins, its rx_buff is set to silence and change read pointer
109 * If tones are generated by hardware, this conference member is removed for
162 struct dsp_conf_member *member; dsp_cmx_debug() local
179 list_for_each_entry(member, &conf->mlist, list) { dsp_cmx_debug()
181 " - member = %s (slot_tx %d, bank_tx %d, " dsp_cmx_debug()
184 member->dsp->name, member->dsp->pcm_slot_tx, dsp_cmx_debug()
185 member->dsp->pcm_bank_tx, member->dsp->pcm_slot_rx, dsp_cmx_debug()
186 member->dsp->pcm_bank_rx, member->dsp->hfc_conf, dsp_cmx_debug()
187 member->dsp->tx_data, member->dsp->rx_is_off, dsp_cmx_debug()
188 (member->dsp == dsp) ? " *this*" : ""); dsp_cmx_debug()
217 * add member to conference
222 struct dsp_conf_member *member; dsp_cmx_add_conf_member() local
228 if (dsp->member) { dsp_cmx_add_conf_member()
229 printk(KERN_WARNING "%s: dsp is already member in a conf.\n", dsp_cmx_add_conf_member()
240 member = kzalloc(sizeof(struct dsp_conf_member), GFP_ATOMIC); dsp_cmx_add_conf_member()
241 if (!member) { dsp_cmx_add_conf_member()
245 member->dsp = dsp; dsp_cmx_add_conf_member()
252 list_add_tail(&member->list, &conf->mlist); dsp_cmx_add_conf_member()
255 dsp->member = member; dsp_cmx_add_conf_member()
262 * del member from conference
267 struct dsp_conf_member *member; dsp_cmx_del_conf_member() local
288 list_for_each_entry(member, &dsp->conf->mlist, list) { dsp_cmx_del_conf_member()
289 if (member->dsp == dsp) { dsp_cmx_del_conf_member()
290 list_del(&member->list); dsp_cmx_del_conf_member()
292 dsp->member = NULL; dsp_cmx_del_conf_member()
293 kfree(member); dsp_cmx_del_conf_member()
381 * be member of that conference.
386 struct dsp_conf_member *member, *nextm; dsp_cmx_hardware() local
513 member = list_entry(conf->mlist.next, struct dsp_conf_member, list); dsp_cmx_hardware()
514 same_hfc = member->dsp->features.hfc_id; dsp_cmx_hardware()
515 same_pcm = member->dsp->features.pcm_id; dsp_cmx_hardware()
517 list_for_each_entry(member, &conf->mlist, list) { dsp_cmx_hardware()
518 /* check if member uses mixing */ dsp_cmx_hardware()
519 if (member->dsp->tx_mix) { dsp_cmx_hardware()
524 member->dsp->name); dsp_cmx_hardware()
526 list_for_each_entry(member, &conf->mlist, list) { dsp_cmx_hardware()
527 dsp = member->dsp; dsp_cmx_hardware()
568 /* check if member has echo turned on */ dsp_cmx_hardware()
569 if (member->dsp->echo.hardware || member->dsp->echo.software) { dsp_cmx_hardware()
574 member->dsp->name); dsp_cmx_hardware()
577 /* check if member has tx_mix turned on */ dsp_cmx_hardware()
578 if (member->dsp->tx_mix) { dsp_cmx_hardware()
583 __func__, member->dsp->name); dsp_cmx_hardware()
586 /* check if member changes volume at an not suppoted level */ dsp_cmx_hardware()
587 if (member->dsp->tx_volume) { dsp_cmx_hardware()
592 __func__, member->dsp->name); dsp_cmx_hardware()
595 if (member->dsp->rx_volume) { dsp_cmx_hardware()
600 __func__, member->dsp->name); dsp_cmx_hardware()
604 if (member->dsp->tx_data) { dsp_cmx_hardware()
608 __func__, member->dsp->name); dsp_cmx_hardware()
612 if (member->dsp->pipeline.inuse) { dsp_cmx_hardware()
617 member->dsp->name); dsp_cmx_hardware()
621 if (member->dsp->bf_enable) { dsp_cmx_hardware()
625 __func__, member->dsp->name); dsp_cmx_hardware()
628 /* check if member is on a card with PCM support */ dsp_cmx_hardware()
629 if (member->dsp->features.pcm_id < 0) { dsp_cmx_hardware()
634 __func__, member->dsp->name); dsp_cmx_hardware()
638 if (member->dsp->features.pcm_id != same_pcm) { dsp_cmx_hardware()
644 __func__, member->dsp->name); dsp_cmx_hardware()
648 if (same_hfc != member->dsp->features.hfc_id) dsp_cmx_hardware()
651 if (current_conf < 0 && member->dsp->hfc_conf >= 0) dsp_cmx_hardware()
652 current_conf = member->dsp->hfc_conf; dsp_cmx_hardware()
653 /* if any member is not in a conference */ dsp_cmx_hardware()
654 if (member->dsp->hfc_conf < 0) dsp_cmx_hardware()
660 /* if no member, this is an error */ dsp_cmx_hardware()
664 /* one member */ dsp_cmx_hardware()
672 member = list_entry(conf->mlist.next, struct dsp_conf_member, dsp_cmx_hardware()
674 dsp = member->dsp; dsp_cmx_hardware()
686 member = list_entry(conf->mlist.next, struct dsp_conf_member, dsp_cmx_hardware()
688 nextm = list_entry(member->list.next, struct dsp_conf_member, dsp_cmx_hardware()
691 if (member->dsp->hfc_conf >= 0) { dsp_cmx_hardware()
696 __func__, member->dsp->name, dsp_cmx_hardware()
697 member->dsp->hfc_conf); dsp_cmx_hardware()
698 dsp_cmx_hw_message(member->dsp, dsp_cmx_hardware()
700 member->dsp->hfc_conf = -1; dsp_cmx_hardware()
714 if (member->dsp->features.pcm_banks > 1 && dsp_cmx_hardware()
716 member->dsp->features.hfc_id != dsp_cmx_hardware()
719 if (member->dsp->pcm_slot_tx >= 0 && dsp_cmx_hardware()
720 member->dsp->pcm_slot_rx >= 0 && dsp_cmx_hardware()
724 member->dsp->pcm_slot_rx && dsp_cmx_hardware()
726 member->dsp->pcm_slot_tx && dsp_cmx_hardware()
728 member->dsp->pcm_slot_tx && dsp_cmx_hardware()
729 member->dsp->pcm_bank_tx != dsp_cmx_hardware()
730 member->dsp->pcm_bank_rx && dsp_cmx_hardware()
740 member->dsp->name, dsp_cmx_hardware()
742 member->dsp->pcm_slot_tx, dsp_cmx_hardware()
743 member->dsp->pcm_bank_tx, dsp_cmx_hardware()
744 member->dsp->pcm_bank_rx); dsp_cmx_hardware()
752 if (dsp != member->dsp && dsp_cmx_hardware()
754 member->dsp->features.pcm_id == dsp_cmx_hardware()
767 ii = member->dsp->features.pcm_slots; dsp_cmx_hardware()
778 member->dsp->name, dsp_cmx_hardware()
784 member->dsp->pcm_slot_tx = i; dsp_cmx_hardware()
785 member->dsp->pcm_slot_rx = i; dsp_cmx_hardware()
788 member->dsp->pcm_bank_rx = 0; dsp_cmx_hardware()
789 member->dsp->pcm_bank_tx = 1; dsp_cmx_hardware()
798 member->dsp->name, dsp_cmx_hardware()
800 member->dsp->pcm_slot_tx); dsp_cmx_hardware()
801 dsp_cmx_hw_message(member->dsp, MISDN_CTRL_HFC_PCM_CONN, dsp_cmx_hardware()
802 member->dsp->pcm_slot_tx, member->dsp->pcm_bank_tx, dsp_cmx_hardware()
803 member->dsp->pcm_slot_rx, member->dsp->pcm_bank_rx); dsp_cmx_hardware()
813 if (member->dsp->pcm_slot_tx >= 0 && dsp_cmx_hardware()
814 member->dsp->pcm_slot_rx >= 0 && dsp_cmx_hardware()
818 member->dsp->pcm_slot_rx && dsp_cmx_hardware()
820 member->dsp->pcm_slot_tx && dsp_cmx_hardware()
821 member->dsp->pcm_slot_tx != dsp_cmx_hardware()
822 member->dsp->pcm_slot_rx && dsp_cmx_hardware()
823 member->dsp->pcm_bank_tx == 0 && dsp_cmx_hardware()
824 member->dsp->pcm_bank_rx == 0 && dsp_cmx_hardware()
833 member->dsp->name, dsp_cmx_hardware()
835 member->dsp->pcm_slot_tx, dsp_cmx_hardware()
836 member->dsp->pcm_slot_rx); dsp_cmx_hardware()
844 if (dsp != member->dsp && dsp_cmx_hardware()
846 member->dsp->features.pcm_id == dsp_cmx_hardware()
859 ii = member->dsp->features.pcm_slots; dsp_cmx_hardware()
870 member->dsp->name, dsp_cmx_hardware()
887 member->dsp->name, dsp_cmx_hardware()
893 member->dsp->pcm_slot_tx = i1; dsp_cmx_hardware()
894 member->dsp->pcm_slot_rx = i2; dsp_cmx_hardware()
897 member->dsp->pcm_bank_rx = 0; dsp_cmx_hardware()
898 member->dsp->pcm_bank_tx = 0; dsp_cmx_hardware()
907 member->dsp->name, dsp_cmx_hardware()
909 member->dsp->pcm_slot_tx, dsp_cmx_hardware()
910 member->dsp->pcm_slot_rx); dsp_cmx_hardware()
911 dsp_cmx_hw_message(member->dsp, MISDN_CTRL_HFC_PCM_CONN, dsp_cmx_hardware()
912 member->dsp->pcm_slot_tx, member->dsp->pcm_bank_tx, dsp_cmx_hardware()
913 member->dsp->pcm_slot_rx, member->dsp->pcm_bank_rx); dsp_cmx_hardware()
953 list_for_each_entry(member, &conf->mlist, list) { dsp_cmx_hardware()
956 if (!member->dsp->features.hfc_conf) dsp_cmx_hardware()
959 if (member->dsp->hdlc) dsp_cmx_hardware()
962 if (member->dsp->hfc_conf == current_conf) dsp_cmx_hardware()
968 * not checking current member, because dsp_cmx_hardware()
972 dsp != member->dsp && dsp_cmx_hardware()
974 member->dsp->features.pcm_id == dsp_cmx_hardware()
988 ii = member->dsp->features.pcm_slots; dsp_cmx_hardware()
1007 member->dsp->name, current_conf, i); dsp_cmx_hardware()
1009 member->dsp->pcm_slot_tx = i; dsp_cmx_hardware()
1010 member->dsp->pcm_slot_rx = i; dsp_cmx_hardware()
1011 member->dsp->pcm_bank_tx = 2; /* loop */ dsp_cmx_hardware()
1012 member->dsp->pcm_bank_rx = 2; dsp_cmx_hardware()
1013 member->dsp->hfc_conf = current_conf; dsp_cmx_hardware()
1014 dsp_cmx_hw_message(member->dsp, MISDN_CTRL_HFC_PCM_CONN, dsp_cmx_hardware()
1016 dsp_cmx_hw_message(member->dsp, dsp_cmx_hardware()
1025 * no member is in a conference yet, so we find a free one dsp_cmx_hardware()
1068 struct dsp_conf_member *member; dsp_cmx_conf() local
1121 member = list_entry(conf->mlist.next, struct dsp_conf_member, dsp_cmx_conf()
1123 if (dsp->hdlc && !member->dsp->hdlc) { dsp_cmx_conf()
1129 if (!dsp->hdlc && member->dsp->hdlc) { dsp_cmx_conf()
1136 /* add conference member */ dsp_cmx_conf()
1312 struct dsp *member, *other; local
1367 member = dsp;
1418 /* PROCESS DATA (one member / no conf) */
1462 if (other == member)
1473 * -> copy other member's rx-data,
1488 * -> mix other member's rx-data with echo,
1632 struct dsp_conf_member *member; local
1706 member = list_entry(conf->mlist.next,
1708 if (member->dsp->hdlc)
1712 list_for_each_entry(member, &conf->mlist, list) {
1713 dsp = member->dsp;
1719 /* add member's data */
1726 /* process each member */
1727 list_for_each_entry(member, &conf->mlist, list) {
1729 dsp_cmx_send_member(member->dsp, length,
1921 struct dsp_conf_member *member; dsp_cmx_hdlc() local
1950 list_for_each_entry(member, &dsp->conf->mlist, list) { dsp_cmx_hdlc()
1951 if (dsp->echo.software || member->dsp != dsp) { dsp_cmx_hdlc()
1957 skb_queue_tail(&member->dsp->sendq, nskb); dsp_cmx_hdlc()
1958 schedule_work(&member->dsp->workq); dsp_cmx_hdlc()
H A Ddsp.h88 * each dsplayer points to a member, each member points to a dsplayer.
107 /* note: if both unset, has only one member */
194 *member; member in struct:dsp
H A Ddsp_core.c152 * Conference cannot join, if one member is not hdlc.
239 struct dsp_conf_member *member; dsp_rx_off() local
250 list_for_each_entry(member, &dsp->conf->mlist, list) { dsp_rx_off()
251 dsp_rx_off_member(member->dsp); dsp_rx_off()
983 printk(KERN_DEBUG "%s: releasing member %s\n", dsp_ctrl()
/linux-4.4.14/include/linux/
H A Dlist.h198 * in the process of modifying either member (next or prev)
349 * @member: the name of the list_head within the struct.
351 #define list_entry(ptr, type, member) \
352 container_of(ptr, type, member)
358 * @member: the name of the list_head within the struct.
362 #define list_first_entry(ptr, type, member) \
363 list_entry((ptr)->next, type, member)
369 * @member: the name of the list_head within the struct.
373 #define list_last_entry(ptr, type, member) \
374 list_entry((ptr)->prev, type, member)
380 * @member: the name of the list_head within the struct.
384 #define list_first_entry_or_null(ptr, type, member) \
385 (!list_empty(ptr) ? list_first_entry(ptr, type, member) : NULL)
390 * @member: the name of the list_head within the struct.
392 #define list_next_entry(pos, member) \
393 list_entry((pos)->member.next, typeof(*(pos)), member)
398 * @member: the name of the list_head within the struct.
400 #define list_prev_entry(pos, member) \
401 list_entry((pos)->member.prev, typeof(*(pos)), member)
444 * @member: the name of the list_head within the struct.
446 #define list_for_each_entry(pos, head, member) \
447 for (pos = list_first_entry(head, typeof(*pos), member); \
448 &pos->member != (head); \
449 pos = list_next_entry(pos, member))
455 * @member: the name of the list_head within the struct.
457 #define list_for_each_entry_reverse(pos, head, member) \
458 for (pos = list_last_entry(head, typeof(*pos), member); \
459 &pos->member != (head); \
460 pos = list_prev_entry(pos, member))
466 * @member: the name of the list_head within the struct.
470 #define list_prepare_entry(pos, head, member) \
471 ((pos) ? : list_entry(head, typeof(*pos), member))
477 * @member: the name of the list_head within the struct.
482 #define list_for_each_entry_continue(pos, head, member) \
483 for (pos = list_next_entry(pos, member); \
484 &pos->member != (head); \
485 pos = list_next_entry(pos, member))
491 * @member: the name of the list_head within the struct.
496 #define list_for_each_entry_continue_reverse(pos, head, member) \
497 for (pos = list_prev_entry(pos, member); \
498 &pos->member != (head); \
499 pos = list_prev_entry(pos, member))
505 * @member: the name of the list_head within the struct.
509 #define list_for_each_entry_from(pos, head, member) \
510 for (; &pos->member != (head); \
511 pos = list_next_entry(pos, member))
518 * @member: the name of the list_head within the struct.
520 #define list_for_each_entry_safe(pos, n, head, member) \
521 for (pos = list_first_entry(head, typeof(*pos), member), \
522 n = list_next_entry(pos, member); \
523 &pos->member != (head); \
524 pos = n, n = list_next_entry(n, member))
531 * @member: the name of the list_head within the struct.
536 #define list_for_each_entry_safe_continue(pos, n, head, member) \
537 for (pos = list_next_entry(pos, member), \
538 n = list_next_entry(pos, member); \
539 &pos->member != (head); \
540 pos = n, n = list_next_entry(n, member))
547 * @member: the name of the list_head within the struct.
552 #define list_for_each_entry_safe_from(pos, n, head, member) \
553 for (n = list_next_entry(pos, member); \
554 &pos->member != (head); \
555 pos = n, n = list_next_entry(n, member))
562 * @member: the name of the list_head within the struct.
567 #define list_for_each_entry_safe_reverse(pos, n, head, member) \
568 for (pos = list_last_entry(head, typeof(*pos), member), \
569 n = list_prev_entry(pos, member); \
570 &pos->member != (head); \
571 pos = n, n = list_prev_entry(n, member))
577 * @member: the name of the list_head within the struct.
585 #define list_safe_reset_next(pos, n, member) \
586 n = list_next_entry(pos, member)
694 #define hlist_entry(ptr, type, member) container_of(ptr,type,member)
703 #define hlist_entry_safe(ptr, type, member) \
705 ____ptr ? hlist_entry(____ptr, type, member) : NULL; \
712 * @member: the name of the hlist_node within the struct.
714 #define hlist_for_each_entry(pos, head, member) \
715 for (pos = hlist_entry_safe((head)->first, typeof(*(pos)), member);\
717 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
722 * @member: the name of the hlist_node within the struct.
724 #define hlist_for_each_entry_continue(pos, member) \
725 for (pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member);\
727 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
732 * @member: the name of the hlist_node within the struct.
734 #define hlist_for_each_entry_from(pos, member) \
736 pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
743 * @member: the name of the hlist_node within the struct.
745 #define hlist_for_each_entry_safe(pos, n, head, member) \
746 for (pos = hlist_entry_safe((head)->first, typeof(*pos), member);\
747 pos && ({ n = pos->member.next; 1; }); \
748 pos = hlist_entry_safe(n, typeof(*pos), member))
H A Dhashtable.h119 * @member: the name of the hlist_node within the struct
121 #define hash_for_each(name, bkt, obj, member) \
124 hlist_for_each_entry(obj, &name[bkt], member)
131 * @member: the name of the hlist_node within the struct
133 #define hash_for_each_rcu(name, bkt, obj, member) \
136 hlist_for_each_entry_rcu(obj, &name[bkt], member)
145 * @member: the name of the hlist_node within the struct
147 #define hash_for_each_safe(name, bkt, tmp, obj, member) \
150 hlist_for_each_entry_safe(obj, tmp, &name[bkt], member)
157 * @member: the name of the hlist_node within the struct
160 #define hash_for_each_possible(name, obj, member, key) \
161 hlist_for_each_entry(obj, &name[hash_min(key, HASH_BITS(name))], member)
169 * @member: the name of the hlist_node within the struct
172 #define hash_for_each_possible_rcu(name, obj, member, key) \
174 member)
181 * @member: the name of the hlist_node within the struct
187 #define hash_for_each_possible_rcu_notrace(name, obj, member, key) \
189 &name[hash_min(key, HASH_BITS(name))], member)
197 * @member: the name of the hlist_node within the struct
200 #define hash_for_each_possible_safe(name, obj, tmp, member, key) \
202 &name[hash_min(key, HASH_BITS(name))], member)
H A Drculist.h244 * @member: the name of the list_head within the struct.
249 #define list_entry_rcu(ptr, type, member) \
250 container_of(lockless_dereference(ptr), type, member)
278 * @member: the name of the list_head within the struct.
285 #define list_first_or_null_rcu(ptr, type, member) \
289 likely(__ptr != __next) ? list_entry_rcu(__next, type, member) : NULL; \
296 * @member: the name of the list_head within the struct.
302 #define list_for_each_entry_rcu(pos, head, member) \
303 for (pos = list_entry_rcu((head)->next, typeof(*pos), member); \
304 &pos->member != (head); \
305 pos = list_entry_rcu(pos->member.next, typeof(*pos), member))
311 * @member: the name of the list_head within the struct.
316 #define list_for_each_entry_continue_rcu(pos, head, member) \
317 for (pos = list_entry_rcu(pos->member.next, typeof(*pos), member); \
318 &pos->member != (head); \
319 pos = list_entry_rcu(pos->member.next, typeof(*pos), member))
468 * @member: the name of the hlist_node within the struct.
474 #define hlist_for_each_entry_rcu(pos, head, member) \
476 typeof(*(pos)), member); \
479 &(pos)->member)), typeof(*(pos)), member))
485 * @member: the name of the hlist_node within the struct.
494 #define hlist_for_each_entry_rcu_notrace(pos, head, member) \
496 typeof(*(pos)), member); \
499 &(pos)->member)), typeof(*(pos)), member))
505 * @member: the name of the hlist_node within the struct.
511 #define hlist_for_each_entry_rcu_bh(pos, head, member) \
513 typeof(*(pos)), member); \
516 &(pos)->member)), typeof(*(pos)), member))
521 * @member: the name of the hlist_node within the struct.
523 #define hlist_for_each_entry_continue_rcu(pos, member) \
525 &(pos)->member)), typeof(*(pos)), member); \
528 &(pos)->member)), typeof(*(pos)), member))
533 * @member: the name of the hlist_node within the struct.
535 #define hlist_for_each_entry_continue_rcu_bh(pos, member) \
537 &(pos)->member)), typeof(*(pos)), member); \
540 &(pos)->member)), typeof(*(pos)), member))
545 * @member: the name of the hlist_node within the struct.
547 #define hlist_for_each_entry_from_rcu(pos, member) \
550 &(pos)->member)), typeof(*(pos)), member))
H A Dirq_cpustat.h21 #define __IRQ_STAT(cpu, member) (irq_stat[cpu].member)
H A Dlist_bl.h49 #define hlist_bl_entry(ptr, type, member) container_of(ptr,type,member)
139 * @member: the name of the hlist_node within the struct.
142 #define hlist_bl_for_each_entry(tpos, pos, head, member) \
145 ({ tpos = hlist_bl_entry(pos, typeof(*tpos), member); 1;}); \
154 * @member: the name of the hlist_node within the struct.
156 #define hlist_bl_for_each_entry_safe(tpos, pos, n, head, member) \
159 ({ tpos = hlist_bl_entry(pos, typeof(*tpos), member); 1;}); \
H A Dlist_nulls.h31 #define hlist_nulls_entry(ptr, type, member) container_of(ptr,type,member)
96 * @member: the name of the hlist_node within the struct.
99 #define hlist_nulls_for_each_entry(tpos, pos, head, member) \
102 ({ tpos = hlist_nulls_entry(pos, typeof(*tpos), member); 1;}); \
109 * @member: the name of the hlist_node within the struct.
112 #define hlist_nulls_for_each_entry_from(tpos, pos, member) \
114 ({ tpos = hlist_nulls_entry(pos, typeof(*tpos), member); 1;}); \
H A Doid_registry.h29 /* PKCS#1 {iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-1(1)} */
39 /* PKCS#7 {iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-7(7)} */
42 /* PKCS#9 {iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9)} */
50 /* {iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2)} */
H A Dllist.h85 * @member: the name of the llist_node within the struct.
87 #define llist_entry(ptr, type, member) \
88 container_of(ptr, type, member)
111 * @member: the name of the llist_node with the struct.
122 #define llist_for_each_entry(pos, node, member) \
123 for ((pos) = llist_entry((node), typeof(*(pos)), member); \
124 &(pos)->member != NULL; \
125 (pos) = llist_entry((pos)->member.next, typeof(*(pos)), member))
133 * @member: the name of the llist_node with the struct.
144 #define llist_for_each_entry_safe(pos, n, node, member) \
145 for (pos = llist_entry((node), typeof(*pos), member); \
146 &pos->member != NULL && \
147 (n = llist_entry(pos->member.next, typeof(*n), member), true); \
H A Dstddef.h25 * @MEMBER: The member within the structure to get the end offset of
H A Dvirtio_config.h246 #define virtio_cread(vdev, structname, member, ptr) \
248 /* Must match the member's type, and be integer */ \
249 if (!typecheck(typeof((((structname*)0)->member)), *(ptr))) \
255 offsetof(structname, member)); \
259 offsetof(structname, member)); \
263 offsetof(structname, member)); \
267 offsetof(structname, member)); \
275 #define virtio_cwrite(vdev, structname, member, ptr) \
277 /* Must match the member's type, and be integer */ \
278 if (!typecheck(typeof((((structname*)0)->member)), *(ptr))) \
284 offsetof(structname, member), \
289 offsetof(structname, member), \
294 offsetof(structname, member), \
299 offsetof(structname, member), \
394 #define virtio_cread_feature(vdev, fbit, structname, member, ptr) \
400 virtio_cread((vdev), structname, member, ptr); \
H A Dplist.h232 * @member: the name of the list_head within the struct
235 # define plist_first_entry(head, type, member) \
238 container_of(plist_first(head), type, member); \
241 # define plist_first_entry(head, type, member) \
242 container_of(plist_first(head), type, member)
249 * @member: the name of the list_head within the struct
252 # define plist_last_entry(head, type, member) \
255 container_of(plist_last(head), type, member); \
258 # define plist_last_entry(head, type, member) \
259 container_of(plist_last(head), type, member)
H A Drbtree.h51 #define rb_entry(ptr, type, member) container_of(ptr, type, member)
98 #define rb_entry_safe(ptr, type, member) \
100 ____ptr ? rb_entry(____ptr, type, member) : NULL; \
H A Dipv6.h145 * this _must_ be the last member, so that inet6_sk_generic
147 * by using the struct proto->slab_obj_size member. -acme
238 /* inet_sock has to be the first member of raw6_sock */
244 /* ipv6_pinfo has to be the last member of raw6_sock, see inet6_sk_generic */
250 /* ipv6_pinfo has to be the last member of udp6_sock, see inet6_sk_generic */
256 /* ipv6_pinfo has to be the last member of tcp6_sock, see inet6_sk_generic */
H A Drculist_bl.h119 * @member: the name of the hlist_bl_node within the struct.
122 #define hlist_bl_for_each_entry_rcu(tpos, pos, head, member) \
125 ({ tpos = hlist_bl_entry(pos, typeof(*tpos), member); 1; }); \
H A Drculist_nulls.h106 * @member: the name of the hlist_nulls_node within the struct.
113 #define hlist_nulls_for_each_entry_rcu(tpos, pos, head, member) \
117 ({ tpos = hlist_nulls_entry(pos, typeof(*tpos), member); 1; }); \
H A Dudp.h43 /* inet_sock has to be the first member */
54 * Following member retains the information to create a UDP header
H A Drhashtable.h372 #define rht_entry(tpos, pos, member) \
373 ({ tpos = container_of(pos, typeof(*tpos), member); 1; })
403 * @member: name of the &struct rhash_head within the hashable struct.
405 #define rht_for_each_entry_continue(tpos, pos, head, tbl, hash, member) \
407 (!rht_is_a_nulls(pos)) && rht_entry(tpos, pos, member); \
416 * @member: name of the &struct rhash_head within the hashable struct.
418 #define rht_for_each_entry(tpos, pos, tbl, hash, member) \
420 tbl, hash, member)
429 * @member: name of the &struct rhash_head within the hashable struct.
434 #define rht_for_each_entry_safe(tpos, pos, next, tbl, hash, member) \
438 (!rht_is_a_nulls(pos)) && rht_entry(tpos, pos, member); \
480 * @member: name of the &struct rhash_head within the hashable struct.
486 #define rht_for_each_entry_rcu_continue(tpos, pos, head, tbl, hash, member) \
489 (!rht_is_a_nulls(pos)) && rht_entry(tpos, pos, member); \
498 * @member: name of the &struct rhash_head within the hashable struct.
504 #define rht_for_each_entry_rcu(tpos, pos, tbl, hash, member) \
506 tbl, hash, member)
H A Dif_pppox.h49 /* struct sock must be the first member of pppox_sock */
H A Dkernel.h806 * container_of - cast a member of a structure out to the containing structure
807 * @ptr: the pointer to the member.
809 * @member: the name of the member within the struct.
812 #define container_of(ptr, type, member) ({ \
813 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
814 (type *)( (char *)__mptr - offsetof(type,member) );})
H A Dlru_cache.h188 /* offset of struct lc_element member in the tracked object */
308 #define lc_entry(ptr, type, member) \
309 container_of(ptr, type, member)
H A Dassoc_array_priv.h105 * Internal tree member pointers are marked in the bottom one or two bits to
H A Datalk.h35 /* struct sock has to be the first member of atalk_sock */
H A Diocontext.h21 * the first member followed by private members and using its size and
H A Dled-class-flash.h162 * member with the obtained value.
H A Dgenl_magic_func.h95 /* Name is a member field name of the struct s.
98 * corresponding to that struct member. */
H A Dbio.h61 * various member access, note that bio_data should of course not be used
593 * member of the bio. The bio_list also caches the last list member to allow
H A Dcompiler.h498 * on a union member will work as long as the size of the member matches the
H A Dfence.h53 * the flags member must be manipulated and read using the appropriate
87 FENCE_FLAG_USER_BITS, /* must always be last member */
H A Dvga_switcheroo.h115 * set to NULL. For audio clients, the @reprobe member is bogus.
/linux-4.4.14/tools/include/linux/
H A Dkernel.h20 * container_of - cast a member of a structure out to the containing structure
21 * @ptr: the pointer to the member.
23 * @member: the name of the member within the struct.
26 #define container_of(ptr, type, member) ({ \
27 const typeof(((type *)0)->member) * __mptr = (ptr); \
28 (type *)((char *)__mptr - offsetof(type, member)); })
H A Drbtree.h50 #define rb_entry(ptr, type, member) container_of(ptr, type, member)
88 #define rb_entry_safe(ptr, type, member) \
90 ____ptr ? rb_entry(____ptr, type, member) : NULL; \
/linux-4.4.14/arch/ia64/include/asm/
H A Dsiginfo.h19 /* _sigchld is currently the largest know union member */ copy_siginfo()
H A Dptrace.h12 * 6/17/99 D. Mosberger added second unat member to "struct switch_stack"
/linux-4.4.14/arch/arm64/include/asm/
H A Dhardirq.h32 #define __inc_irq_stat(cpu, member) __IRQ_STAT(cpu, member)++
33 #define __get_irq_stat(cpu, member) __IRQ_STAT(cpu, member)
/linux-4.4.14/tools/usb/usbip/libsrc/
H A Dlist.h101 * @member: the name of the list_head within the struct.
103 #define list_entry(ptr, type, member) \
104 container_of(ptr, type, member)
126 * container_of - cast a member of a structure out to the containing structure
127 * @ptr: the pointer to the member.
129 * @member: the name of the member within the struct.
132 #define container_of(ptr, type, member) ({ \
133 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
134 (type *)( (char *)__mptr - offsetof(type,member) );})
/linux-4.4.14/drivers/scsi/isci/
H A Disci.h125 * This member indicates successful completion.
147 * This member indicates that the object for which a state change is
153 * This member indicates interrupt coalescence timer may cause SAS
166 * This member indicates that there was a general failure.
171 * This member indicates that the SCI implementation is unable to complete
178 * This member indicates the calling function failed, because the state
184 * This member indicates the calling function failed, because there is
190 * This member indicates the calling function failed, because the
196 * This member indicates the calling function failed, because the
202 * This member indicates the calling function failed, because the
208 * This member indicates the calling function failed, because the
214 * This member indicates the calling function failed, because the
221 * This member indicates the calling function failed, because the
227 * This member indicates the calling function failed, because the
233 * This member indicates the calling function failed, because adding
239 * This member indicates the calling function failed, because the
245 * This member indicates the calling function failed, because the SCI
251 * This member indicates the calling method failed, because the SCI
257 * This member indicates the calling method failed, because the SCI
263 * This member indicates the calling method was partly successful
269 * This member indicates that calling method failed
275 * This member indicates the calling method failed, because the SCI
281 * This member indicates the calling method failed, because the remote
287 * This member indicates the calling method failed, because the SCI
293 * This member indicates that the operation failed and the user should
299 * This member indicates that the operation failed, the failure is
307 * This member indicated that the operation failed because the
313 * This member indicates that the operation failed and the associated
319 * This member indicates that the operation failed because the supplied
325 * This member indicates that the operation failed because the
331 * This member indicates that the operation failed, because a timeout
337 * This member indicates that the operation failed, because the user
371 * This member indicates the calling method was partly successful.
/linux-4.4.14/arch/tile/include/asm/
H A Dhardirq.h41 #define __IRQ_STAT(cpu, member) (per_cpu(irq_stat, cpu).member)
/linux-4.4.14/arch/x86/include/asm/
H A Dhardirq.h49 #define inc_irq_stat(member) this_cpu_inc(irq_stat.member)
/linux-4.4.14/drivers/md/bcache/
H A Dutil.h474 #define container_of_or_null(ptr, type, member) \
477 _ptr ? container_of(_ptr, type, member) : NULL; \
480 #define RB_INSERT(root, new, member, cmp) \
489 this = container_of(*n, typeof(*(new)), member); \
498 rb_link_node(&(new)->member, parent, n); \
499 rb_insert_color(&(new)->member, root); \
505 #define RB_SEARCH(root, search, member, cmp) \
512 this = container_of(n, typeof(search), member); \
525 #define RB_GREATER(root, search, member, cmp) \
532 this = container_of(n, typeof(search), member); \
543 #define RB_FIRST(root, type, member) \
544 container_of_or_null(rb_first(root), type, member)
546 #define RB_LAST(root, type, member) \
547 container_of_or_null(rb_last(root), type, member)
549 #define RB_NEXT(ptr, member) \
550 container_of_or_null(rb_next(&(ptr)->member), typeof(*ptr), member)
552 #define RB_PREV(ptr, member) \
553 container_of_or_null(rb_prev(&(ptr)->member), typeof(*ptr), member)
/linux-4.4.14/include/net/9p/
H A Dtransport.h38 * @create: member function to create a new connection on this transport
39 * @close: member function to discard a connection on this transport
40 * @request: member function to issue a request to the transport
41 * @cancel: member function to cancel a request (if it hasn't been sent)
42 * @cancelled: member function to notify that a cancelled request will not
/linux-4.4.14/tools/virtio/linux/
H A Dkernel.h85 #define container_of(ptr, type, member) ({ \
86 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
87 (type *)( (char *)__mptr - offsetof(type,member) );})
/linux-4.4.14/net/dccp/
H A Dipv6.h20 * ipv6_pinfo has to be the last member of dccp6_sock,
/linux-4.4.14/include/uapi/linux/netfilter_bridge/
H A Debt_mark_t.h4 /* The target member is reused for adding new actions, the
/linux-4.4.14/tools/perf/util/
H A Dstrbuf.h10 * 1. the ->buf member is always malloc-ed, hence strbuf's can be used to
17 * 2. the ->buf member is a byte array that has at least ->len + 1 bytes
19 * member to be a valid C-string. Every strbuf function ensure this
38 * "private" member that should not be messed with.
H A Ddwarf-aux.h119 /* Find a member called 'name' */
H A Dsort.h125 struct callchain_root callchain[0]; /* must be last member */
H A Ddwarf-aux.c312 * die_get_data_member_location - Get the data-member offset
313 * @mb_die: a DIE of a member of a data structure
314 * @offs: The offset of the member in the data structure
880 * die_find_member - Find a given name member in a data structure
882 * @name: member name
885 * Find a member DIE called @name in @st_die.
H A Dpython.c38 #define member_def(type, member, ptype, help) \
39 { #member, ptype, \
40 offsetof(struct pyrf_event, event) + offsetof(struct type, member), \
43 #define sample_member_def(name, member, ptype, help) \
45 offsetof(struct pyrf_event, sample) + offsetof(struct perf_sample, member), \
/linux-4.4.14/arch/alpha/kernel/
H A Dsetup.c945 unsigned long member = (variation >> 10) & 0x3f; get_sysvec() local
951 if (member < ARRAY_SIZE(alcor_indices)) get_sysvec()
952 vec = alcor_vecs[alcor_indices[member]]; get_sysvec()
955 if (member < ARRAY_SIZE(eb164_indices)) get_sysvec()
956 vec = eb164_vecs[eb164_indices[member]]; get_sysvec()
963 if (member < ARRAY_SIZE(eb64p_indices)) get_sysvec()
964 vec = eb64p_vecs[eb64p_indices[member]]; get_sysvec()
967 if (member < ARRAY_SIZE(eb66_indices)) get_sysvec()
968 vec = eb66_vecs[eb66_indices[member]]; get_sysvec()
971 if (member < ARRAY_SIZE(marvel_indices)) get_sysvec()
972 vec = marvel_vecs[marvel_indices[member]]; get_sysvec()
976 if (member < ARRAY_SIZE(titan_indices)) get_sysvec()
977 vec = titan_vecs[titan_indices[member]]; get_sysvec()
980 if (member < ARRAY_SIZE(tsunami_indices)) get_sysvec()
981 vec = tsunami_vecs[tsunami_indices[member]]; get_sysvec()
1064 unsigned long member; get_sysnames() local
1088 member = (variation >> 10) & 0x3f; /* member ID is a bit-field */ get_sysnames()
1096 if (member < ARRAY_SIZE(eb164_indices)) get_sysnames()
1097 *variation_name = eb164_names[eb164_indices[member]]; get_sysnames()
1100 if (eb164_indices[member] == 0 && cpu == EV56_CPU) get_sysnames()
1104 if (member < ARRAY_SIZE(alcor_indices)) get_sysnames()
1105 *variation_name = alcor_names[alcor_indices[member]]; get_sysnames()
1108 if (member < ARRAY_SIZE(eb64p_indices)) get_sysnames()
1109 *variation_name = eb64p_names[eb64p_indices[member]]; get_sysnames()
1112 if (member < ARRAY_SIZE(eb66_indices)) get_sysnames()
1113 *variation_name = eb66_names[eb66_indices[member]]; get_sysnames()
1116 if (member < ARRAY_SIZE(marvel_indices)) get_sysnames()
1117 *variation_name = marvel_names[marvel_indices[member]]; get_sysnames()
1120 if (member < ARRAY_SIZE(rawhide_indices)) get_sysnames()
1121 *variation_name = rawhide_names[rawhide_indices[member]]; get_sysnames()
1125 if (member < ARRAY_SIZE(titan_indices)) get_sysnames()
1126 *variation_name = titan_names[titan_indices[member]]; get_sysnames()
1129 if (member < ARRAY_SIZE(tsunami_indices)) get_sysnames()
1130 *variation_name = tsunami_names[tsunami_indices[member]]; get_sysnames()
/linux-4.4.14/include/net/caif/
H A Dcaif_device.h24 * low-latency. This member is set by CAIF Link
43 * CAIF Core layer must set the member flowctrl in order to supply
/linux-4.4.14/net/rds/
H A Dtcp.h86 #define rds_tcp_stats_inc(member) rds_stats_inc_which(rds_tcp_stats, member)
H A Drds.h776 #define rds_stats_inc_which(which, member) do { \
777 per_cpu(which, get_cpu()).member++; \
780 #define rds_stats_inc(member) rds_stats_inc_which(rds_stats, member)
781 #define rds_stats_add_which(which, member, count) do { \
782 per_cpu(which, get_cpu()).member += count; \
785 #define rds_stats_add(member, count) rds_stats_add_which(rds_stats, member, count)
H A Dib.h411 #define rds_ib_stats_inc(member) rds_stats_inc_which(rds_ib_stats, member)
H A Diw.h368 #define rds_iw_stats_inc(member) rds_stats_inc_which(rds_iw_stats, member)
/linux-4.4.14/drivers/gpu/drm/
H A Ddrm_prime.c77 struct drm_prime_member *member; drm_prime_add_buf_handle() local
79 member = kmalloc(sizeof(*member), GFP_KERNEL); drm_prime_add_buf_handle()
80 if (!member) drm_prime_add_buf_handle()
84 member->dma_buf = dma_buf; drm_prime_add_buf_handle()
85 member->handle = handle; drm_prime_add_buf_handle()
86 list_add(&member->entry, &prime_fpriv->head); drm_prime_add_buf_handle()
93 struct drm_prime_member *member; drm_prime_lookup_buf_by_handle() local
95 list_for_each_entry(member, &prime_fpriv->head, entry) { drm_prime_lookup_buf_by_handle()
96 if (member->handle == handle) drm_prime_lookup_buf_by_handle()
97 return member->dma_buf; drm_prime_lookup_buf_by_handle()
107 struct drm_prime_member *member; drm_prime_lookup_buf_handle() local
109 list_for_each_entry(member, &prime_fpriv->head, entry) { drm_prime_lookup_buf_handle()
110 if (member->dma_buf == dma_buf) { drm_prime_lookup_buf_handle()
111 *handle = member->handle; drm_prime_lookup_buf_handle()
169 struct drm_prime_member *member, *safe; drm_prime_remove_buf_handle_locked() local
171 list_for_each_entry_safe(member, safe, &prime_fpriv->head, entry) { drm_prime_remove_buf_handle_locked()
172 if (member->dma_buf == dma_buf) { drm_prime_remove_buf_handle_locked()
174 list_del(&member->entry); drm_prime_remove_buf_handle_locked()
175 kfree(member); drm_prime_remove_buf_handle_locked()
H A Ddrm_sysfs.c624 * of the class member. In particular, the device_type member must
/linux-4.4.14/drivers/cpufreq/
H A Dpcc-cpufreq.c393 union acpi_object *out_obj, *member; pcc_cpufreq_probe() local
423 member = &out_obj->package.elements[0]; pcc_cpufreq_probe()
424 if (member->type != ACPI_TYPE_BUFFER) { pcc_cpufreq_probe()
429 mem_resource = (struct pcc_memory_resource *)member->buffer.pointer; pcc_cpufreq_probe()
479 member = &out_obj->package.elements[1]; pcc_cpufreq_probe()
480 if (member->type != ACPI_TYPE_BUFFER) { pcc_cpufreq_probe()
485 reg_resource = (struct pcc_register_resource *)member->buffer.pointer; pcc_cpufreq_probe()
498 member = &out_obj->package.elements[2]; pcc_cpufreq_probe()
499 if (member->type != ACPI_TYPE_INTEGER) { pcc_cpufreq_probe()
504 doorbell_preserve = member->integer.value; pcc_cpufreq_probe()
506 member = &out_obj->package.elements[3]; pcc_cpufreq_probe()
507 if (member->type != ACPI_TYPE_INTEGER) { pcc_cpufreq_probe()
512 doorbell_write = member->integer.value; pcc_cpufreq_probe()
/linux-4.4.14/drivers/staging/rtl8712/
H A Dosdep_service.h60 #define LIST_CONTAINOR(ptr, type, member) \
61 ((type *)((char *)(ptr)-(SIZE_T)(&((type *)0)->member)))
/linux-4.4.14/drivers/video/fbdev/
H A Dsa1100fb.h74 #define TO_INF(ptr,member) container_of(ptr,struct sa1100fb_info,member)
H A Dpxafb.h172 #define TO_INF(ptr,member) container_of(ptr,struct pxafb_info,member)
/linux-4.4.14/include/net/netfilter/
H A Dnf_conntrack_expect.h15 /* Conntrack expectation list member */
18 /* Hash member */
H A Dnf_conntrack.h117 /* Storage reserved for other modules, must be the last member */
/linux-4.4.14/arch/s390/pci/
H A Dpci_sysfs.c15 #define zpci_attr(name, fmt, member) \
21 return sprintf(buf, fmt, zdev->member); \
/linux-4.4.14/net/ieee802154/
H A Dsysfs.c32 #define SHOW_FMT(name, fmt, member) \
37 return sprintf(buf, fmt "\n", dev_to_rdev(dev)->member); \
/linux-4.4.14/net/sched/
H A Dcls_flower.c330 #define FL_KEY_MEMBER_OFFSET(member) offsetof(struct fl_flow_key, member)
331 #define FL_KEY_MEMBER_SIZE(member) (sizeof(((struct fl_flow_key *) 0)->member))
332 #define FL_KEY_MEMBER_END_OFFSET(member) \
333 (FL_KEY_MEMBER_OFFSET(member) + FL_KEY_MEMBER_SIZE(member))
335 #define FL_KEY_IN_RANGE(mask, member) \
336 (FL_KEY_MEMBER_OFFSET(member) <= (mask)->range.end && \
337 FL_KEY_MEMBER_END_OFFSET(member) >= (mask)->range.start)
339 #define FL_KEY_SET(keys, cnt, id, member) \
342 keys[cnt].offset = FL_KEY_MEMBER_OFFSET(member); \
346 #define FL_KEY_SET_IF_IN_RANGE(mask, keys, cnt, id, member) \
348 if (FL_KEY_IN_RANGE(mask, member)) \
349 FL_KEY_SET(keys, cnt, id, member); \
H A Dcls_flow.c136 #define CTTUPLE(skb, member) \
142 ct->tuplehash[CTINFO2DIR(ctinfo)].tuple.member; \
145 #define CTTUPLE(skb, member) \
/linux-4.4.14/drivers/base/power/
H A Dclock_ops.c316 * @nb: Notifier block object this function is a member of.
320 * For this function to work, @nb must be a member of an object of type
322 * Specifically, the pm_domain member of that object is copied to the device's
323 * pm_domain field and its con_ids member is used to populate the device's list
447 * @nb: Notifier block object this function is a member of.
451 * For this function to work, @nb must be a member of an object of type
453 * Specifically, the con_ids member of that object is used to enable or disable
496 * The nb member of @clknb is not expected to be initialized and its
497 * notifier_call member will be replaced with pm_clk_notify(). However,
H A Ddomain.c385 * pm_domain field points to the domain member of an object of type
459 * pm_domain field points to the domain member of an object of type
666 * under the assumption that its pm_domain field points to the domain member of
741 * domain member of an object of type struct generic_pm_domain representing
762 * pm_domain field points to the domain member of an object of type
848 * pm_domain field points to the domain member of an object of type
870 * domain member of an object of type struct generic_pm_domain representing
891 * domain member of an object of type struct generic_pm_domain representing
912 * pm_domain field points to the domain member of an object of type
934 * pm_domain field points to the domain member of an object of type
977 * pm_domain field points to the domain member of an object of type
999 * domain member of an object of type struct generic_pm_domain representing
1072 * domain member of an object of type struct generic_pm_domain representing
/linux-4.4.14/drivers/scsi/lpfc/
H A Dlpfc_scsi.h26 #define list_remove_head(list, entry, type, member) \
30 entry = list_entry((list)->next, type, member); \
31 list_del_init(&entry->member); \
35 #define list_get_first(list, type, member) \
37 list_entry((list)->next, type, member)
/linux-4.4.14/drivers/net/can/cc770/
H A Dcc770.h148 #define cc770_read_reg(priv, member) \
149 priv->read_reg(priv, offsetof(struct cc770_regs, member))
151 #define cc770_write_reg(priv, member, value) \
152 priv->write_reg(priv, offsetof(struct cc770_regs, member), value)
176 struct can_priv can; /* must be the first member */
/linux-4.4.14/arch/sh/include/asm/
H A Dsh7760fb.h133 /* Set this member to a valid fb_videmode for the display you
146 * must be encoded in the ldmtr member:
181 /* set this member to 1 if you wish to use the LCDC's hardware
/linux-4.4.14/arch/mips/vdso/
H A Dgenvdso.h77 * This member holds the number of local GOT entries. patch_vdso()
83 * This member holds the number of entries in the patch_vdso()
90 * This member holds the index of the first dynamic patch_vdso()
/linux-4.4.14/net/wireless/
H A Dsysfs.c27 #define SHOW_FMT(name, fmt, member) \
32 return sprintf(buf, fmt "\n", dev_to_rdev(dev)->member); \
H A Dradiotap.c75 * The iterator's @this_arg member points to the start of the argument
77 * found in the iterator's @this_arg_index member. This arg index corresponds
/linux-4.4.14/scripts/gdb/linux/
H A Dutils.py50 def container_of(ptr, typeobj, member):
52 offset_of(typeobj, member)).cast(typeobj)
/linux-4.4.14/include/uapi/linux/
H A Daio_abi.h50 * Valid flags for the "aio_flags" member of the "struct iocb".
52 * IOCB_FLAG_RESFD - Set if the "aio_resfd" member of the "struct iocb"
H A Dbsg.h14 * sg.h sg_io_hdr also has bits defined for it's flags member. These
H A Dcgroupstats.h29 * Each member is aligned to a 8 byte boundary.
H A Dcm4000_cs.h25 * member sizes. This leads to CONFIG_COMPAT breakage, since 32bit userspace
H A Dcapi.h104 * member contr is input for
H A Dmempolicy.h24 MPOL_MAX, /* always last member of enum */
H A Drfkill.h97 * that we've made the 'hard' member optional since our only option
/linux-4.4.14/arch/avr32/include/asm/
H A Dsetup.h124 #define tag_member_present(tag,member) \
125 ((unsigned long)(&((struct tag *)0L)->member + 1) \
/linux-4.4.14/arch/arm/include/uapi/asm/
H A Dsetup.h176 #define tag_member_present(tag,member) \
177 ((unsigned long)(&((struct tag *)0L)->member + 1) \
/linux-4.4.14/drivers/s390/char/
H A Dsclp_diag.h11 /* return codes for Diagnostic Test FTP Service, as indicated in member
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
H A Dpll.h58 * an additional max_usable_log2p member
/linux-4.4.14/include/net/
H A Daf_unix.h51 /* WARNING: sk has to be the first member */
H A Draw.h64 /* inet_sock has to be the first member */
H A Dinet_timewait_sock.h52 * don't add nothing before this first member (__tw_common) --acme
H A Dipx.h99 /* struct sock has to be the first member of ipx_sock */
H A Dllc_conn.h33 /* struct sock must be the first member of llc_sock */
H A Daf_vsock.h34 /* sk must be the first member. */
/linux-4.4.14/arch/sparc/include/asm/
H A Dpbm.h39 * sysdata member. This makes OBP aware PCI device drivers easier to
/linux-4.4.14/arch/m68k/include/asm/
H A Dapollohw.h16 member names are read_write.
H A Dmac_psc.h9 * sets of two channels; one member is active while the other is being
10 * configured, and then you flip the active member and start all over again.
/linux-4.4.14/net/netlink/
H A Daf_netlink.h26 /* struct sock has to be the first member of netlink_sock */
/linux-4.4.14/sound/pci/ice1712/
H A Dse.c365 const char * const *member; member in struct:se200pci_control
406 .member = se200pci_sel
412 .member = se200pci_agc
423 const char * const *member; se200pci_get_enum_count() local
426 member = se200pci_cont[n].member; se200pci_get_enum_count()
427 if (!member) se200pci_get_enum_count()
429 for (c = 0; member[c]; c++) se200pci_get_enum_count()
455 return snd_ctl_enum_info(uinfo, 1, c, se200pci_cont[n].member); se200pci_cont_enum_info()
/linux-4.4.14/include/drm/ttm/
H A Dttm_bo_driver.h47 * struct ttm_backend_func member bind
60 * struct ttm_backend_func member unbind
70 * struct ttm_backend_func member destroy
159 * struct ttm_mem_type_manager member init
166 * expected to initialize the man::priv member.
172 * struct ttm_mem_type_manager member takedown
182 * struct ttm_mem_type_manager member get_node
215 * struct ttm_mem_type_manager member put_node
228 * struct ttm_mem_type_manager member debug
357 * struct ttm_bo_driver member invalidate_caches
372 * struct ttm_bo_driver member evict_flags:
384 * struct ttm_bo_driver member move:
409 * This member may be set to NULL, which will refuse this kind of
H A Dttm_bo_api.h161 * @list_kref: List reference count of this buffer object. This member is
168 * pinned in physical memory. If this behaviour is not desired, this member
191 * The destroy member, the API visibility of this object makes it possible
458 * pinned in physical memory. If this behaviour is not desired, this member
505 * pinned in physical memory. If this behaviour is not desired, this member
/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/
H A Dlibcfs.h139 #define container_of0(ptr, type, member) \
140 ((type *)__container_of((void *)(ptr), offsetof(type, member)))
/linux-4.4.14/drivers/scsi/sym53c8xx_2/
H A Dsym_misc.h124 #define sym_que_entry(ptr, type, member) container_of(ptr, type, member)
/linux-4.4.14/drivers/net/wireless/libertas/
H A Dtypes.h239 * Meant to be packed as the value member of a struct ieee80211_info_element.
240 * Note that the len member of the ieee80211_info_element varies depending on
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/
H A Docteon_console.c152 * This macro returns the size of a member of a structure.
159 * This macro returns a member of the cvmx_bootmem_desc
164 * "field" is the member name of the cvmx_bootmem_desc to read.
177 * This macro returns a member of the
182 * Octeon. The argument "field" is the member name of the
199 * @param offset Offset from the beginning of the structure to the member being
201 * @param size Size of the structure member.
203 * @return Value of the structure member promoted into a u64.
/linux-4.4.14/drivers/scsi/mpt3sas/
H A Dmpt3sas_warpdrive.c182 "disabled for the drive with handle(0x%04x) member" mpt3sas_init_warpdrive_properties()
183 "handle retrieval failed for member number=%d\n", mpt3sas_init_warpdrive_properties()
188 /* Disable direct I/O if member drive lba exceeds 4 bytes */ mpt3sas_init_warpdrive_properties()
192 "disabled for the drive with handle(0x%04x) member" mpt3sas_init_warpdrive_properties()
/linux-4.4.14/arch/x86/kernel/
H A Dsignal_compat.c17 3 ints plus the relevant union member. */ copy_siginfo_to_user32()
/linux-4.4.14/drivers/clk/samsung/
H A Dclk-cpu.h25 * For CPU clock domains that do not have a DIV1 register, the @div1 member
/linux-4.4.14/include/media/
H A Dv4l2-async.h73 * @list: member in a global list of notifiers
/linux-4.4.14/include/net/irda/
H A Daf_irda.h40 /* struct sock has to be the first member of irda_sock */
/linux-4.4.14/include/crypto/
H A Dif_alg.h28 /* struct sock must be the first member of struct alg_sock */
/linux-4.4.14/include/uapi/linux/mmc/
H A Dioctl.h37 * For 64-bit machines, the next member, ``__u64 data_ptr``, wants to
/linux-4.4.14/arch/mips/cavium-octeon/
H A Docteon_boot.h78 here is only offset of requested member */
/linux-4.4.14/arch/mips/math-emu/
H A Dieee754.c39 * anonymous struct member. Without an error will result.
/linux-4.4.14/arch/parisc/math-emu/
H A Dfpbits.h50 * structure with the argument, name, as the member name and the argument,
/linux-4.4.14/net/packet/
H A Dinternal.h104 /* struct sock has to be the first member of packet_sock */
/linux-4.4.14/fs/btrfs/
H A Dqgroup.c81 struct list_head groups; /* groups this group is member of */
131 struct btrfs_qgroup *member; member in struct:btrfs_qgroup_list
236 struct btrfs_qgroup *member; add_relation_rb() local
240 member = find_qgroup_rb(fs_info, memberid); add_relation_rb()
242 if (!member || !parent) add_relation_rb()
250 list->member = member; add_relation_rb()
251 list_add_tail(&list->next_group, &member->groups); add_relation_rb()
261 struct btrfs_qgroup *member; del_relation_rb() local
265 member = find_qgroup_rb(fs_info, memberid); del_relation_rb()
267 if (!member || !parent) del_relation_rb()
270 list_for_each_entry(list, &member->groups, next_group) { del_relation_rb()
442 /* parent <- member, not needed to build config */ btrfs_read_qgroup_config()
1146 struct btrfs_qgroup *member; btrfs_add_qgroup_relation() local
1165 member = find_qgroup_rb(fs_info, src); btrfs_add_qgroup_relation()
1167 if (!member || !parent) { btrfs_add_qgroup_relation()
1173 list_for_each_entry(list, &member->groups, next_group) { btrfs_add_qgroup_relation()
1209 struct btrfs_qgroup *member; __del_qgroup_relation() local
1225 member = find_qgroup_rb(fs_info, src); __del_qgroup_relation()
1227 if (!member || !parent) { __del_qgroup_relation()
1233 list_for_each_entry(list, &member->groups, next_group) { __del_qgroup_relation()
H A Dctree.h2303 #define read_eb_member(eb, ptr, type, member, result) ( \
2306 offsetof(type, member), \
2307 sizeof(((type *)0)->member)))
2309 #define write_eb_member(eb, ptr, type, member, result) ( \
2312 offsetof(type, member), \
2313 sizeof(((type *)0)->member)))
2338 #define BTRFS_SETGET_FUNCS(name, type, member, bits) \
2341 BUILD_BUG_ON(sizeof(u##bits) != sizeof(((type *)0))->member); \
2342 return btrfs_get_##bits(eb, s, offsetof(type, member)); \
2347 BUILD_BUG_ON(sizeof(u##bits) != sizeof(((type *)0))->member); \
2348 btrfs_set_##bits(eb, s, offsetof(type, member), val); \
2353 BUILD_BUG_ON(sizeof(u##bits) != sizeof(((type *)0))->member); \
2354 return btrfs_get_token_##bits(eb, s, offsetof(type, member), token); \
2360 BUILD_BUG_ON(sizeof(u##bits) != sizeof(((type *)0))->member); \
2361 btrfs_set_token_##bits(eb, s, offsetof(type, member), val, token); \
2364 #define BTRFS_SETGET_HEADER_FUNCS(name, type, member, bits) \
2368 u##bits res = le##bits##_to_cpu(p->member); \
2375 p->member = cpu_to_le##bits(val); \
2378 #define BTRFS_SETGET_STACK_FUNCS(name, type, member, bits) \
2381 return le##bits##_to_cpu(s->member); \
2385 s->member = cpu_to_le##bits(val); \
/linux-4.4.14/drivers/net/ethernet/altera/
H A Daltera_sgdma.c434 #define list_remove_head(list, entry, type, member) \
438 entry = list_entry((list)->next, type, member); \
439 list_del_init(&entry->member); \
443 #define list_peek_head(list, entry, type, member) \
447 entry = list_entry((list)->next, type, member); \
/linux-4.4.14/drivers/usb/renesas_usbhs/
H A Dmod.h99 * This callback cannot be member of "struct usbhs_mod"
/linux-4.4.14/drivers/staging/unisys/visorbus/
H A Dvbuschannel.h63 u32 dev_info_count; /* num of items in DevInfo member */
/linux-4.4.14/drivers/clk/imx/
H A Dclk-pfd.c26 * data encoded, and member idx is used to specify the one. And each
/linux-4.4.14/include/rdma/
H A Dib_sa.h345 * @rec: SA multicast member record specifying group attributes.
388 * ib_get_mcmember_rec - Looks up a multicast member record by its MGID and
394 * @rec: Location to copy SA multicast member record.
401 * an SA multicast member record.
/linux-4.4.14/fs/xfs/
H A Dxfs_sysctl.h35 * not a member of parent dir GID. */
/linux-4.4.14/arch/ia64/include/uapi/asm/
H A Dperfmon_default_smpl.h59 * last_reset_value member indicates the initial value of the overflowed PMD.
H A Dsigcontext.h52 /* Note: sc_gr[0] is used as the "uc_link" member of ucontext_t */
/linux-4.4.14/net/mac80211/
H A Dkey.h128 * material as variable length member
/linux-4.4.14/drivers/staging/unisys/include/
H A Dvisorbus.h122 /** visor driver can use the visorchannel member with the functions
132 * private visor driver specific data within the device member.
/linux-4.4.14/drivers/staging/comedi/
H A Dcomedi_pcmcia.c57 * driver needs to set the 'config_flags' member in the &struct pcmcia_device,
65 * 'config_index' member is %0, otherwise it calls pcmcia_request_io() and
H A Ddrivers.c729 * 'driv->board_name' points to a 'const char *' member within the
731 * structure, say 'struct foo_board' containing a member 'const char
743 * returns NULL. The return value ends up in the 'board_ptr' member of
747 * offset of the member that points to the board name. (No subtraction
748 * is required if the board name pointer is the first member of the
H A Dcomedidev.h233 * COMEDI device's hw_dev member.
245 * member of &struct comedi_async.)
426 * handler will be called with the COMEDI device structure's board_ptr member
463 * have their 'async_dma_dir' member set to something other than
468 * string if the 'num_names' member of the &struct comedi_driver is
475 * the low-level driver. If the 'num_names' member of the &struct
/linux-4.4.14/drivers/net/ethernet/toshiba/
H A Dps3_gelic_wireless.h199 /* for 'stat' member of gelic_wl_info */
209 /* for 'scan_stat' member of gelic_wl_info */
H A Dps3_gelic_net.h279 * 8 bytes aligned, but u64 member is
/linux-4.4.14/fs/proc/
H A Dvmcore.c516 * update_note_header_size_elf64 - update p_memsz member of each PT_NOTE entry
520 * This function updates p_memsz member of each PT_NOTE entry in the
585 * size in its p_memsz member.
620 * size in its p_memsz member.
702 * update_note_header_size_elf32 - update p_memsz member of each PT_NOTE entry
706 * This function updates p_memsz member of each PT_NOTE entry in the
771 * size in its p_memsz member.
806 * size in its p_memsz member.
/linux-4.4.14/fs/reiserfs/
H A Dobjectid.c79 * Now we check to see if we eliminated the last remaining member of reiserfs_get_unused_objectid()
125 * Did we unallocate the last member of an reiserfs_release_objectid()
/linux-4.4.14/arch/s390/hypfs/
H A Dhypfs_vm.c112 #define ATTRIBUTE(dir, name, member) \
115 rc = hypfs_create_u64(dir, name, member); \
/linux-4.4.14/arch/ia64/kernel/
H A Drelocate_kernel.S63 #define O(member) IA64_CPUINFO_##member##_OFFSET
H A Dunwind_i.h49 struct unw_table *next; /* must be first member! */
/linux-4.4.14/security/apparmor/
H A Dapparmorfs.c553 #define list_entry_next(pos, member) \
554 list_entry(pos->member.next, typeof(*pos), member)
555 #define list_entry_is_head(pos, head, member) (&pos->member == (head))
/linux-4.4.14/tools/perf/
H A Dbuiltin-lock.c205 #define SINGLE_KEY(member) \
206 static int lock_stat_key_ ## member(struct lock_stat *one, \
209 return one->member > two->member; \
233 * this should be simpler than raw name of member
/linux-4.4.14/drivers/uwb/
H A Dreset.c151 * normally you embed this structure as the first member of
211 * normally you embed this structure as the first member of
256 * normally you embed this structure as the first member of
/linux-4.4.14/drivers/scsi/csiostor/
H A Dcsio_rnode.h91 * 1st member
/linux-4.4.14/drivers/net/can/c_can/
H A Dc_can.h196 struct can_priv can; /* must be the first member */
/linux-4.4.14/drivers/net/can/softing/
H A Dsofting.h20 struct can_priv can; /* must be the first member! */
H A Dsofting_main.c693 #define DEV_ATTR_RO(name, member) \
698 return sprintf(buf, "%u\n", card->member); \
702 #define DEV_ATTR_RO_STR(name, member) \
707 return sprintf(buf, "%s\n", card->member); \
/linux-4.4.14/drivers/iommu/
H A Dio-pgtable.h78 * These functions map directly onto the iommu_ops member functions with
/linux-4.4.14/drivers/net/wireless/rt2x00/
H A Drt2x00dump.h61 * These values are used for the @type member of &rt2x00dump_hdr.
/linux-4.4.14/drivers/pinctrl/meson/
H A Dpinctrl-meson.h89 * the regmap control the different functionalities. Each member of
/linux-4.4.14/fs/ext4/
H A Dmballoc.h94 /* MUST be the first member */
/linux-4.4.14/lib/
H A Dearlycpio.c19 * Find a specific cpio member; must precede any compressed content.
/linux-4.4.14/include/net/sctp/
H A Dsctp.h442 #define sctp_walk_params(pos, chunk, member)\
443 _sctp_walk_params((pos), (chunk), ntohs((chunk)->chunk_hdr.length), member)
445 #define _sctp_walk_params(pos, chunk, end, member)\
446 for (pos.v = chunk->member;\
/linux-4.4.14/include/scsi/
H A Dosd_ore.h72 * too a bigger struct which contain an "ore_dev ored" member and use
/linux-4.4.14/include/sound/
H A Ddmaengine_pcm.h59 * src_addr_width member, not bytes) that can be send to or received from the
/linux-4.4.14/arch/powerpc/kernel/
H A Deeh_sysfs.c33 * @_memb: name of member in struct pci_dn to access
H A Drtas_flash.c137 /* Status int must be first member of struct */
144 /* Status int must be first member of struct */
150 /* Status int must be first member of struct */
734 * This code assumes that the status int is the first member of the rtas_flash_init()
/linux-4.4.14/arch/powerpc/mm/
H A D40x_mmu.c62 * be applied to every page which is a member of a given zone. At MMU_init_hw()
/linux-4.4.14/arch/ia64/hp/common/
H A Daml_nfw.c46 * the member offsets are embedded in AML methods.
/linux-4.4.14/drivers/base/
H A Dattribute_container.c183 #define klist_for_each_entry(pos, head, member, iter) \
186 n ? container_of(n, typeof(*pos), member) : \
/linux-4.4.14/drivers/gpu/drm/msm/adreno/
H A Dadreno_gpu.c50 #define rbmemptr(adreno_gpu, member) \
51 ((adreno_gpu)->memptrs_iova + offsetof(struct adreno_rbmemptrs, member))
/linux-4.4.14/drivers/net/ethernet/micrel/
H A Dksz884x.c1060 * @member: Port membership.
1065 u8 member; member in struct:ksz_vlan_table
1152 * @member: Port membership.
1160 u8 member; member in struct:ksz_port_cfg
1179 * @member: Current port membership. Used for STP.
1193 u8 member; member in struct:ksz_switch
1764 * @member: Buffer to store the port membership.
1772 u8 *member) sw_r_vlan_table()
1780 *member = (u8)((data & VLAN_TABLE_MEMBERSHIP) >> sw_r_vlan_table()
2657 &sw->vlan_table[entry].member); sw_init_vlan()
2662 sw->port_cfg[port].member = PORT_MASK; sw_init_vlan()
2670 * @member: The port-based VLAN membership.
2674 static void sw_cfg_port_base_vlan(struct ksz_hw *hw, int port, u8 member) sw_cfg_port_base_vlan() argument
2684 data |= (member & PORT_MASK); sw_cfg_port_base_vlan()
2687 hw->ksz_switch->port_cfg[port].member = member; sw_cfg_port_base_vlan()
5333 u8 member; bridge_change() local
5337 if (!sw->member) { bridge_change()
5343 member = HOST_MASK | sw->member; bridge_change()
5345 member = HOST_MASK | (1 << port); bridge_change()
5346 if (member != sw->port_cfg[port].member) bridge_change()
5347 sw_cfg_port_base_vlan(hw, port, member); bridge_change()
5379 if (hw->ksz_switch->member & pi) { netdev_close()
5380 hw->ksz_switch->member &= ~pi; netdev_close()
5715 if (sw->member & port) { dev_set_promiscuous()
5716 sw->member &= ~port; dev_set_promiscuous()
1771 sw_r_vlan_table(struct ksz_hw *hw, u16 addr, u16 *vid, u8 *fid, u8 *member) sw_r_vlan_table() argument
/linux-4.4.14/drivers/scsi/mvsas/
H A Dmv_sas.h286 * If any member fills with 0xFF, the member is invalid.
/linux-4.4.14/drivers/media/usb/usbvision/
H A Dusbvision.h256 isoc_state_in_frame, /* Isoc packet is member of frame */
257 isoc_state_no_frame, /* Isoc packet is not member of any frame */
/linux-4.4.14/drivers/misc/mei/
H A Damthif.c499 /* list all list member */ list_for_each_entry_safe()
501 /* check if list member associated with a file */ list_for_each_entry_safe()
/linux-4.4.14/arch/arm/kernel/
H A Dsys_oabi-compat.c21 * member it contains instead of the invariant 32-bit.
53 * struct epoll_event has its second member shifted also affecting the
/linux-4.4.14/sound/pci/emu10k1/
H A Dmemory.c80 #define get_emu10k1_memblk(l,member) list_entry(l, struct snd_emu10k1_memblk, member)
/linux-4.4.14/drivers/usb/gadget/udc/
H A Dr8a66597-udc.h68 /* this member can able to after r8a66597_enable */
/linux-4.4.14/drivers/staging/rdma/hfi1/
H A Diowait.h92 * The wait_dma member along with the iow
/linux-4.4.14/drivers/scsi/snic/
H A Dvnic_devcmd.h84 /* dev-specific block member:
/linux-4.4.14/drivers/spi/
H A Dspi-dw.h237 * which can be save in the "controller_data" member of the
/linux-4.4.14/drivers/isdn/pcbit/
H A Dedss1.c124 {0x57, "User not member of CUG"},
/linux-4.4.14/drivers/macintosh/
H A Dmacio-adb.c264 /* Here, we assume that if the request has a done member, the macio_adb_interrupt()
/linux-4.4.14/drivers/net/can/mscan/
H A Dmscan.h282 struct can_priv can; /* must be the first member */
/linux-4.4.14/drivers/net/can/sja1000/
H A Dsja1000.h154 struct can_priv can; /* must be the first member */
/linux-4.4.14/drivers/infiniband/hw/mthca/
H A Dmthca_mcg.c166 mthca_dbg(dev, "QP %06x already a member of MGM\n", mthca_multicast_attach()
/linux-4.4.14/drivers/media/pci/cx18/
H A Dcx18-i2c.c151 /* Find the first member of the subdev group id in hw */ cx18_find_hw()
/linux-4.4.14/drivers/infiniband/ulp/srp/
H A Dib_srp.h196 /* other member variables */
/linux-4.4.14/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common.h219 * member record the start of pin number to use the second address.
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
H A Dbe_ethtool.c139 {DRVSTAT_RX_INFO(rx_bytes)},/* If moving this member see above note */
140 {DRVSTAT_RX_INFO(rx_pkts)}, /* If moving this member see above note */
160 * first member
163 {DRVSTAT_TX_INFO(tx_compl)}, /* If moving this member see above note */
/linux-4.4.14/arch/tile/kernel/
H A Dcompat_signal.c63 3 ints plus the relevant union member. */ copy_siginfo_to_user32()
/linux-4.4.14/net/9p/
H A Derror.c154 {"not a member of proposed group", EPERM},
/linux-4.4.14/net/dsa/
H A Dslave.c212 int member, err; dsa_bridge_check_vlan_range() local
227 member = find_first_bit(members, DSA_MAX_PORTS); dsa_bridge_check_vlan_range()
228 if (member == DSA_MAX_PORTS) dsa_bridge_check_vlan_range()
231 dev = ds->ports[member]; dsa_bridge_check_vlan_range()

Completed in 5294 milliseconds

123