Lines Matching refs:procname
3524 char procname[64] = {}; in netlink_show_one() local
3542 procname[0] = '*'; in netlink_show_one()
3548 strncpy(procname, "kernel", 6); in netlink_show_one()
3552 snprintf(procname, sizeof(procname), "%s/%d/stat", in netlink_show_one()
3554 if ((fp = fopen(procname, "r")) != NULL) { in netlink_show_one()
3555 if (fscanf(fp, "%*d (%[^)])", procname) == 1) { in netlink_show_one()
3556 snprintf(procname+strlen(procname), in netlink_show_one()
3557 sizeof(procname)-strlen(procname), in netlink_show_one()
3565 int_to_str(pid, procname); in netlink_show_one()
3567 int_to_str(pid, procname); in netlink_show_one()
3570 sock_addr_print(prot_name, ":", procname, NULL); in netlink_show_one()