• Home
  • Raw
  • Download

Lines Matching refs:dentry

240 	buf->chan->cb->remove_buf_file(buf->dentry);  in relay_remove_buf()
310 static struct dentry *create_buf_file_default_callback(const char *filename, in create_buf_file_default_callback()
311 struct dentry *parent, in create_buf_file_default_callback()
322 static int remove_buf_file_default_callback(struct dentry *dentry) in remove_buf_file_default_callback() argument
411 struct dentry *dentry) in relay_set_buf_dentry() argument
413 buf->dentry = dentry; in relay_set_buf_dentry()
414 buf->dentry->d_inode->i_size = buf->early_bytes; in relay_set_buf_dentry()
417 static struct dentry *relay_create_buf_file(struct rchan *chan, in relay_create_buf_file()
421 struct dentry *dentry; in relay_create_buf_file() local
430 dentry = chan->cb->create_buf_file(tmpname, chan->parent, in relay_create_buf_file()
436 return dentry; in relay_create_buf_file()
447 struct dentry *dentry; in relay_open_buf() local
457 dentry = relay_create_buf_file(chan, buf, cpu); in relay_open_buf()
458 if (!dentry) in relay_open_buf()
460 relay_set_buf_dentry(buf, dentry); in relay_open_buf()
573 struct dentry *parent, in relay_open()
627 struct dentry *dentry; member
635 relay_set_buf_dentry(p->buf, p->dentry); in __relay_set_buf_dentry()
651 struct dentry *parent) in relay_late_setup_files()
656 struct dentry *dentry; in relay_late_setup_files() local
687 dentry = relay_create_buf_file(chan, chan->buf[i], i); in relay_late_setup_files()
688 if (unlikely(!dentry)) { in relay_late_setup_files()
695 relay_set_buf_dentry(chan->buf[i], dentry); in relay_late_setup_files()
699 disp.dentry = dentry; in relay_late_setup_files()
738 if (buf->dentry) in relay_switch_subbuf()
739 buf->dentry->d_inode->i_size += in relay_switch_subbuf()
1143 mutex_lock(&filp->f_path.dentry->d_inode->i_mutex); in relay_file_read_subbufs()
1163 mutex_unlock(&filp->f_path.dentry->d_inode->i_mutex); in relay_file_read_subbufs()