Home
last modified time | relevance | path

Searched refs:old_buffer (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/security/apparmor/ !
Dmount.c427 char *buffer = NULL, *old_buffer = NULL; in aa_bind_mount() local
444 old_buffer = aa_get_buffer(false); in aa_bind_mount()
446 if (!buffer || !old_buffer) in aa_bind_mount()
450 match_mnt(profile, path, buffer, &old_path, old_buffer, in aa_bind_mount()
454 aa_put_buffer(old_buffer); in aa_bind_mount()
489 char *buffer = NULL, *old_buffer = NULL; in aa_move_mount() local
504 old_buffer = aa_get_buffer(false); in aa_move_mount()
506 if (!buffer || !old_buffer) in aa_move_mount()
509 match_mnt(profile, path, buffer, &old_path, old_buffer, in aa_move_mount()
513 aa_put_buffer(old_buffer); in aa_move_mount()
[all …]
/linux-5.19.10/tools/perf/util/ !
Darm-spe.c85 struct auxtrace_buffer *old_buffer; member
149 struct auxtrace_buffer *old_buffer = speq->old_buffer; in arm_spe_get_trace() local
157 if (old_buffer) in arm_spe_get_trace()
158 auxtrace_buffer__drop_data(old_buffer); in arm_spe_get_trace()
179 if (old_buffer) in arm_spe_get_trace()
180 auxtrace_buffer__drop_data(old_buffer); in arm_spe_get_trace()
181 speq->old_buffer = buffer; in arm_spe_get_trace()
Dintel-pt.c177 struct auxtrace_buffer *old_buffer; member
390 struct auxtrace_buffer *old_buffer, in intel_pt_get_buffer() argument
404 if (might_overlap && !buffer->consecutive && old_buffer && in intel_pt_get_buffer()
405 intel_pt_do_fix_overlap(ptq->pt, old_buffer, buffer)) in intel_pt_get_buffer()
417 if (!old_buffer || (might_overlap && !buffer->consecutive)) { in intel_pt_get_buffer()
431 if (!buffer || buffer == ptq->buffer || buffer == ptq->old_buffer) in intel_pt_lookahead_drop_buffer()
443 struct auxtrace_buffer *old_buffer = ptq->old_buffer; in intel_pt_lookahead() local
456 err = intel_pt_get_buffer(ptq, buffer, old_buffer, &b); in intel_pt_lookahead()
461 intel_pt_lookahead_drop_buffer(ptq, old_buffer); in intel_pt_lookahead()
462 old_buffer = buffer; in intel_pt_lookahead()
[all …]
Dcs-etm.c1056 struct auxtrace_buffer *old_buffer = aux_buffer; in cs_etm__get_trace() local
1065 if (old_buffer) in cs_etm__get_trace()
1066 auxtrace_buffer__drop_data(old_buffer); in cs_etm__get_trace()
1084 if (old_buffer) in cs_etm__get_trace()
1085 auxtrace_buffer__drop_data(old_buffer); in cs_etm__get_trace()
Dintel-bts.c447 struct auxtrace_buffer *buffer = btsq->buffer, *old_buffer = buffer; in intel_bts_process_queue() local
501 (!old_buffer || btsq->bts->sampling_mode || in intel_bts_process_queue()