• Home
  • Raw
  • Download

Lines Matching refs:dentry

303 static struct dentry *create_buf_file_default_callback(const char *filename,  in create_buf_file_default_callback()
304 struct dentry *parent, in create_buf_file_default_callback()
315 static int remove_buf_file_default_callback(struct dentry *dentry) in remove_buf_file_default_callback() argument
408 struct dentry *dentry) in relay_set_buf_dentry() argument
410 buf->dentry = dentry; in relay_set_buf_dentry()
411 d_inode(buf->dentry)->i_size = buf->early_bytes; in relay_set_buf_dentry()
414 static struct dentry *relay_create_buf_file(struct rchan *chan, in relay_create_buf_file()
418 struct dentry *dentry; in relay_create_buf_file() local
427 dentry = chan->cb->create_buf_file(tmpname, chan->parent, in relay_create_buf_file()
433 return dentry; in relay_create_buf_file()
444 struct dentry *dentry; in relay_open_buf() local
454 dentry = relay_create_buf_file(chan, buf, cpu); in relay_open_buf()
455 if (!dentry) in relay_open_buf()
457 relay_set_buf_dentry(buf, dentry); in relay_open_buf()
460 dentry = chan->cb->create_buf_file(NULL, NULL, in relay_open_buf()
463 if (WARN_ON(dentry)) in relay_open_buf()
494 buf->chan->cb->remove_buf_file(buf->dentry); in relay_close_buf()
561 struct dentry *parent, in relay_open()
620 struct dentry *dentry; member
628 relay_set_buf_dentry(p->buf, p->dentry); in __relay_set_buf_dentry()
648 struct dentry *parent) in relay_late_setup_files()
653 struct dentry *dentry; in relay_late_setup_files() local
675 dentry = relay_create_buf_file(chan, buf, 0); in relay_late_setup_files()
676 if (dentry && !WARN_ON_ONCE(!chan->is_global)) { in relay_late_setup_files()
677 relay_set_buf_dentry(buf, dentry); in relay_late_setup_files()
699 dentry = relay_create_buf_file(chan, buf, i); in relay_late_setup_files()
700 if (unlikely(!dentry)) { in relay_late_setup_files()
707 relay_set_buf_dentry(buf, dentry); in relay_late_setup_files()
711 disp.dentry = dentry; in relay_late_setup_files()
751 if (buf->dentry) in relay_switch_subbuf()
752 d_inode(buf->dentry)->i_size += in relay_switch_subbuf()