Home
last modified time | relevance | path

Searched refs:mask_size (Results 1 – 6 of 6) sorted by relevance

/external/ltp/testcases/kernel/syscalls/sched_setaffinity/
Dsched_setaffinity01.c32 static size_t mask_size, emask_size; variable
42 {&self_pid, &mask_size, &fmask, EFAULT},
44 {&free_pid, &mask_size, &mask, ESRCH},
45 {&privileged_pid, &mask_size, &mask, EPERM},
100 mask_size = CPU_ALLOC_SIZE(ncpus); in setup()
102 if (sched_getaffinity(0, mask_size, mask) < 0) in setup()
/external/trace-cmd/lib/trace-cmd/
Dtrace-timesync.c325 int mask_size; in get_first_cpu() local
333 mask_size = CPU_ALLOC_SIZE(cpus); in get_first_cpu()
334 CPU_ZERO_S(mask_size, cpu_mask); in get_first_cpu()
335 CPU_ZERO_S(mask_size, *pin_mask); in get_first_cpu()
337 if (sched_getaffinity(0, mask_size, cpu_mask) == -1) in get_first_cpu()
341 if (CPU_ISSET_S(i, mask_size, cpu_mask)) { in get_first_cpu()
342 CPU_SET_S(i, mask_size, *pin_mask); in get_first_cpu()
347 if (CPU_COUNT_S(mask_size, *pin_mask) < 1) in get_first_cpu()
351 *m_size = mask_size; in get_first_cpu()
772 size_t mask_size = 0; in tracecmd_tsync_with_guest() local
[all …]
/external/webrtc/modules/rtp_rtcp/source/
Dfec_private_tables_bursty_unittest.cc71 size_t mask_size = sizeof(kMaskRandom15_6) / sizeof(uint8_t); in TEST() local
75 EXPECT_EQ(mask.size(), mask_size); in TEST()
76 for (size_t i = 0; i < mask_size; ++i) { in TEST()
/external/llvm/test/CodeGen/Thumb2/
D2009-12-01-LoopIVUsers.ll35 %mask_size = alloca i32 ; <i32*> [#uses=5]
61 store i32 %8, i32* %mask_size, align 4
65 store i32 1, i32* %mask_size, align 4
69 %9 = load i32, i32* %mask_size, align 4 ; <i32> [#uses=1]
89 %24 = load i32, i32* %mask_size, align 4 ; <i32> [#uses=1]
116 %40 = load i32, i32* %mask_size, align 4 ; <i32> [#uses=1]
/external/ltp/testcases/kernel/syscalls/perf_event_open/
Dperf_event_open02.c181 size_t mask_size; in bind_to_current_cpu() local
188 mask_size = CPU_ALLOC_SIZE(cpu + 1); in bind_to_current_cpu()
189 CPU_ZERO_S(mask_size, mask); in bind_to_current_cpu()
191 if (sched_setaffinity(0, mask_size, mask) == -1) in bind_to_current_cpu()
/external/mesa3d/src/amd/compiler/
Daco_insert_NOPs.cpp201 unsigned mask_size = util_last_bit(mask); in handle_raw_hazard_internal() local
207 if (regs_intersect(reg, mask_size, def.physReg(), def.size())) { in handle_raw_hazard_internal()
209 unsigned end = MIN2(mask_size, start + def.size()); in handle_raw_hazard_internal()