Lines Matching refs:buf
239 char *buf = NULL; in tomoyo_realpath_from_path() local
250 kfree(buf); in tomoyo_realpath_from_path()
251 buf = kmalloc(buf_len, GFP_NOFS); in tomoyo_realpath_from_path()
252 if (!buf) in tomoyo_realpath_from_path()
255 buf[buf_len - 1] = '\0'; in tomoyo_realpath_from_path()
258 pos = dentry->d_op->d_dname(dentry, buf, buf_len - 1); in tomoyo_realpath_from_path()
267 pos = tomoyo_get_local_path(path->dentry, buf, in tomoyo_realpath_from_path()
271 pos = tomoyo_get_absolute_path(path, buf, buf_len - 1); in tomoyo_realpath_from_path()
277 pos = tomoyo_get_local_path(path->dentry, buf, in tomoyo_realpath_from_path()
286 kfree(buf); in tomoyo_realpath_from_path()
304 char *buf = tomoyo_realpath_from_path(&path); in tomoyo_realpath_nofollow() local
307 return buf; in tomoyo_realpath_nofollow()