/* * include/linux/sync.h * * Copyright (C) 2012 Google, Inc. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * */ #ifndef _LINUX_SYNC_H #define _LINUX_SYNC_H #include <linux/list.h> #include <linux/spinlock.h> #include <linux/fence.h> #include <linux/sync_file.h> #include <uapi/linux/sync_file.h> /** * struct sync_timeline - sync object * @kref: reference count on fence. * @name: name of the sync_timeline. Useful for debugging * @child_list_head: list of children sync_pts for this sync_timeline * @child_list_lock: lock protecting @child_list_head and fence.status * @active_list_head: list of active (unsignaled/errored) sync_pts * @sync_timeline_list: membership in global sync_timeline_list */ struct sync_timeline { struct kref kref; char name[32]; /* protected by child_list_lock */ u64 context; int value; struct list_head child_list_head; spinlock_t child_list_lock; struct list_head active_list_head; struct list_head sync_timeline_list; };
static inline struct sync_timeline *fence_parent(struct fence *fence) { return container_of(fence->lock, struct sync_timeline, child_list_lock); }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
maarten lankhorst | maarten lankhorst | 22 | 81.48% | 1 | 33.33% |
gustavo padovan | gustavo padovan | 4 | 14.81% | 1 | 33.33% |
erik gilling | erik gilling | 1 | 3.70% | 1 | 33.33% |
Total | 27 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
maarten lankhorst | maarten lankhorst | 98 | 51.31% | 1 | 7.14% |
erik gilling | erik gilling | 50 | 26.18% | 4 | 28.57% |
gustavo padovan | gustavo padovan | 40 | 20.94% | 8 | 57.14% |
linus torvalds | linus torvalds | 3 | 1.57% | 1 | 7.14% |
Total | 191 | 100.00% | 14 | 100.00% |