Lines Matching refs:chan_hdr
33 struct channel_header chan_hdr; member
84 return visorchannel_guid_id(&channel->chan_hdr.zone_guid, s); in visorchannel_zoneid()
89 return channel->chan_hdr.partition_handle; in visorchannel_get_clientpartition()
95 channel->chan_hdr.partition_handle = partition_handle; in visorchannel_set_clientpartition()
132 memcpy(((char *)(&channel->chan_hdr)) + offset, in visorchannel_write()
141 return &channel->chan_hdr; in visorchannel_get_header()
148 static int sig_queue_offset(struct channel_header *chan_hdr, int q) in sig_queue_offset() argument
150 return ((chan_hdr)->ch_space_offset + in sig_queue_offset()
158 static int sig_data_offset(struct channel_header *chan_hdr, int q, in sig_data_offset() argument
161 return (sig_queue_offset(chan_hdr, q) + sig_hdr->sig_base_offset + in sig_data_offset()
171 sig_queue_offset(&channel->chan_hdr, queue) + \
179 if (channel->chan_hdr.ch_space_offset < sizeof(struct channel_header)) in sig_read_header()
184 sig_queue_offset(&channel->chan_hdr, queue), in sig_read_header()
192 int signal_data_offset = sig_data_offset(&channel->chan_hdr, queue, in sig_read_data()
203 int signal_data_offset = sig_data_offset(&channel->chan_hdr, queue, in sig_write_data()
382 err = visorchannel_read(channel, 0, &channel->chan_hdr, size); in visorchannel_create()
385 size = (ulong)channel->chan_hdr.size; in visorchannel_create()