Lines Matching refs:ophdr
2135 struct xlog_op_header *ophdr, in xlog_write_start_rec() argument
2141 ophdr->oh_tid = cpu_to_be32(ticket->t_tid); in xlog_write_start_rec()
2142 ophdr->oh_clientid = ticket->t_clientid; in xlog_write_start_rec()
2143 ophdr->oh_len = 0; in xlog_write_start_rec()
2144 ophdr->oh_flags = XLOG_START_TRANS; in xlog_write_start_rec()
2145 ophdr->oh_res2 = 0; in xlog_write_start_rec()
2155 struct xlog_op_header *ophdr, in xlog_write_setup_ophdr() argument
2159 ophdr->oh_tid = cpu_to_be32(ticket->t_tid); in xlog_write_setup_ophdr()
2160 ophdr->oh_clientid = ticket->t_clientid; in xlog_write_setup_ophdr()
2161 ophdr->oh_res2 = 0; in xlog_write_setup_ophdr()
2164 ophdr->oh_flags = flags; in xlog_write_setup_ophdr()
2171 switch (ophdr->oh_clientid) { in xlog_write_setup_ophdr()
2179 ophdr->oh_clientid, ticket); in xlog_write_setup_ophdr()
2183 return ophdr; in xlog_write_setup_ophdr()
2195 struct xlog_op_header *ophdr, in xlog_write_setup_copy() argument
2211 ophdr->oh_len = cpu_to_be32(*copy_len); in xlog_write_setup_copy()
2213 ophdr->oh_flags |= (XLOG_END_TRANS|XLOG_WAS_CONT_TRANS); in xlog_write_setup_copy()
2221 ophdr->oh_len = cpu_to_be32(*copy_len); in xlog_write_setup_copy()
2222 ophdr->oh_flags |= XLOG_CONTINUE_TRANS; in xlog_write_setup_copy()
2224 ophdr->oh_flags |= XLOG_WAS_CONT_TRANS; in xlog_write_setup_copy()
2388 struct xlog_op_header *ophdr; in xlog_write() local
2412 ophdr = xlog_write_setup_ophdr(log, ptr, ticket, flags); in xlog_write()
2413 if (!ophdr) in xlog_write()
2419 len += xlog_write_setup_copy(ticket, ophdr, in xlog_write()