Home
last modified time | relevance | path

Searched refs:pid (Results 4026 - 4050 of 7186) sorted by relevance

1...<<161162163164165166167168169170>>...288

/third_party/skia/third_party/externals/tint/src/ast/
H A Dswitch_statement.h28 /// @param pid the identifier of the program that owns this node
32 SwitchStatement(ProgramID pid,
H A Dtexture.h68 /// @param pid the identifier of the program that owns this node
71 Texture(ProgramID pid, const Source& src, TextureDimension dim);
H A Dvector.h29 /// @param pid the identifier of the program that owns this node
33 Vector(ProgramID pid, Source const& src, const Type* subtype, uint32_t width);
H A Dworkgroup_decoration.h33 /// @param pid the identifier of the program that owns this node
38 WorkgroupDecoration(ProgramID pid,
/third_party/ltp/testcases/kernel/fs/doio/
H A Ddoio.c524 int i, pid, stat, ex_stat; in main() local
608 * Malloc space for the children pid array. Initialize all entries in main()
638 if ((pid = fork()) == -1) { in main()
645 Children[Nchildren] = pid; in main()
648 if (pid == 0) { in main()
675 if ((pid = wait(&stat)) == -1) { in main()
681 if (Children[i] == pid) in main()
694 "(parent) pid %d exited because of an internal error\n", in main()
695 pid); in main()
701 "(parent) pid in main()
1600 static int pid = -1; do_write() local
3057 static int pid = -1; do_rw() local
3827 static int pid = -1; doio_fprintf() local
[all...]
/foundation/graphic/graphic_surface/surface/test/unittest/
H A Dbuffer_client_producer_remote_test.cpp61 static inline pid_t pid = 0; member in OHOS::Rosen::BufferClientProducerRemoteTest
100 pid = fork(); in SetUpTestCase()
101 if (pid < 0) { in SetUpTestCase()
104 if (pid == 0) { in SetUpTestCase()
147 waitpid(pid, nullptr, 0); in TearDownTestCase()
/foundation/filemanagement/storage_service/services/storage_daemon/utils/
H A Dfile_utils.cpp420 pid_t pid; in ForkExec() local
429 pid = fork(); in ForkExec()
430 if (pid == -1) { in ForkExec()
433 } else if (pid == 0) { in ForkExec()
457 waitpid(pid, &status, 0); in ForkExec()
/kernel/linux/linux-5.10/arch/x86/kvm/
H A Di8254.c663 struct pid *pid; in kvm_create_pit() local
677 pid = get_pid(task_tgid(current)); in kvm_create_pit()
678 pid_nr = pid_vnr(pid); in kvm_create_pit()
679 put_pid(pid); in kvm_create_pit()
/kernel/linux/linux-5.10/drivers/media/i2c/
H A Dov9640.c591 u8 pid, ver, midh, midl; in ov9640_video_probe() local
603 ret = ov9640_reg_read(client, OV9640_PID, &pid); in ov9640_video_probe()
613 switch (VERSION(pid, ver)) { in ov9640_video_probe()
623 dev_err(&client->dev, "Product ID error %x:%x\n", pid, ver); in ov9640_video_probe()
629 devname, pid, ver, midh, midl); in ov9640_video_probe()
/kernel/linux/linux-5.10/fs/notify/fanotify/
H A Dfanotify.c101 old->type != new->type || old->pid != new->pid) in fanotify_should_merge()
612 event->pid = get_pid(task_pid(current)); in fanotify_alloc_event()
614 event->pid = get_pid(task_tgid(current)); in fanotify_alloc_event()
783 put_pid(event->pid); in fanotify_free_event()
/kernel/linux/linux-6.6/drivers/dma/idxd/
H A Dcdev.c52 pid_t pid; member
86 return sysfs_emit(buf, "%u\n", ctx->pid); in pid_show()
88 static DEVICE_ATTR_RO(pid);
251 ctx->pid = current->pid; in idxd_cdev_open()
/kernel/linux/linux-6.6/drivers/media/i2c/
H A Dov9640.c591 u8 pid, ver, midh, midl; in ov9640_video_probe() local
603 ret = ov9640_reg_read(client, OV9640_PID, &pid); in ov9640_video_probe()
613 switch (VERSION(pid, ver)) { in ov9640_video_probe()
623 dev_err(&client->dev, "Product ID error %x:%x\n", pid, ver); in ov9640_video_probe()
629 devname, pid, ver, midh, midl); in ov9640_video_probe()
/kernel/linux/linux-6.6/arch/x86/kvm/
H A Di8254.c666 struct pid *pid; in kvm_create_pit() local
680 pid = get_pid(task_tgid(current)); in kvm_create_pit()
681 pid_nr = pid_vnr(pid); in kvm_create_pit()
682 put_pid(pid); in kvm_create_pit()
/kernel/linux/linux-6.6/drivers/gpu/drm/etnaviv/
H A Detnaviv_gem_submit.c401 put_pid(submit->pid); in submit_cleanup()
426 struct pid *pid = get_pid(task_pid(current)); in etnaviv_ioctl_gem_submit() local
524 submit->pid = pid; in etnaviv_ioctl_gem_submit()
/kernel/liteos_a/kernel/extended/cpup/
H A Dlos_cpup.c354 STATIC UINT32 OsHistoryProcessCpuUsageUnsafe(UINT32 pid, UINT16 mode) in OsHistoryProcessCpuUsageUnsafe() argument
364 if (OS_PID_CHECK_INVALID(pid)) { in OsHistoryProcessCpuUsageUnsafe()
368 processCB = OS_PCB_FROM_PID(pid); in OsHistoryProcessCpuUsageUnsafe()
383 LITE_OS_SEC_TEXT_MINOR UINT32 LOS_HistoryProcessCpuUsage(UINT32 pid, UINT16 mode) in LOS_HistoryProcessCpuUsage() argument
389 cpup = OsHistoryProcessCpuUsageUnsafe(pid, mode); in LOS_HistoryProcessCpuUsage()
/third_party/alsa-lib/src/control/
H A Dcontrol_shm.c106 static int snd_ctl_shm_async(snd_ctl_t *ctl, int sig, pid_t pid) in snd_ctl_shm_async() argument
112 if (pid == 0) in snd_ctl_shm_async()
113 pid = getpid(); in snd_ctl_shm_async()
114 ctrl->u.async.pid = pid; in snd_ctl_shm_async()
/third_party/ltp/testcases/kernel/mce-test/stress/tools/page-poisoning/
H A Dpage-poisoning.c149 printf("[pid %d] %s", mypid, buf); in mylog()
150 fprintf(log_fd, "[pid %d] %s", mypid, buf); in mylog()
164 fprintf(result_fd, "[pid %d] %s", mypid, buf); in result()
710 pid_t pid = -1; in run_test() local
716 pid = fork(); in run_test()
717 if (pid < 0) { in run_test()
720 } else if (pid == 0) { in run_test()
727 g_pid[i] = pid; in run_test()
/third_party/toybox/lib/
H A Dlib.h144 int xwaitpid(pid_t pid);
145 int xpclose_both(pid_t pid, int *pipes);
147 pid_t xpclose(pid_t pid, int pipe);
417 void names_to_pid(char **names, int (*callback)(pid_t pid, char *name),
420 pid_t __attribute__((returns_twice)) xvforkwrap(pid_t pid);
/third_party/toybox/porting/liteos_a/lib/
H A Dlib.h139 int xwaitpid(pid_t pid);
140 int xpclose_both(pid_t pid, int *pipes);
142 pid_t xpclose(pid_t pid, int pipe);
408 void names_to_pid(char **names, int (*callback)(pid_t pid, char *name),
411 pid_t __attribute__((returns_twice)) xvforkwrap(pid_t pid);
/third_party/toybox/toys/pending/
H A Ddhcp6.c434 pid_t pid; in run_script() local
450 pid = vfork(); in run_script()
451 if (pid < 0) { in run_script()
455 if (!pid) { in run_script()
461 waitpid(pid, NULL, 0); in run_script()
558 dbg("pid file: %s\n", TT.pidfile); in dhcp6_main()
/base/hiviewdfx/hiview/adapter/service/server/src/
H A Dhiview_service_ability.cpp332 appCaller.pid = IPCSkeleton::GetCallingPid(); in CaptureDurationTrace()
355 CollectResultParcelable<int32_t> HiviewServiceAbility::GetGraphicUsage(int32_t pid) in GetGraphicUsage() argument
357 auto handler = [pid] (HiviewService* service) { in GetGraphicUsage()
358 return service->GetGraphicUsage(pid); in GetGraphicUsage()
/base/hiviewdfx/hiview/base/event_publish/
H A Devent_publish.cpp43 const std::string PID = "pid";
165 int pid = 0; in GetDesFileName() local
167 pid = params[PID].asInt(); in GetDesFileName()
174 desFileName = BUSINESS_JANK_PREFIX + "_" + timeStr + "_" + std::to_string(pid) in GetDesFileName()
177 desFileName = eventName + "_" + timeStr + "_" + std::to_string(pid) in GetDesFileName()
/base/location/services/location_locator/locator/source/
H A Dreport_manager.cpp196 auto pid = request->GetPid(); in GetPermittedLocation() local
200 if (IsAppBackground(bundleName, tokenId, tokenIdEx, uid, pid) && in GetPermittedLocation()
261 LBSLOGE(REPORT_MANAGER, "pid:%{public}d is proxy by freeze, no need to report", request->GetPid()); in ResultCheck()
460 bool ReportManager::IsAppBackground(std::string bundleName, uint32_t tokenId, uint64_t tokenIdEx, pid_t uid, pid_t pid) in IsAppBackground() argument
469 if (locatorBackgroundProxy->IsAppInLocationContinuousTasks(uid, pid)) { in IsAppBackground()
/base/hiviewdfx/hilog/frameworks/libhilog/utils/
H A Dlog_utils.cpp127 {ERR_TOO_MANY_PIDS, "Max pid count is " + to_string(MAX_PIDS)},
143 {ERR_NO_PID_PERMISSION, "Permission denied, only shell and root can filter logs by pid"},
423 string GetNameByPid(uint32_t pid) in GetNameByPid() argument
426 if (snprintf_s(path, CMDLINE_PATH_LEN, CMDLINE_PATH_LEN - 1, "/proc/%d/cmdline", pid) <= 0) { in GetNameByPid()
449 uint32_t GetPPidByPid(uint32_t pid) in GetPPidByPid() argument
453 if (snprintf_s(path, STATUS_PATH_LEN, STATUS_PATH_LEN - 1, "/proc/%u/status", pid) <= 0) { in GetPPidByPid()
/base/hiviewdfx/hiview/base/event_raw/encoded/
H A Draw_data_builder.cpp40 AppendUid(header.uid).AppendPid(header.pid).AppendTid(header.tid).AppendId(header.id); in RawDataBuilder()
172 RawDataBuilder& RawDataBuilder::AppendPid(const uint32_t pid) in AppendPid() argument
174 header_.pid = pid; in AppendPid()

Completed in 25 milliseconds

1...<<161162163164165166167168169170>>...288