| /freebsd-12.1/contrib/openbsm/libbsm/ |
| H A D | bsm_audit.c | 111 rec->used = 1; in au_open() 129 free(rec); in au_open() 143 free(rec); in au_open() 162 rec->len = 0; in au_open() 163 rec->used = 1; in au_open() 186 if ((rec == NULL) || (rec->used == 0)) { in au_write() 317 rec->len = 0; in au_teardown() 344 if ((rec == NULL) || (rec->used == 0)) { in au_close() 377 retval = audit(rec->data, rec->len); in au_close() 398 if ((rec == NULL) || (rec->used == 0)) { in au_close_buffer() [all …]
|
| /freebsd-12.1/sys/security/audit/ |
| H A D | audit_bsm.c | 92 rec = malloc(sizeof(*rec), M_AUDITBSM, M_WAITOK); in kau_open() 93 rec->data = NULL; in kau_open() 95 rec->len = 0; in kau_open() 96 rec->used = 1; in kau_open() 98 return (rec); in kau_open() 159 dptr = rec->data; in kau_close() 182 rec->used = 0; in kau_free() 183 rec->len = 0; in kau_free() 481 rec = kau_open(); in kaudit_to_bsm() 1732 kau_free(rec); in kaudit_to_bsm() [all …]
|
| /freebsd-12.1/sys/dev/drm2/radeon/ |
| H A D | radeon_i2c.c | 98 struct radeon_i2c_bus_rec *rec = &i2c->rec; in radeon_iicbb_pre_xfer() local 166 struct radeon_i2c_bus_rec *rec = &i2c->rec; in radeon_iicbb_post_xfer() local 183 struct radeon_i2c_bus_rec *rec = &i2c->rec; in radeon_iicbb_get_clock() local 198 struct radeon_i2c_bus_rec *rec = &i2c->rec; in radeon_iicbb_get_data() local 212 struct radeon_i2c_bus_rec *rec = &i2c->rec; in radeon_iicbb_set_clock() local 225 struct radeon_i2c_bus_rec *rec = &i2c->rec; in radeon_iicbb_set_data() local 406 struct radeon_i2c_bus_rec *rec = &i2c->rec; in r100_hw_i2c_xfer() local 658 struct radeon_i2c_bus_rec *rec = &i2c->rec; in r500_hw_i2c_xfer() local 891 struct radeon_i2c_bus_rec *rec = &i2c->rec; in radeon_hw_i2c_xfer() local 1056 i2c->rec = *rec; in radeon_i2c_create() [all …]
|
| /freebsd-12.1/sys/netgraph/netflow/ |
| H A D | netflow_v9.c | 271 struct netflow_v9_record_ipv4_tcp *rec = &rg.rec.v4_tcp; in export9_add() local 280 rec->o_packets = htonl(0); in export9_add() 281 rec->o_octets = htonl(0); in export9_add() 287 rec->prot = fed->r.r_ip_p; in export9_add() 288 rec->tos = fed->r.r_tos; in export9_add() 289 rec->dst_mask = fed->dst_mask; in export9_add() 293 rec->src_as = rec->dst_as = 0; in export9_add() 302 struct netflow_v9_record_ipv6_tcp *rec = &rg.rec.v6_tcp; in export9_add() local 311 rec->o_packets = htonl(0); in export9_add() 312 rec->o_octets = htonl(0); in export9_add() [all …]
|
| /freebsd-12.1/crypto/openssl/ssl/record/ |
| H A D | ssl3_record_tls13.c | 33 SSL3_RECORD *rec = &recs[0]; in tls13_enc() local 61 if (ctx == NULL || rec->type == SSL3_RT_ALERT) { in tls13_enc() 62 memmove(rec->data, rec->input, rec->length); in tls13_enc() 63 rec->input = rec->data; in tls13_enc() 121 if (rec->length < taglen + 1) in tls13_enc() 123 rec->length -= taglen; in tls13_enc() 153 rec->data + rec->length) <= 0)) { in tls13_enc() 159 || !WPACKET_put_bytes_u8(&wpkt, rec->type) in tls13_enc() 178 || EVP_CipherUpdate(ctx, rec->data, &lenu, rec->input, in tls13_enc() 187 rec->data + rec->length) <= 0) { in tls13_enc() [all …]
|
| H A D | ssl3_record.c | 848 SSL3_RECORD *rec; in ssl3_enc() local 855 rec = inrecs; in ssl3_enc() 876 memmove(rec->data, rec->input, rec->length); in ssl3_enc() 877 rec->input = rec->data; in ssl3_enc() 894 memset(&rec->input[rec->length], 0, i); in ssl3_enc() 906 if (EVP_Cipher(ds, rec->data, rec->input, (unsigned int)l) < 1) in ssl3_enc() 1242 rec->length + md_size, rec->orig_len, in n_ssl3_mac() 1262 || EVP_DigestUpdate(md_ctx, rec->input, rec->length) <= 0 in n_ssl3_mac() 1422 padding_length = rec->data[rec->length - 1]; in ssl3_cbc_remove_padding() 1466 padding_length = rec->data[rec->length - 1]; in tls1_cbc_remove_padding() [all …]
|
| /freebsd-12.1/sys/x86/x86/ |
| H A D | mca.c | 204 record = rec->rec; in sysctl_mca_records() 325 if (mca_mute(rec)) in mca_log() 331 (long long)rec->mr_mcg_cap, (long long)rec->mr_mcg_status); in mca_log() 333 rec->mr_cpu_id, rec->mr_apic_id); in mca_log() 472 rec->mr_addr = 0; in mca_check_status() 475 rec->mr_misc = 0; in mca_check_status() 511 rec = malloc(sizeof(*rec), M_MCA, M_WAITOK); in mca_fill_freelist() 532 rec = malloc(sizeof(*rec), M_MCA, M_WAITOK); in mca_record_entry() 547 rec->rec = *record; in mca_record_entry() 548 rec->logged = 0; in mca_record_entry() [all …]
|
| /freebsd-12.1/contrib/ipfilter/lib/ |
| H A D | ipft_pc.c | 138 packetheader_t *rec; in ipcap_read_rec() 143 s = (char *)rec; 144 n = sizeof(*rec); 147 i = read(pfd, (char *)rec, sizeof(*rec)); 155 rec->caplen = SWAPLONG(rec->caplen); 156 rec->wirelen = SWAPLONG(rec->wirelen); 157 rec->seconds = SWAPLONG(rec->seconds); 158 rec->microseconds = SWAPLONG(rec->microseconds); 160 p = rec->caplen; 180 packetheader_t rec; local [all …]
|
| /freebsd-12.1/sys/ofed/drivers/infiniband/core/ |
| H A D | ib_multicast.c | 170 ret = memcmp(group->rec.mgid.raw, cur_group->rec.mgid.raw, in mcast_insert() 358 rec = group->rec; in send_leave() 378 member->multicast.rec = group->rec; in join_group() 425 group->rec.join_state = 0; in process_group_error() 458 status = cmp_rec(&group->rec, &multicast->rec, in mcast_work_handler() 536 mgids_changed = memcmp(&rec->mgid, &group->rec.mgid, in join_handler() 538 group->rec = *rec; in join_handler() 584 group->rec.mgid = *mgid; in acquire_group() 635 member->multicast.rec = *rec; in ib_sa_join_multicast() 715 *rec = group->rec; in ib_sa_get_mcmember_rec() [all …]
|
| H A D | ib_sa_query.c | 657 ah_attr->sl = rec->sl; in ib_init_ah_from_path() 669 .net = rec->net ? rec->net : in ib_init_ah_from_path() 862 mad->data, &rec); in ib_sa_path_rec_callback() 863 rec.net = NULL; in ib_sa_path_rec_callback() 864 rec.ifindex = 0; in ib_sa_path_rec_callback() 984 mad->data, &rec); in ib_sa_service_rec_callback() 1075 rec, mad->data); in ib_sa_service_rec_query() 1107 mad->data, &rec); in ib_sa_mcmember_rec_callback() 1167 rec, mad->data); in ib_sa_mcmember_rec_query() 1199 mad->data, &rec); in ib_sa_guidinfo_rec_callback() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/PerfJITEvents/ |
| H A D | PerfJITEventListener.cpp | 406 rec.Prefix.TotalSize = sizeof(rec) + // debug record itself in NotifyCode() 411 rec.CodeSize = CodeSize; in NotifyCode() 412 rec.Vma = 0; in NotifyCode() 413 rec.CodeAddr = CodeAddr; in NotifyCode() 414 rec.Pid = Pid; in NotifyCode() 415 rec.Tid = get_threadid(); in NotifyCode() 422 Dumpstream->write(reinterpret_cast<const char *>(&rec), sizeof(rec)); in NotifyCode() 437 rec.Prefix.TotalSize = sizeof(rec); // will be increased further in NotifyDebug() 439 rec.CodeAddr = CodeAddr; in NotifyDebug() 440 rec.NrEntry = Lines.size(); in NotifyDebug() [all …]
|
| /freebsd-12.1/sys/dev/mlx4/mlx4_ib/ |
| H A D | mlx4_ib_alias_GUID.c | 246 rec->guid_indexes = rec->guid_indexes & in mlx4_ib_notify_slaves_on_guid_change() 399 rec->guids_retry_schedule[i] = in aliasguid_query_handler() 499 u8 port = rec->port + 1; in set_guid_rec() 500 int index = rec->block_num; in set_guid_rec() 657 if (!(rec->guid_indexes & in set_required_record() 676 memcpy(&next_rec->rec_det, rec, sizeof(*rec)); in set_required_record() 705 rec.guid_indexes) { in get_low_record_time_index() 760 rec = kzalloc(sizeof *rec, GFP_KERNEL); in alias_guid_work() 761 if (!rec) { in alias_guid_work() 773 set_guid_rec(&dev->ib_dev, rec); in alias_guid_work() [all …]
|
| /freebsd-12.1/lib/libdevdctl/ |
| H A D | event_factory.cc | 67 EventFactory::Record *rec(regEntries); in UpdateRegistry() local 68 EventFactory::Record *lastRec(rec + numEntries - 1); in UpdateRegistry() 70 for (; rec <= lastRec; rec++) { in UpdateRegistry() 71 Key key(rec->m_type, rec->m_subsystem); in UpdateRegistry() 73 if (rec->m_buildMethod == NULL) in UpdateRegistry() 76 m_registry[key] = rec->m_buildMethod; in UpdateRegistry()
|
| /freebsd-12.1/sys/netinet/ |
| H A D | sctp_indata.c | 438 chk->rec.data.tsn, in sctp_abort_in_reasm() 439 chk->rec.data.sid, in sctp_abort_in_reasm() 440 chk->rec.data.fsn, chk->rec.data.mid); in sctp_abort_in_reasm() 446 chk->rec.data.tsn, in sctp_abort_in_reasm() 447 chk->rec.data.sid, in sctp_abort_in_reasm() 448 chk->rec.data.fsn, in sctp_abort_in_reasm() 960 if (at && SCTP_TSN_GT(chk->rec.data.fsn, at->rec.data.fsn)) { in sctp_inject_old_unordered_data() 1047 if (SCTP_TSN_GT(at->rec.data.fsn, chk->rec.data.fsn)) { in sctp_inject_old_unordered_data() 1057 } else if (at->rec.data.fsn == chk->rec.data.fsn) { in sctp_inject_old_unordered_data() 1573 if (SCTP_TSN_GT(at->rec.data.fsn, chk->rec.data.fsn)) { in sctp_queue_data_for_reasm() [all …]
|
| /freebsd-12.1/sys/dev/drm2/i915/ |
| H A D | intel_overlay.c | 875 rec->dst_x + rec->dst_width <= mode->hdisplay && in check_overlay_dst() 877 rec->dst_y + rec->dst_height <= mode->vdisplay) in check_overlay_dst() 888 tmp = ((rec->src_scan_h << 16) / rec->dst_h) >> 16; in check_overlay_scaling() 891 tmp = ((rec->src_scan_w << 16) / rec->dst_w) >> 16; in check_overlay_scaling() 973 if (rec->stride_Y > tmp || rec->stride_UV > 2*1024) in check_overlay_src() 981 if (packed_width_bytes(rec->flags, rec->src_width) > rec->stride_Y) in check_overlay_src() 984 tmp = rec->stride_Y*rec->src_height; in check_overlay_src() 990 if (rec->src_width > rec->stride_Y) in check_overlay_src() 992 if (rec->src_width/uv_hscale > rec->stride_UV) in check_overlay_src() 995 tmp = rec->stride_Y * rec->src_height; in check_overlay_src() [all …]
|
| /freebsd-12.1/sys/ofed/include/rdma/ |
| H A D | ib_sa.h | 186 if (rec->net == NULL) in ib_get_ndev_from_path() 189 return dev_get_by_index(rec->net, rec->ifindex); in ib_get_ndev_from_path() 331 struct ib_sa_path_rec *rec, 343 struct ib_sa_service_rec *rec, 353 struct ib_sa_mcmember_rec rec; member 390 struct ib_sa_mcmember_rec *rec, 419 union ib_gid *mgid, struct ib_sa_mcmember_rec *rec); 426 struct ib_sa_mcmember_rec *rec, 436 struct ib_sa_path_rec *rec, 443 void ib_sa_pack_path(struct ib_sa_path_rec *rec, void *attribute); [all …]
|
| /freebsd-12.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/union/ |
| H A D | err.D_DECL_INCOMPLETE.simple.d | 47 union record rec; variable 51 rec.position = 0; 52 rec.content = 'a'; 54 rec.position, rec.content);
|
| H A D | err.D_DECL_INCOMPLETE.circular.d | 53 union record rec; variable 58 rec.position = 0; 59 rec.content = 'a'; 61 "rec.position: %d\nrec.content: %c\n", rec.position, rec.content);
|
| H A D | err.D_DECL_COMBO.UnionWithoutColon1.d | 51 union record rec; variable 56 rec.content = 'a'; 57 rec.position = 1; 64 rec.content, rec.position, pir.content, pir.position);
|
| H A D | err.D_DECL_COMBO.UnionWithoutColon.d | 52 union record rec; variable 57 rec.content = 'a'; 58 rec.position = 1; 65 rec.content, rec.position, pir.content, pir.position);
|
| H A D | err.D_DECL_INCOMPLETE.order.d | 52 union record rec; variable 57 rec.content = 'y'; 58 rec.position = 2; 65 rec.content, rec.position, pir.content, pir.position);
|
| /freebsd-12.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/struct/ |
| H A D | err.D_DECL_INCOMPLETE.simple.d | 48 struct record rec; variable 52 rec.position = 0; 53 rec.content = 'a'; 55 rec.position, rec.content);
|
| H A D | err.D_DECL_INCOMPLETE.circular.d | 54 struct record rec; variable 59 rec.position = 0; 60 rec.content = 'a'; 62 rec.position, rec.content);
|
| H A D | err.D_DECL_COMBO.StructWithoutColon1.d | 51 struct record rec; variable 56 rec.content = 'a'; 57 rec.position = 1; 64 rec.content, rec.position, pir.content, pir.position);
|
| H A D | err.D_DECL_INCOMPLETE.order.d | 52 struct record rec; variable 57 rec.content = 'y'; 58 rec.position = 2; 65 rec.content, rec.position, pir.content, pir.position);
|