Home
last modified time | relevance | path

Searched refs:rec (Results 1 – 8 of 8) sorted by relevance

/include/sound/
Dpcm-indirect.h28 struct snd_pcm_indirect *rec, size_t bytes);
35 struct snd_pcm_indirect *rec, in snd_pcm_indirect_playback_transfer() argument
40 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; in snd_pcm_indirect_playback_transfer()
48 rec->sw_ready += (int)frames_to_bytes(runtime, diff); in snd_pcm_indirect_playback_transfer()
49 rec->appl_ptr = appl_ptr; in snd_pcm_indirect_playback_transfer()
51 qsize = rec->hw_queue_size ? rec->hw_queue_size : rec->hw_buffer_size; in snd_pcm_indirect_playback_transfer()
52 while (rec->hw_ready < qsize && rec->sw_ready > 0) { in snd_pcm_indirect_playback_transfer()
53 unsigned int hw_to_end = rec->hw_buffer_size - rec->hw_data; in snd_pcm_indirect_playback_transfer()
54 unsigned int sw_to_end = rec->sw_buffer_size - rec->sw_data; in snd_pcm_indirect_playback_transfer()
55 unsigned int bytes = qsize - rec->hw_ready; in snd_pcm_indirect_playback_transfer()
[all …]
/include/linux/
Dihex.h31 __ihex_next_binrec(const struct ihex_binrec *rec) in __ihex_next_binrec() argument
33 const void *p = rec; in __ihex_next_binrec()
35 return p + ALIGN(ihex_binrec_size(rec), 4); in __ihex_next_binrec()
39 ihex_next_binrec(const struct ihex_binrec *rec) in ihex_next_binrec() argument
41 rec = __ihex_next_binrec(rec); in ihex_next_binrec()
43 return be16_to_cpu(rec->len) ? rec : NULL; in ihex_next_binrec()
49 const struct ihex_binrec *end, *rec; in ihex_validate_fw() local
51 rec = (const void *)fw->data; in ihex_validate_fw()
54 for (; rec <= end; rec = __ihex_next_binrec(rec)) { in ihex_validate_fw()
56 if (rec == end && !be16_to_cpu(rec->len)) in ihex_validate_fw()
Dpstore.h236 pstore_ftrace_encode_cpu(struct pstore_ftrace_record *rec, unsigned int cpu) in pstore_ftrace_encode_cpu() argument
238 rec->ip |= cpu; in pstore_ftrace_encode_cpu()
242 pstore_ftrace_decode_cpu(struct pstore_ftrace_record *rec) in pstore_ftrace_decode_cpu() argument
244 return rec->ip & PSTORE_CPU_IN_IP; in pstore_ftrace_decode_cpu()
248 pstore_ftrace_read_timestamp(struct pstore_ftrace_record *rec) in pstore_ftrace_read_timestamp() argument
250 return rec->ts; in pstore_ftrace_read_timestamp()
254 pstore_ftrace_write_timestamp(struct pstore_ftrace_record *rec, u64 val) in pstore_ftrace_write_timestamp() argument
256 rec->ts = val; in pstore_ftrace_write_timestamp()
260 pstore_ftrace_encode_cpu(struct pstore_ftrace_record *rec, unsigned int cpu) in pstore_ftrace_encode_cpu() argument
262 rec->ts &= ~(TS_CPU_MASK); in pstore_ftrace_encode_cpu()
[all …]
Dftrace.h315 struct dyn_ftrace *rec,
339 struct dyn_ftrace *rec, in ftrace_modify_direct_caller() argument
435 void ftrace_bug(int err, struct dyn_ftrace *rec);
480 #define ftrace_rec_count(rec) ((rec)->flags & FTRACE_REF_MAX) argument
538 void *arch_ftrace_trampoline_func(struct ftrace_ops *ops, struct dyn_ftrace *rec);
553 int ftrace_update_record(struct dyn_ftrace *rec, bool enable);
554 int ftrace_test_record(struct dyn_ftrace *rec, bool enable);
558 unsigned long ftrace_get_addr_new(struct dyn_ftrace *rec);
559 unsigned long ftrace_get_addr_curr(struct dyn_ftrace *rec);
644 struct dyn_ftrace *rec, unsigned long addr);
[all …]
Dtrace_events.h689 extern int filter_match_preds(struct event_filter *filter, void *rec);
693 struct trace_buffer *buffer, void *rec,
/include/rdma/
Dib_sa.h192 sa_conv_pathrec_to_gid_type(struct sa_path_rec *rec) in sa_conv_pathrec_to_gid_type() argument
194 switch (rec->rec_type) { in sa_conv_pathrec_to_gid_type()
412 u32 port_num, struct sa_path_rec *rec,
420 struct ib_sa_mcmember_rec rec; member
458 struct ib_sa_mcmember_rec *rec,
487 union ib_gid *mgid, struct ib_sa_mcmember_rec *rec);
494 struct ib_sa_mcmember_rec *rec,
500 struct sa_path_rec *rec,
508 void ib_sa_pack_path(struct sa_path_rec *rec, void *attribute);
514 void ib_sa_unpack_path(void *attribute, struct sa_path_rec *rec);
[all …]
/include/net/
Dtls.h408 static inline bool tls_record_is_start_marker(struct tls_record_info *rec) in tls_record_is_start_marker() argument
410 return rec->len == 0; in tls_record_is_start_marker()
413 static inline u32 tls_record_start_seq(struct tls_record_info *rec) in tls_record_start_seq() argument
415 return rec->end_seq - rec->len; in tls_record_start_seq()
442 struct tls_rec *rec; in is_tx_ready() local
444 rec = list_first_entry(&ctx->tx_list, struct tls_rec, list); in is_tx_ready()
445 if (!rec) in is_tx_ready()
448 return READ_ONCE(rec->tx_ready); in is_tx_ready()
/include/trace/events/
Dbtrfs.h1573 const struct btrfs_qgroup_extent_record *rec),
1575 TP_ARGS(fs_info, rec),
1583 __entry->bytenr = rec->bytenr,
1584 __entry->num_bytes = rec->num_bytes;
1594 const struct btrfs_qgroup_extent_record *rec),
1596 TP_ARGS(fs_info, rec)
1602 const struct btrfs_qgroup_extent_record *rec),
1604 TP_ARGS(fs_info, rec)