Home
last modified time | relevance | path

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

12345678910>>...12

/linux/drivers/net/ethernet/aquantia/atlantic/macsec/
H A Dmacsec_api.c344 memset(rec, 0, sizeof(*rec)); in aq_mss_get_ingress_prectlf_record()
552 memset(rec, 0, sizeof(*rec)); in aq_mss_get_ingress_preclass_record()
656 memset(rec, 0, sizeof(*rec)); in aq_mss_get_ingress_sc_record()
749 memset(rec, 0, sizeof(*rec)); in aq_mss_get_ingress_sa_record()
862 memset(rec, 0, sizeof(*rec)); in aq_mss_get_ingress_sakey_record()
1053 memset(rec, 0, sizeof(*rec)); in aq_mss_get_ingress_postclass_record()
1145 memset(rec, 0, sizeof(*rec)); in aq_mss_get_ingress_postctlf_record()
1232 memset(rec, 0, sizeof(*rec)); in aq_mss_get_egress_ctlf_record()
1520 memset(rec, 0, sizeof(*rec)); in aq_mss_get_egress_class_record()
1619 memset(rec, 0, sizeof(*rec)); in aq_mss_get_egress_sc_record()
[all …]
H A Dmacsec_api.h54 struct aq_mss_egress_ctlf_record *rec,
72 struct aq_mss_egress_class_record *rec,
90 struct aq_mss_egress_sc_record *rec,
99 const struct aq_mss_egress_sc_record *rec,
108 struct aq_mss_egress_sa_record *rec,
117 const struct aq_mss_egress_sa_record *rec,
126 struct aq_mss_egress_sakey_record *rec,
162 struct aq_mss_ingress_preclass_record *rec,
180 struct aq_mss_ingress_sc_record *rec,
198 struct aq_mss_ingress_sa_record *rec,
[all …]
/linux/include/sound/
H A Dpcm-indirect.h51 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()
66 if (rec->hw_data == rec->hw_buffer_size) in snd_pcm_indirect_playback_transfer()
69 if (rec->sw_data == rec->sw_buffer_size) in snd_pcm_indirect_playback_transfer()
93 if (rec->sw_io >= rec->sw_buffer_size) in snd_pcm_indirect_playback_pointer()
94 rec->sw_io -= rec->sw_buffer_size; in snd_pcm_indirect_playback_pointer()
139 if ((int)rec->hw_data == rec->hw_buffer_size) in snd_pcm_indirect_capture_transfer()
142 if (rec->sw_data == rec->sw_buffer_size) in snd_pcm_indirect_capture_transfer()
166 qsize = rec->hw_queue_size ? rec->hw_queue_size : rec->hw_buffer_size; in snd_pcm_indirect_capture_pointer()
170 if (rec->sw_io >= rec->sw_buffer_size) in snd_pcm_indirect_capture_pointer()
[all …]
/linux/sound/isa/sb/
H A Demu8000_pcm.c192 delta = ptr + rec->buf_size - rec->last_ptr; in emu8k_pcm_timer_func()
202 if (rec->period_pos >= (int)rec->period_size) { in emu8k_pcm_timer_func()
203 rec->period_pos %= rec->period_size; in emu8k_pcm_timer_func()
222 rec = kzalloc(sizeof(*rec), GFP_KERNEL); in emu8k_pcm_open()
223 if (! rec) in emu8k_pcm_open()
528 snd_util_mem_free(rec->emu->memhdr, rec->block); in emu8k_pcm_hw_params()
533 rec->block = snd_util_mem_alloc(rec->emu->memhdr, rec->allocated_bytes); in emu8k_pcm_hw_params()
556 snd_util_mem_free(rec->emu->memhdr, rec->block); in emu8k_pcm_hw_free()
577 rec->loop_start[1] = rec->loop_start[0] + rec->buf_size + LOOP_BLANK_SIZE; in emu8k_pcm_prepare()
595 EMU8000_SMALW_WRITE(rec->emu, rec->offset); in emu8k_pcm_prepare()
[all …]
/linux/drivers/s390/scsi/
H A Dzfcp_dbf.c79 memset(rec, 0, sizeof(*rec)); in zfcp_dbf_hba_fsf_res()
129 memset(rec, 0, sizeof(*rec)); in zfcp_dbf_hba_fsf_fces()
168 memset(rec, 0, sizeof(*rec)); in zfcp_dbf_hba_fsf_reqid()
207 memset(rec, 0, sizeof(*rec)); in zfcp_dbf_hba_fsf_uss()
254 memset(rec, 0, sizeof(*rec)); in zfcp_dbf_hba_bit_err()
353 memset(rec, 0, sizeof(*rec)); in zfcp_dbf_rec_trig()
368 debug_event(dbf->rec, level, rec, sizeof(*rec)); in zfcp_dbf_rec_trig()
410 memset(rec, 0, sizeof(*rec)); in zfcp_dbf_rec_run_lvl()
429 debug_event(dbf->rec, level, rec, sizeof(*rec)); in zfcp_dbf_rec_run_lvl()
461 memset(rec, 0, sizeof(*rec)); in zfcp_dbf_rec_run_wka()
[all …]
/linux/tools/perf/
H A Dbuiltin-record.c239 return rec->bytes_written + rec->thread_bytes_written; in record__bytes_written()
452 struct record_aio aio = { .rec = rec, .size = 0 }; in record__aio_push()
858 err = auxtrace_parse_sample_options(rec->itr, rec->evlist, &rec->opts, in record__auxtrace_init()
926 return off_cpu_prepare(rec->evlist, &rec->opts.target, &rec->opts); in record__config_off_cpu()
1236 rec->thread_data = zalloc(rec->nr_threads * sizeof(*(rec->thread_data))); in record__alloc_thread_data()
1247 thread_data[t].rec = rec; in record__alloc_thread_data()
1356 return record__mmap_evlist(rec, rec->evlist); in record__mmap()
1470 if (rec->buildid_all && !rec->timestamp_boundary) in process_buildids()
2858 if (rec->samples && !rec->opts.full_auxtrace) in __cmd_record()
4145 if (rec->no_buildid_set && !rec->no_buildid) in cmd_record()
[all …]
/linux/sound/core/seq/oss/
H A Dseq_oss_synth.c97 rec = kzalloc(sizeof(*rec), GFP_KERNEL); in snd_seq_oss_synth_probe()
98 if (!rec) in snd_seq_oss_synth_probe()
110 strscpy(rec->name, dev->name, sizeof(rec->name)); in snd_seq_oss_synth_probe()
172 kfree(rec); in snd_seq_oss_synth_remove()
188 if (rec) in get_sdev()
191 return rec; in get_sdev()
357 if (!rec) in get_synthdev()
455 if (!rec) in snd_seq_oss_synth_load_patch()
475 if (rec) { in snd_seq_oss_synth_info()
574 if (!rec) in snd_seq_oss_synth_ioctl()
[all …]
H A Dseq_oss_timer.c37 rec = kzalloc(sizeof(*rec), GFP_KERNEL); in snd_seq_oss_timer_new()
38 if (rec == NULL) in snd_seq_oss_timer_new()
41 rec->dp = dp; in snd_seq_oss_timer_new()
42 rec->cur_tick = 0; in snd_seq_oss_timer_new()
43 rec->realtime = 0; in snd_seq_oss_timer_new()
44 rec->running = 0; in snd_seq_oss_timer_new()
45 rec->oss_tempo = 60; in snd_seq_oss_timer_new()
47 calc_alsa_tempo(rec); in snd_seq_oss_timer_new()
49 return rec; in snd_seq_oss_timer_new()
60 if (rec) { in snd_seq_oss_timer_delete()
[all …]
H A Dseq_oss_readq.c91 union evrec rec; in snd_seq_oss_readq_puts() local
94 memset(&rec, 0, sizeof(rec)); in snd_seq_oss_readq_puts()
95 rec.c[0] = SEQ_MIDIPUTC; in snd_seq_oss_readq_puts()
96 rec.c[2] = dev; in snd_seq_oss_readq_puts()
99 rec.c[1] = *data++; in snd_seq_oss_readq_puts()
173 memcpy(rec, &q->q[q->head], sizeof(*rec)); in snd_seq_oss_readq_pick()
219 union evrec rec; in snd_seq_oss_readq_put_timestamp() local
220 memset(&rec, 0, sizeof(rec)); in snd_seq_oss_readq_put_timestamp()
227 rec.t.code = EV_TIMING; in snd_seq_oss_readq_put_timestamp()
228 rec.t.cmd = TMR_WAIT_ABS; in snd_seq_oss_readq_put_timestamp()
[all …]
H A Dseq_oss_rw.c36 union evrec rec; in snd_seq_oss_read() local
44 err = snd_seq_oss_readq_pick(readq, &rec); in snd_seq_oss_read()
53 err = snd_seq_oss_readq_pick(readq, &rec); in snd_seq_oss_read()
59 ev_len = ev_length(&rec); in snd_seq_oss_read()
66 if (copy_to_user(buf, &rec, ev_len)) { in snd_seq_oss_read()
87 union evrec rec; in snd_seq_oss_write() local
97 if (rec.s.code == SEQ_FULLSIZE) { in snd_seq_oss_write()
103 fmt = (*(unsigned short *)rec.c) & 0xffff; in snd_seq_oss_write()
108 if (ev_is_long(&rec)) { in snd_seq_oss_write()
110 if (rec.s.code == SEQ_EXTENDED && in snd_seq_oss_write()
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_i2c.c44 struct amdgpu_i2c_bus_rec *rec = &i2c->rec; in amdgpu_i2c_pre_xfer() local
57 temp = RREG32(rec->a_clk_reg) & ~rec->a_clk_mask; in amdgpu_i2c_pre_xfer()
60 temp = RREG32(rec->a_data_reg) & ~rec->a_data_mask; in amdgpu_i2c_pre_xfer()
64 temp = RREG32(rec->en_clk_reg) & ~rec->en_clk_mask; in amdgpu_i2c_pre_xfer()
86 struct amdgpu_i2c_bus_rec *rec = &i2c->rec; in amdgpu_i2c_post_xfer() local
105 struct amdgpu_i2c_bus_rec *rec = &i2c->rec; in amdgpu_i2c_get_clock() local
120 struct amdgpu_i2c_bus_rec *rec = &i2c->rec; in amdgpu_i2c_get_data() local
134 struct amdgpu_i2c_bus_rec *rec = &i2c->rec; in amdgpu_i2c_set_clock() local
138 val = RREG32(rec->en_clk_reg) & ~rec->en_clk_mask; in amdgpu_i2c_set_clock()
147 struct amdgpu_i2c_bus_rec *rec = &i2c->rec; in amdgpu_i2c_set_data() local
[all …]
/linux/drivers/usb/misc/
H A Demi26.c111 while (rec) { in emi26_load_firmware()
113 rec->data, be16_to_cpu(rec->len), in emi26_load_firmware()
117 rec = ihex_next_binrec(rec); in emi26_load_firmware()
136 memcpy(buf + i, rec->data, be16_to_cpu(rec->len)); in emi26_load_firmware()
138 rec = ihex_next_binrec(rec); in emi26_load_firmware()
152 rec; rec = ihex_next_binrec(rec)) { in emi26_load_firmware()
154 rec->data, be16_to_cpu(rec->len), in emi26_load_firmware()
169 rec; rec = ihex_next_binrec(rec)) { in emi26_load_firmware()
172 rec->data, be16_to_cpu(rec->len), in emi26_load_firmware()
185 rec; rec = ihex_next_binrec(rec)) { in emi26_load_firmware()
[all …]
H A Demi62.c118 while (rec) { in emi62_load_firmware()
120 rec->data, be16_to_cpu(rec->len), in emi62_load_firmware()
124 rec = ihex_next_binrec(rec); in emi62_load_firmware()
143 memcpy(buf + i, rec->data, be16_to_cpu(rec->len)); in emi62_load_firmware()
145 rec = ihex_next_binrec(rec); in emi62_load_firmware()
159 rec; rec = ihex_next_binrec(rec)) { in emi62_load_firmware()
161 rec->data, be16_to_cpu(rec->len), in emi62_load_firmware()
176 rec; rec = ihex_next_binrec(rec)) { in emi62_load_firmware()
179 rec->data, be16_to_cpu(rec->len), in emi62_load_firmware()
192 rec; rec = ihex_next_binrec(rec)) { in emi62_load_firmware()
[all …]
/linux/samples/bpf/
H A Dxdp_sample.bpf.c70 struct datarec *rec; in xdp_redirect_collect_stat() local
80 if (!rec) in xdp_redirect_collect_stat()
132 struct datarec *rec; in BPF_PROG() local
140 if (!rec) in BPF_PROG()
159 struct datarec *rec; in BPF_PROG() local
167 if (!rec) in BPF_PROG()
185 struct datarec *rec; in BPF_PROG() local
198 if (!rec) in BPF_PROG()
209 struct datarec *rec; in BPF_PROG() local
223 if (!rec) in BPF_PROG()
[all …]
H A Dxdp_sample_user.c453 rec = calloc(1, sizeof(*rec) + sample_n_cpus * sizeof(struct record)); in alloc_stats_record()
454 if (!rec) { in alloc_stats_record()
461 if (!rec->rx_cnt.cpu) { in alloc_stats_record()
528 return rec; in alloc_stats_record()
536 free(rec->kthread.cpu); in alloc_stats_record()
541 free(rec->rx_cnt.cpu); in alloc_stats_record()
543 free(rec); in alloc_stats_record()
1405 &rec->enq[i]); in sample_stats_collect()
1409 &rec->kthread); in sample_stats_collect()
1508 swap(prev, rec); in sample_timer_cb()
[all …]
/linux/drivers/gpu/drm/radeon/
H A Dradeon_i2c.c89 struct radeon_i2c_bus_rec *rec = &i2c->rec; in pre_xfer() local
130 temp = RREG32(rec->a_clk_reg) & ~rec->a_clk_mask; in pre_xfer()
159 struct radeon_i2c_bus_rec *rec = &i2c->rec; in post_xfer() local
178 struct radeon_i2c_bus_rec *rec = &i2c->rec; in get_clock() local
193 struct radeon_i2c_bus_rec *rec = &i2c->rec; in get_data() local
207 struct radeon_i2c_bus_rec *rec = &i2c->rec; in set_clock() local
220 struct radeon_i2c_bus_rec *rec = &i2c->rec; in set_data() local
326 struct radeon_i2c_bus_rec *rec = &i2c->rec; in r100_hw_i2c_xfer() local
579 struct radeon_i2c_bus_rec *rec = &i2c->rec; in r500_hw_i2c_xfer() local
812 struct radeon_i2c_bus_rec *rec = &i2c->rec; in radeon_hw_i2c_xfer() local
[all …]
/linux/include/rdma/
H A Dib_sa.h195 switch (rec->rec_type) { in sa_conv_pathrec_to_gid_type()
421 struct ib_sa_mcmember_rec rec; member
569 return rec->opa.slid; in sa_path_get_slid()
578 return rec->opa.dlid; in sa_path_get_dlid()
585 return rec->ib.raw_traffic; in sa_path_get_raw_traffic()
587 return rec->opa.raw_traffic; in sa_path_get_raw_traffic()
593 if (sa_path_is_roce(rec)) in sa_path_set_dmac()
599 if (sa_path_is_roce(rec)) in sa_path_set_dmac_zero()
600 eth_zero_addr(rec->roce.dmac); in sa_path_set_dmac_zero()
605 if (sa_path_is_roce(rec)) in sa_path_get_dmac()
[all …]
/linux/drivers/ras/amd/
H A Dfmpm.c180 struct fru_rec *rec; in get_fru_record() local
185 return rec; in get_fru_record()
404 struct fru_rec *rec; in fru_handle_mem_poison() local
416 if (!rec) in fru_handle_mem_poison()
463 struct fru_rec *rec; in retire_mem_records() local
524 struct fru_rec *rec; in save_new_records() local
734 struct fru_rec *rec; in init_fmps() local
801 struct fru_rec *rec; in free_records() local
804 for_each_fru(i, rec) in free_records()
805 kfree(rec); in free_records()
[all …]
/linux/include/linux/
H A 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()
H A Dpstore.h242 rec->ip |= cpu; in pstore_ftrace_encode_cpu()
246 pstore_ftrace_decode_cpu(struct pstore_ftrace_record *rec) in pstore_ftrace_decode_cpu() argument
248 return rec->ip & PSTORE_CPU_IN_IP; in pstore_ftrace_decode_cpu()
254 return rec->ts; in pstore_ftrace_read_timestamp()
260 rec->ts = val; in pstore_ftrace_write_timestamp()
266 rec->ts &= ~(TS_CPU_MASK); in pstore_ftrace_encode_cpu()
267 rec->ts |= cpu; in pstore_ftrace_encode_cpu()
271 pstore_ftrace_decode_cpu(struct pstore_ftrace_record *rec) in pstore_ftrace_decode_cpu() argument
273 return rec->ts & TS_CPU_MASK; in pstore_ftrace_decode_cpu()
279 return rec->ts >> TS_CPU_SHIFT; in pstore_ftrace_read_timestamp()
[all …]
/linux/sound/ppc/
H A Dpmac.c58 rec->size = size; in snd_pmac_dbdma_alloc()
60 rec->cmds = (void __iomem *)DBDMA_ALIGN(rec->space); in snd_pmac_dbdma_alloc()
61 rec->addr = rec->dma_base + (unsigned long)((char *)rec->cmds - (char *)rec->space); in snd_pmac_dbdma_alloc()
190 rec->nperiods = rec->dma_size / rec->period_size; in snd_pmac_pcm_prepare()
233 snd_pmac_dma_set_command(rec, &rec->cmd); in snd_pmac_pcm_prepare()
261 snd_pmac_dma_set_command(rec, &rec->cmd); in snd_pmac_pcm_trigger()
305 count += rec->cur_period * rec->period_size; in snd_pmac_pcm_pointer()
440 cp = &rec->cmd.cmds[rec->cur_period]; in snd_pmac_pcm_update()
459 if (rec->cur_period >= rec->nperiods) { in snd_pmac_pcm_update()
523 if (! rec)
[all …]
/linux/arch/arm64/kernel/
H A Dftrace.c229 unsigned long pc = rec->ip; in ftrace_find_callable_addr()
288 if (rec->flags & FTRACE_FL_CALL_OPS_EN) { in arm64_rec_get_ops()
289 ops = ftrace_find_unique_ops(rec); in arm64_rec_get_ops()
314 return ftrace_rec_set_ops(rec, arm64_rec_get_ops(rec)); in ftrace_rec_update_ops()
326 unsigned long pc = rec->ip; in ftrace_make_call()
330 ret = ftrace_rec_update_ops(rec); in ftrace_make_call()
347 unsigned long pc = rec->ip; in ftrace_modify_call()
351 ret = ftrace_rec_set_ops(rec, arm64_rec_get_ops(rec)); in ftrace_modify_call()
397 ret = ftrace_rec_set_nop_ops(rec); in ftrace_init_nop()
415 unsigned long pc = rec->ip; in ftrace_make_nop()
[all …]
/linux/tools/perf/jvmti/
H A Djvmti_agent.c333 struct jr_code_close rec; in jvmti_close() local
342 rec.p.total_size = sizeof(rec); in jvmti_close()
346 if (!fwrite(&rec, sizeof(rec), 1, fp)) in jvmti_close()
363 struct jr_code_load rec; in jvmti_write_code() local
380 rec.p.total_size = sizeof(rec) + sym_len; in jvmti_write_code()
383 rec.code_size = size; in jvmti_write_code()
384 rec.vma = vma; in jvmti_write_code()
385 rec.code_addr = vma; in jvmti_write_code()
403 ret = fwrite_unlocked(&rec, sizeof(rec), 1, fp); in jvmti_write_code()
457 rec.p.total_size = size; in jvmti_write_debug_info()
[all …]
/linux/arch/arm/kernel/
H A Dftrace.c74 likely(!is_kernel_inittext(rec->ip))) in adjust_address()
148 unsigned long ip = rec->ip; in ftrace_make_call()
149 unsigned long aaddr = adjust_address(rec, addr); in ftrace_make_call()
153 mod = rec->arch.mod; in ftrace_make_call()
156 old = ftrace_nop_replace(rec); in ftrace_make_call()
175 unsigned long ip = rec->ip; in ftrace_modify_call()
187 struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_nop() argument
190 unsigned long ip = rec->ip; in ftrace_make_nop()
198 mod = rec->arch.mod; in ftrace_make_nop()
200 rec->arch.mod = mod; in ftrace_make_nop()
[all …]
/linux/fs/ntfs3/
H A Drecord.c37 struct MFT_REC *rec = mi->mrec; in mi_new_attt_id() local
41 id = rec->next_attr_id; in mi_new_attt_id()
118 struct MFT_REC *rec = mi->mrec; in mi_read() local
220 if (!is_rec_inuse(rec)) in mi_enum_attr()
224 attr = Add2Ptr(rec, off); in mi_enum_attr()
230 off = PtrOffset(rec, attr); in mi_enum_attr()
377 struct MFT_REC *rec; in mi_write() local
385 rec = mi->mrec; in mi_write()
404 struct MFT_REC *rec; in mi_format_new() local
411 rec = mi->mrec; in mi_format_new()
[all …]

12345678910>>...12