• Home
  • Raw
  • Download

Lines Matching refs:len

833 	nlh->nlmsg_len = skb->len;  in kauditd_send_multicast_skb()
1226 u32 len; in audit_receive_msg() local
1476 len = 0; in audit_receive_msg()
1478 err = security_secid_to_secctx(audit_sig_sid, &ctx, &len); in audit_receive_msg()
1482 sig_data = kmalloc(struct_size(sig_data, ctx, len), GFP_KERNEL); in audit_receive_msg()
1485 security_release_secctx(ctx, len); in audit_receive_msg()
1491 memcpy(sig_data->ctx, ctx, len); in audit_receive_msg()
1492 security_release_secctx(ctx, len); in audit_receive_msg()
1495 sig_data, struct_size(sig_data, ctx, len)); in audit_receive_msg()
1563 int len; in audit_receive() local
1567 len = skb->len; in audit_receive()
1570 while (nlmsg_ok(nlh, len)) { in audit_receive()
1579 nlh = nlmsg_next(nlh, &len); in audit_receive()
1964 int len, avail; in audit_log_vformat() local
1980 len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args); in audit_log_vformat()
1981 if (len >= avail) { in audit_log_vformat()
1986 max_t(unsigned, AUDIT_BUFSIZ, 1+len-avail)); in audit_log_vformat()
1989 len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args2); in audit_log_vformat()
1991 if (len > 0) in audit_log_vformat()
1992 skb_put(skb, len); in audit_log_vformat()
2030 size_t len) in audit_log_n_hex() argument
2042 new_len = len<<1; in audit_log_n_hex()
2052 for (i = 0; i < len; i++) in audit_log_n_hex()
2055 skb_put(skb, len << 1); /* new string is twice the old string */ in audit_log_n_hex()
2095 bool audit_string_contains_control(const char *string, size_t len) in audit_string_contains_control() argument
2098 for (p = string; p < (const unsigned char *)string + len; p++) { in audit_string_contains_control()
2120 size_t len) in audit_log_n_untrustedstring() argument
2122 if (audit_string_contains_control(string, len)) in audit_log_n_untrustedstring()
2123 audit_log_n_hex(ab, string, len); in audit_log_n_untrustedstring()
2125 audit_log_n_string(ab, string, len); in audit_log_n_untrustedstring()
2185 unsigned len; in audit_log_task_context() local
2193 error = security_secid_to_secctx(sid, &ctx, &len); in audit_log_task_context()
2201 security_release_secctx(ctx, len); in audit_log_task_context()
2440 nlh->nlmsg_len = skb->len - NLMSG_HDRLEN; in audit_log_end()