pfs_create_file
pfs_create_file(pnode, &dnode->d_pfs_node, name, debugfs_fill,
pfs_create_file(root, NULL, "cmdline", &linprocfs_docmdline, NULL, NULL,
pfs_create_file(root, NULL, "cpuinfo", &linprocfs_docpuinfo, NULL, NULL,
pfs_create_file(root, NULL, "devices", &linprocfs_dodevices, NULL, NULL,
pfs_create_file(root, NULL, "filesystems", &linprocfs_dofilesystems,
pfs_create_file(root, NULL, "loadavg", &linprocfs_doloadavg, NULL, NULL,
pfs_create_file(root, NULL, "meminfo", &linprocfs_domeminfo, NULL, NULL,
pfs_create_file(root, NULL, "modules", &linprocfs_domodules, NULL, NULL,
pfs_create_file(root, NULL, "mounts", &linprocfs_domtab, NULL, NULL,
pfs_create_file(root, NULL, "mtab", &linprocfs_domtab, NULL, NULL, NULL,
pfs_create_file(root, NULL, "partitions", &linprocfs_dopartitions, NULL,
pfs_create_file(root, NULL, "stat", &linprocfs_dostat, NULL, NULL, NULL,
pfs_create_file(root, NULL, "swaps", &linprocfs_doswaps, NULL, NULL,
pfs_create_file(root, NULL, "uptime", &linprocfs_douptime, NULL, NULL,
pfs_create_file(root, NULL, "version", &linprocfs_doversion, NULL, NULL,
pfs_create_file(dir, NULL, "dev", &linprocfs_donetdev, NULL, NULL, NULL,
pfs_create_file(dir, NULL, "route", &linprocfs_donetroute, NULL, NULL,
pfs_create_file(dir, NULL, "cmdline", &linprocfs_doproccmdline, NULL,
pfs_create_file(dir, NULL, "environ", &linprocfs_doprocenviron, NULL,
pfs_create_file(dir, NULL, "maps", &linprocfs_doprocmaps, NULL, NULL,
pfs_create_file(dir, NULL, "mem", &linprocfs_doprocmem, procfs_attr_rw,
pfs_create_file(dir, NULL, "mountinfo", &linprocfs_doprocmountinfo,
pfs_create_file(dir, NULL, "mounts", &linprocfs_domtab, NULL, NULL,
pfs_create_file(dir, NULL, "stat", &linprocfs_doprocstat, NULL, NULL,
pfs_create_file(dir, NULL, "statm", &linprocfs_doprocstatm, NULL, NULL,
pfs_create_file(dir, NULL, "status", &linprocfs_doprocstatus, NULL,
pfs_create_file(dir, NULL, "auxv", &linprocfs_doauxv, NULL,
pfs_create_file(dir, NULL, "limits", &linprocfs_doproclimits, NULL,
pfs_create_file(dir, NULL, "oom_score_adj", &linprocfs_do_oom_score_adj,
pfs_create_file(dir, NULL, ".dummy", &linprocfs_dotaskdummy, NULL, NULL,
pfs_create_file(dir, NULL, "device_info", &linprocfs_doscsidevinfo,
pfs_create_file(dir, NULL, "scsi", &linprocfs_doscsiscsi, NULL, NULL,
pfs_create_file(dir, NULL, "osrelease", &linprocfs_doosrelease, NULL,
pfs_create_file(dir, NULL, "ostype", &linprocfs_doostype, NULL, NULL,
pfs_create_file(dir, NULL, "version", &linprocfs_doosbuild, NULL, NULL,
pfs_create_file(dir, NULL, "msgmax", &linprocfs_domsgmax, NULL, NULL,
pfs_create_file(dir, NULL, "msgmni", &linprocfs_domsgmni, NULL, NULL,
pfs_create_file(dir, NULL, "msgmnb", &linprocfs_domsgmnb, NULL, NULL,
pfs_create_file(dir, NULL, "ngroups_max", &linprocfs_dongroups_max,
pfs_create_file(dir, NULL, "pid_max", &linprocfs_dopid_max, NULL, NULL,
pfs_create_file(dir, NULL, "sem", &linprocfs_dosem, NULL, NULL, NULL,
pfs_create_file(dir, NULL, "shmall", &linprocfs_doshmall, NULL, NULL,
pfs_create_file(dir, NULL, "shmmax", &linprocfs_doshmmax, NULL, NULL,
pfs_create_file(dir, NULL, "shmmni", &linprocfs_doshmmni, NULL, NULL,
pfs_create_file(dir, NULL, "tainted", &linprocfs_dotainted, NULL, NULL,
pfs_create_file(dir, NULL, "uuid", &linprocfs_douuid, NULL, NULL, NULL,
pfs_create_file(dir, NULL, "boot_id", &linprocfs_doboot_id, NULL, NULL,
pfs_create_file(dir, NULL, "min_free_kbytes", &linprocfs_dominfree,
pfs_create_file(dir, NULL, "max_map_count", &linprocfs_domax_map_cnt,
pfs_create_file(dir, NULL, "msg", &linprocfs_dosysvipc_msg, NULL, NULL,
pfs_create_file(dir, NULL, "sem", &linprocfs_dosysvipc_sem, NULL, NULL,
pfs_create_file(dir, NULL, "shm", &linprocfs_dosysvipc_shm, NULL, NULL,
pfs_create_file(dir, NULL, "max_queued_events",
pfs_create_file(dir, NULL, "max_user_instances",
pfs_create_file(dir, NULL, "max_user_watches",
pfs_create_file(dir, NULL, "msg_default",
pfs_create_file(dir, NULL, "msgsize_default",
pfs_create_file(dir, NULL, "msg_max", &linprocfs_domqueue_msg_max, NULL,
pfs_create_file(dir, NULL, "msgsize_max",
pfs_create_file(dir, NULL, "queues_max", &linprocfs_domqueue_queues_max,
pfs_create_file(dir, &cur_file, "vendor",
pfs_create_file(dir, &cur_file, "device",
pfs_create_file(dir, &cur_file,
pfs_create_file(dir, &cur_file,
pfs_create_file(dir, &cur_file, "revision",
pfs_create_file(dir, &cur_file, "config",
pfs_create_file(dir, &cur_file, "uevent",
pfs_create_file(sub_dir, NULL,
pfs_create_file(sub_dir, &cur_file, "uevent",
pfs_create_file(cpu, NULL, "online", &linsysfs_cpuxonline, NULL,
pfs_create_file(cpu, NULL, "online", &linsysfs_cpuonline, NULL, NULL,
pfs_create_file(cpu, NULL, "possible", &linsysfs_cpuonline, NULL, NULL,
pfs_create_file(cpu, NULL, "present", &linsysfs_cpuonline, NULL, NULL,
pfs_create_file(nic, NULL, "address", &linsysfs_if_addr, NULL,
pfs_create_file(nic, NULL, "addr_len", &linsysfs_if_addrlen,
pfs_create_file(nic, NULL, "flags", &linsysfs_if_flags, NULL,
pfs_create_file(nic, NULL, "ifindex", &linsysfs_if_ifindex,
pfs_create_file(nic, NULL, "mtu", &linsysfs_if_mtu, NULL, NULL,
pfs_create_file(nic, NULL, "tx_queue_len", &linsysfs_if_txq_len,
pfs_create_file(nic, NULL, "type", &linsysfs_if_type, NULL,
pfs_create_file(dir, NULL, "cmdline", procfs_doproccmdline, NULL, NULL,
pfs_create_file(dir, NULL, "dbregs", procfs_doprocdbregs,
pfs_create_file(dir, NULL, "etype", procfs_doproctype, NULL, NULL, NULL,
pfs_create_file(dir, NULL, "fpregs", procfs_doprocfpregs,
pfs_create_file(dir, NULL, "map", procfs_doprocmap, NULL,
pfs_create_file(dir, NULL, "mem", procfs_doprocmem, procfs_attr_rw,
pfs_create_file(dir, NULL, "note", procfs_doprocnote, procfs_attr_w,
pfs_create_file(dir, NULL, "notepg", procfs_doprocnote, procfs_attr_w,
pfs_create_file(dir, NULL, "regs", procfs_doprocregs, procfs_attr_rw,
pfs_create_file(dir, NULL, "rlimit", procfs_doprocrlimit, NULL, NULL,
pfs_create_file(dir, NULL, "status", procfs_doprocstatus, NULL, NULL,
pfs_create_file(dir, NULL, "osrel", procfs_doosrel, procfs_attr_rw,
int pfs_create_file (struct pfs_node *parent, struct pfs_node **opn,