Searched refs:pidName (Results 1 – 1 of 1) sorted by relevance
/kernel/liteos_a/fs/proc/os_adapt/ |
D | process_proc.c | 628 char pidName[PROC_PID_DIR_LEN] = {0}; in ProcCreatePorcess() local 635 … ret = snprintf_s(pidName, PROC_PID_DIR_LEN, PROC_PID_DIR_LEN - 1, "%u/%s", pid, porcess->name); in ProcCreatePorcess() 637 ret = snprintf_s(pidName, PROC_PID_DIR_LEN, PROC_PID_DIR_LEN - 1, "%u", pid); in ProcCreatePorcess() 641 … ret = snprintf_s(pidName, PROC_PID_DIR_LEN, PROC_PID_DIR_LEN - 1, "%s/%s", "self", porcess->name); in ProcCreatePorcess() 643 ret = snprintf_s(pidName, PROC_PID_DIR_LEN, PROC_PID_DIR_LEN - 1, "%s", "self"); in ProcCreatePorcess() 655 …struct ProcDirEntry *container = ProcCreateData(pidName, porcess->mode, NULL, porcess->fileOps, &d… in ProcCreatePorcess() 658 PRINT_ERR("create /proc/%s error!\n", pidName); in ProcCreatePorcess()
|