Lines Matching defs:pos
98 char *pos;
121 pos = dentry->d_op->d_dname(dentry, buf, buf_len - 1);
122 if (IS_ERR(pos))
124 name = tomoyo_encode(pos);
132 pos = __d_path(path, &ns_root, buf, buf_len);
135 if (!IS_ERR(pos) && (path->mnt->mnt_flags & MNT_INTERNAL) &&
137 pos -= 5;
138 if (pos >= buf)
139 memcpy(pos, "/proc", 5);
141 pos = ERR_PTR(-ENOMEM);
143 if (IS_ERR(pos))
145 name = tomoyo_encode(pos);
153 char *pos = name + strlen(name) - 1;
154 if (*pos != '/')
159 *++pos = '/';