Lines Matching defs:offset
907 * @offset: Offset in bytes from the start of the trace buffer.
917 int ps3_lpm_copy_tb(unsigned long offset, void *buf, unsigned long count,
927 if (offset >= lpm_priv->tb_count)
930 count = min_t(u64, count, lpm_priv->tb_count - offset);
936 result = lv1_copy_lpm_trace_buffer(lpm_priv->lpm_id, offset,
940 __func__, __LINE__, request, offset);
951 offset += tmp;
962 * @offset: Offset in bytes from the start of the trace buffer.
972 int ps3_lpm_copy_tb_to_user(unsigned long offset, void __user *buf,
982 if (offset >= lpm_priv->tb_count)
985 count = min_t(u64, count, lpm_priv->tb_count - offset);
991 result = lv1_copy_lpm_trace_buffer(lpm_priv->lpm_id, offset,
995 __func__, __LINE__, request, offset);
1014 offset += tmp;