Home
last modified time | relevance | path

Searched refs:leader (Results 1 – 19 of 19) sorted by relevance

/linux-3.4.99/arch/alpha/kernel/
Dpci_iommu.c510 struct scatterlist *leader; in sg_classify() local
514 leader = sg; in sg_classify()
516 leader_length = leader->length; in sg_classify()
517 next_paddr = SG_ENT_PHYS_ADDRESS(leader) + leader_length; in sg_classify()
538 leader->dma_address = leader_flag; in sg_classify()
539 leader->dma_length = leader_length; in sg_classify()
540 leader = sg; in sg_classify()
548 leader->dma_address = leader_flag; in sg_classify()
549 leader->dma_length = leader_length; in sg_classify()
556 sg_fill(struct device *dev, struct scatterlist *leader, struct scatterlist *end, in sg_fill() argument
[all …]
/linux-3.4.99/drivers/media/video/tm6000/
Dtm6000-input.c95 u32 pulse = 0, leader = 0; in tm6000_ir_config() local
113 leader = 900; /* ms */ in tm6000_ir_config()
118 leader = 900; /* ms - from the NEC decoding */ in tm6000_ir_config()
124 leader = ir_clock_mhz * leader; in tm6000_ir_config()
126 leader = leader | 0x8000; in tm6000_ir_config()
131 ir_clock_mhz, leader, pulse); in tm6000_ir_config()
144 tm6000_set_reg(dev, TM6010_REQ07_RDC_IR_LEADER1, leader >> 8); in tm6000_ir_config()
145 tm6000_set_reg(dev, TM6010_REQ07_RDD_IR_LEADER0, leader); in tm6000_ir_config()
/linux-3.4.99/fs/
Dexec.c908 struct task_struct *leader = tsk->group_leader; in de_thread() local
914 if (likely(leader->exit_state)) in de_thread()
932 tsk->start_time = leader->start_time; in de_thread()
934 BUG_ON(!same_thread_group(leader, tsk)); in de_thread()
949 tsk->pid = leader->pid; in de_thread()
950 attach_pid(tsk, PIDTYPE_PID, task_pid(leader)); in de_thread()
951 transfer_pid(leader, tsk, PIDTYPE_PGID); in de_thread()
952 transfer_pid(leader, tsk, PIDTYPE_SID); in de_thread()
954 list_replace_rcu(&leader->tasks, &tsk->tasks); in de_thread()
955 list_replace_init(&leader->sibling, &tsk->sibling); in de_thread()
[all …]
/linux-3.4.99/kernel/
Dexit.c170 struct task_struct *leader; in release_task() local
191 leader = p->group_leader; in release_task()
192 if (leader != p && thread_group_empty(leader) && leader->exit_state == EXIT_ZOMBIE) { in release_task()
198 zap_leader = do_notify_parent(leader, leader->exit_signal); in release_task()
200 leader->exit_state = EXIT_DEAD; in release_task()
207 p = leader; in release_task()
Dsys.c1066 if (p->signal->leader) in SYSCALL_DEFINE2()
1168 if (group_leader->signal->leader) in SYSCALL_DEFINE0()
1177 group_leader->signal->leader = 1; in SYSCALL_DEFINE0()
Dcpuset.c1425 struct task_struct *leader = cgroup_taskset_first(tset); in cpuset_attach() local
1447 mm = get_task_mm(leader); in cpuset_attach()
Dcgroup.c1998 static int cgroup_attach_proc(struct cgroup *cgrp, struct task_struct *leader) in cgroup_attach_proc() argument
2017 group_size = get_nr_threads(leader); in cgroup_attach_proc()
2027 tsk = leader; in cgroup_attach_proc()
2056 } while_each_thread(leader, tsk); in cgroup_attach_proc()
/linux-3.4.99/fs/proc/
Dbase.c3062 struct dentry *dentry, *leader, *dir; in proc_flush_task_mnt() local
3077 leader = d_hash_and_lookup(mnt->mnt_root, &name); in proc_flush_task_mnt()
3078 if (!leader) in proc_flush_task_mnt()
3083 dir = d_hash_and_lookup(leader, &name); in proc_flush_task_mnt()
3098 dput(leader); in proc_flush_task_mnt()
3445 struct task_struct *leader = get_proc_task(dir); in proc_task_lookup() local
3449 if (!leader) in proc_task_lookup()
3464 if (!same_thread_group(leader, task)) in proc_task_lookup()
3471 put_task_struct(leader); in proc_task_lookup()
3488 static struct task_struct *first_tid(struct task_struct *leader, in first_tid() argument
[all …]
/linux-3.4.99/kernel/events/
Dcore.c863 static void update_group_times(struct perf_event *leader) in update_group_times() argument
867 update_event_times(leader); in update_group_times()
868 list_for_each_entry(event, &leader->sibling_list, group_entry) in update_group_times()
1744 struct perf_event *leader = event->group_leader; in __perf_event_enable() local
1783 if (leader != event && leader->state != PERF_EVENT_STATE_ACTIVE) in __perf_event_enable()
1789 if (event == leader) in __perf_event_enable()
1800 if (leader != event) in __perf_event_enable()
1801 group_sched_out(leader, cpuctx, ctx); in __perf_event_enable()
1802 if (leader->attr.pinned) { in __perf_event_enable()
1803 update_group_times(leader); in __perf_event_enable()
[all …]
/linux-3.4.99/tools/perf/
Ddesign.txt262 counter group has one counter which is the group "leader". The leader
265 subsequently, with group_fd giving the fd of the group leader.
420 Enabling or disabling the leader of a group enables or disables the
421 whole group; that is, while the group leader is disabled, none of the
423 group other than the leader only affects that counter - disabling an
424 non-leader stops that counter from counting but doesn't affect any
/linux-3.4.99/arch/arm/kernel/
Dperf_event.c342 struct perf_event *sibling, *leader = event->group_leader; in validate_group() local
353 if (!validate_event(&fake_pmu, leader)) in validate_group()
356 list_for_each_entry(sibling, &leader->sibling_list, group_entry) { in validate_group()
/linux-3.4.99/arch/x86/kernel/cpu/
Dperf_event.c788 static int collect_events(struct cpu_hw_events *cpuc, struct perf_event *leader, bool dogrp) in collect_events() argument
798 if (is_x86_event(leader)) { in collect_events()
801 cpuc->event_list[n] = leader; in collect_events()
807 list_for_each_entry(event, &leader->sibling_list, group_entry) { in collect_events()
1552 struct perf_event *leader = event->group_leader; in validate_group() local
1565 n = collect_events(fake_cpuc, leader, true); in validate_group()
/linux-3.4.99/arch/mips/kernel/
Dperf_event_mipsxx.c712 struct perf_event *sibling, *leader = event->group_leader; in validate_group() local
717 if (mipsxx_pmu_alloc_counter(&fake_cpuc, &leader->hw) < 0) in validate_group()
720 list_for_each_entry(sibling, &leader->sibling_list, group_entry) { in validate_group()
/linux-3.4.99/drivers/tty/
Dtty_io.c616 if (!p->signal->leader) { in __tty_hangup()
793 if (!current->signal->leader) in disassociate_ctty()
2010 current->signal->leader && in tty_open()
2305 if (current->signal->leader && (task_session(current) == tty->session)) in tiocsctty()
2313 if (!current->signal->leader || current->signal->tty) { in tiocsctty()
/linux-3.4.99/drivers/net/ethernet/ti/
Dcpsw.c420 static char *leader = "........................................"; in __show_stat() local
426 leader + strlen(name), val); in __show_stat()
/linux-3.4.99/Documentation/accounting/
Dtaskstats.txt24 leader - a process is deemed alive as long as it has any task belonging to it.
/linux-3.4.99/include/linux/
Dsched.h601 int leader; member
/linux-3.4.99/Documentation/cgroups/
Dcgroups.txt607 - the first task is the leader
Dmemory.txt608 Note: Charges are moved only when you move mm->owner, IOW, a leader of a thread