Home | History | Annotate | Download | only in blktrace

Lines Matching refs:ppm

87 	struct process_pid_map *ppm;
248 struct process_pid_map *ppm;
542 struct process_pid_map *ppm;
544 ppm = ppm_hash_table[hash_idx];
545 while (ppm) {
546 if (ppm->pid == pid)
547 return ppm;
549 ppm = ppm->hash_next;
558 struct process_pid_map *ppm;
560 ppm = find_ppm(pid);
561 if (!ppm) {
562 ppm = malloc(sizeof(*ppm));
563 memset(ppm, 0, sizeof(*ppm));
564 ppm->pid = pid;
565 strcpy(ppm->comm, name);
566 ppm->hash_next = ppm_hash_table[hash_idx];
567 ppm_hash_table[hash_idx] = ppm;
570 return ppm;
625 struct process_pid_map *ppm = find_ppm(pid);
627 if (ppm)
628 return ppm->comm;
645 struct process_pid_map *ppm = ppi->ppm;
648 return ppi_hash_pid(ppm->pid);
650 return ppi_hash_name(ppm->comm);
675 struct process_pid_map *ppm = ppi->ppm;
677 if (!strcmp(ppm->comm, name))
693 struct process_pid_map *ppm = ppi->ppm;
695 if (ppm->pid == pid)
717 if (ppi && ppi->ppm->pid != pid)
965 iot->ppm = find_ppm(pid);
966 if (!iot->ppm)
967 iot->ppm = add_ppm_hash(pid, "unknown");
1053 struct per_process_info *ppi = find_ppi(iot->ppm->pid);
1090 struct per_process_info *ppi = find_ppi(iot->ppm->pid);
1125 struct per_process_info *ppi = find_ppi(iot->ppm->pid);
1149 ppi->ppm = find_ppm(pid);
1150 if (!ppi->ppm)
1151 ppi->ppm = add_ppm_hash(pid, "unknown");
1707 res = strverscmp(ppi1->ppm->comm, ppi2->ppm->comm);
1709 res = ppi1->ppm->pid > ppi2->ppm->pid;
1751 struct process_pid_map *ppm = ppi->ppm;
1755 sprintf(name, "%s (%u, ...)", ppm->comm, ppm->pid);
1757 sprintf(name, "%s (%u)", ppm->comm, ppm->pid);