Lines Matching refs:entry
113 const struct proc_ns_operations **entry, **last; in proc_ns_dir_readdir() local
122 entry = ns_entries + (ctx->pos - 2); in proc_ns_dir_readdir()
124 while (entry <= last) { in proc_ns_dir_readdir()
125 const struct proc_ns_operations *ops = *entry; in proc_ns_dir_readdir()
130 entry++; in proc_ns_dir_readdir()
147 const struct proc_ns_operations **entry, **last; in proc_ns_dir_lookup() local
155 for (entry = ns_entries; entry < last; entry++) { in proc_ns_dir_lookup()
156 if (strlen((*entry)->name) != len) in proc_ns_dir_lookup()
158 if (!memcmp(dentry->d_name.name, (*entry)->name, len)) in proc_ns_dir_lookup()
161 if (entry == last) in proc_ns_dir_lookup()
164 res = proc_ns_instantiate(dentry, task, *entry); in proc_ns_dir_lookup()