Query: relay_open
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
RELAY_OPEN(9) relay interface support RELAY_OPEN(9)NAMErelay_open - create a new relay channelSYNOPSISstruct rchan * relay_open(const char * base_filename, struct dentry * parent, size_t subbuf_size, size_t n_subbufs, struct rchan_callbacks * cb, void * private_data);ARGUMENTSbase_filename base name of files to create, NULL for buffering only parent dentry of parent directory, NULL for root directory or buffer subbuf_size size of sub-buffers n_subbufs number of sub-buffers cb client callback functions private_data user-defined dataDESCRIPTIONReturns channel pointer if successful, NULL otherwise. Creates a channel buffer for each cpu using the sizes and attributes specified. The created channel buffer files will be named base_filename0...base_filenameN-1. File permissions will be S_IRUSR.COPYRIGHTKernel Hackers Manual 3.10 June 2014 RELAY_OPEN(9)