/linux-master/crypto/ |
H A D | tcrypt.h | 27 unsigned int plen; /* per-update length */ member in struct:hash_speed 72 { .blen = 16, .plen = 16, }, 73 { .blen = 64, .plen = 16, }, 74 { .blen = 64, .plen = 64, }, 75 { .blen = 256, .plen = 16, }, 76 { .blen = 256, .plen = 64, }, 77 { .blen = 256, .plen = 256, }, 78 { .blen = 1024, .plen = 16, }, 79 { .blen = 1024, .plen = 256, }, 80 { .blen = 1024, .plen [all...] |
/linux-master/crypto/asymmetric_keys/ |
H A D | x509_loader.c | 13 size_t plen; local 26 plen = (p[2] << 8) | p[3]; 27 plen += 4; 28 if (plen > end - p) 35 plen, 49 p += plen;
|
/linux-master/include/net/ |
H A D | esp.h | 15 static inline void esp_output_fill_trailer(u8 *tail, int tfclen, int plen, __u8 proto) argument 24 for (i = 0; i < plen - 2; i++) 27 tail[plen - 2] = plen - 2; 28 tail[plen - 1] = proto; 36 int plen; member in struct:esp_info
|
/linux-master/net/ipv6/ |
H A D | rpl.c | 60 unsigned char plen; local 63 for (plen = 0; plen < sizeof(*daddr); plen++) { 65 if (daddr->s6_addr[plen] != 66 inhdr->rpl_segaddr[i].s6_addr[plen]) 67 return plen; 77 unsigned int plen; local 79 for (plen = 0; plen < sizeo [all...] |
H A D | fib6_rules.c | 36 if (r->dst.plen || r->src.plen || r->dscp) 142 r->src.plen && !(flags & RT6_LOOKUP_F_HAS_SADDR)) { 149 if (!ipv6_prefix_equal(&saddr, &r->src.addr, r->src.plen)) 291 if (rt->rt6i_dst.plen <= rule->suppress_prefixlen) 313 if (r->dst.plen && 314 !ipv6_prefix_equal(&fl6->daddr, &r->dst.addr, r->dst.plen)) 322 if (r->src.plen) { 325 r->src.plen)) 382 rule6->src.plen [all...] |
/linux-master/lib/crypto/ |
H A D | aesgcm.c | 568 int plen; member in struct:__anon678 578 .plen = sizeof(ptext1), 588 .plen = sizeof(ptext2), 598 .plen = sizeof(ptext3), 612 .plen = sizeof(ptext1), 623 .plen = sizeof(ptext6), 633 .plen = sizeof(ptext1), 645 .plen = sizeof(ptext9), 657 .plen = sizeof(ptext10), 672 .plen 698 int plen = aesgcm_tv[i].plen; local [all...] |
/linux-master/drivers/bluetooth/ |
H A D | hci_ag6xx.c | 29 __le32 plen; member in struct:pbn_entry 121 static int intel_mem_write(struct hci_dev *hdev, u32 addr, u32 plen, argument 127 while (plen > 0) { 129 u8 cmd_param[253], fragment_len = (plen > 247) ? 247 : plen; 143 plen -= fragment_len; 255 u32 addr, plen; local 264 plen = le32_to_cpu(pbn->plen); 266 if (fw->data + fw->size <= pbn->data + plen) { [all...] |
/linux-master/net/bluetooth/ |
H A D | hci_request.h | 49 void hci_req_add(struct hci_request *req, u16 opcode, u32 plen, 51 void hci_req_add_ev(struct hci_request *req, u16 opcode, u32 plen, 64 struct sk_buff *hci_prepare_cmd(struct hci_dev *hdev, u16 opcode, u32 plen,
|
H A D | hci_request.c | 214 struct sk_buff *hci_prepare_cmd(struct hci_dev *hdev, u16 opcode, u32 plen, argument 217 int len = HCI_COMMAND_HDR_SIZE + plen; 227 hdr->plen = plen; 229 if (plen) 230 skb_put_data(skb, param, plen); 241 void hci_req_add_ev(struct hci_request *req, u16 opcode, u32 plen, argument 247 bt_dev_dbg(hdev, "opcode 0x%4.4x plen %d", opcode, plen); 255 skb = hci_prepare_cmd(hdev, opcode, plen, para 271 hci_req_add(struct hci_request *req, u16 opcode, u32 plen, const void *param) argument 569 u32 plen; local [all...] |
/linux-master/tools/testing/selftests/net/ |
H A D | test_vxlan_mdb.sh | 1177 local plen=$1; shift 1191 run_cmd "ip -n $ns2 address replace $vtep1_ip/$plen dev lo" 1192 run_cmd "ip -n $ns2 address replace $vtep2_ip/$plen dev lo" 1273 local plen=32 1283 encap_params_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $enc_ethtype \ 1293 local plen=32 1303 encap_params_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $enc_ethtype \ 1313 local plen=128 1323 encap_params_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $enc_ethtype \ 1333 local plen [all...] |
/linux-master/arch/x86/platform/olpc/ |
H A D | olpc_dt.c | 72 int plen; local 74 plen = olpc_dt_getproplen(node, prop); 75 if (plen > bufsize || plen < 1) { 78 const void *args[] = { (void *)node, prop, buf, (void *)plen }; 79 void *res[] = { &plen }; 87 return plen; 222 int plen, len; local 224 plen = olpc_dt_getproperty(node, "compatible", buf, sizeof(buf)); 225 if (plen < [all...] |
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | vnic_sdma.c | 25 * @plen: pad length 34 u16 plen; member in struct:vnic_txreq 76 if (tx->plen) 78 tx->pad + HFI1_VNIC_MAX_PAD - tx->plen, 79 tx->plen); 95 hdrbytes + tx->skb->len + tx->plen, 120 /* setup the last plen bypes of pad */ 121 static inline void hfi1_vnic_update_pad(unsigned char *pad, u8 plen) argument 123 pad[HFI1_VNIC_MAX_PAD - 1] = plen - OPA_VNIC_ICRC_TAIL_LEN; 128 struct sk_buff *skb, u64 pbc, u8 plen) 126 hfi1_vnic_send_dma(struct hfi1_devdata *dd, u8 q_idx, struct hfi1_vnic_vport_info *vinfo, struct sk_buff *skb, u64 pbc, u8 plen) argument [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | bpf_iter_ipv6_route.c | 32 BPF_SEQ_PRINTF(seq, "%pi6 %02x ", &rt->fib6_dst.addr, rt->fib6_dst.plen); 36 rt->fib6_src.plen);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ipsec_rxtx.c | 53 u8 plen; local 56 ret = skb_copy_bits(skb, skb->len - alen - 2, &plen, 1); 60 trailer_len = alen + plen + 2; 192 esp_output_fill_trailer((u8 *)inlseg->data, 0, ipsec_st->plen, ipsec_st->xo->proto); 201 unsigned int blksize, clen, alen, plen; local 211 plen = max_t(u32, clen - skb->len, 4); 212 tailen = plen + alen; 213 ipsec_st->plen = plen;
|
/linux-master/fs/smb/client/ |
H A D | reparse.c | 28 u16 len, plen; local 48 plen = 2 * UniStrnlen((wchar_t *)path, PATH_MAX); 49 len = sizeof(*buf) + plen * 2; 58 buf->SubstituteNameOffset = cpu_to_le16(plen); 59 buf->SubstituteNameLength = cpu_to_le16(plen); 60 memcpy(&buf->PathBuffer[plen], path, plen); 62 buf->PrintNameLength = cpu_to_le16(plen); 63 memcpy(buf->PathBuffer, path, plen); 349 u32 plen, boo 348 parse_reparse_symlink(struct reparse_symlink_data_buffer *sym, u32 plen, bool unicode, struct cifs_sb_info *cifs_sb, struct cifs_open_info_data *data) argument 377 parse_reparse_point(struct reparse_data_buffer *buf, u32 plen, struct cifs_sb_info *cifs_sb, bool unicode, struct cifs_open_info_data *data) argument 411 u32 plen = le32_to_cpu(io->OutputCount); local [all...] |
/linux-master/net/xfrm/ |
H A D | xfrm_ipcomp.c | 41 const int plen = skb->len; local 46 int err = crypto_comp_decompress(tfm, start, plen, scratch, &dlen); 52 if (dlen < (plen + sizeof(struct ip_comp_hdr))) 55 len = dlen - plen; 61 len += plen; 125 const int plen = skb->len; local 135 err = crypto_comp_compress(tfm, start, plen, scratch, &dlen); 139 if ((dlen + sizeof(struct ip_comp_hdr)) >= plen) {
|
/linux-master/drivers/mtd/parsers/ |
H A D | ofpart_core.c | 213 int i, plen, nr_parts; local 224 part = of_get_property(dp, "partitions", &plen); 230 nr_parts = plen / sizeof(part[0]); 236 names = of_get_property(dp, "partition-names", &plen); 245 if (names && (plen > 0)) { 249 plen -= len;
|
/linux-master/drivers/nfc/nfcmrvl/ |
H A D | i2c.c | 39 nci_hdr.plen + NCI_CTRL_HDR_SIZE, GFP_KERNEL); 46 if (nci_hdr.plen) { 49 skb_put(*skb, nci_hdr.plen), 50 nci_hdr.plen); 52 if (ret != nci_hdr.plen) { 55 ret, nci_hdr.plen);
|
/linux-master/drivers/nfc/nxp-nci/ |
H A D | i2c.c | 159 *skb = alloc_skb(NCI_CTRL_HDR_SIZE + header.plen, GFP_KERNEL); 167 if (!header.plen) 170 r = i2c_master_recv(client, skb_put(*skb, header.plen), header.plen); 173 } else if (r != header.plen) { 176 r, header.plen);
|
/linux-master/include/net/bluetooth/ |
H A D | hci_sync.h | 27 struct sk_buff *__hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen, 29 struct sk_buff *hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen, 31 struct sk_buff *__hci_cmd_sync_ev(struct hci_dev *hdev, u16 opcode, u32 plen, 33 struct sk_buff *__hci_cmd_sync_sk(struct hci_dev *hdev, u16 opcode, u32 plen, 36 int __hci_cmd_sync_status(struct hci_dev *hdev, u16 opcode, u32 plen, 38 int __hci_cmd_sync_status_sk(struct hci_dev *hdev, u16 opcode, u32 plen,
|
/linux-master/drivers/scsi/libfc/ |
H A D | fc_disc.c | 381 size_t plen; local 394 plen = len; 400 plen = sizeof(*np) - tlen; 401 WARN_ON(plen <= 0); 402 WARN_ON(plen >= sizeof(*np)); 403 if (plen > len) 404 plen = len; 406 memcpy((char *)np + tlen, bp, plen); 414 plen += tlen; 415 disc->buf_len = (unsigned char) plen; [all...] |
/linux-master/arch/sparc/prom/ |
H A D | tree_32.c | 112 int plen, ret; local 115 plen = prom_getproplen(node, prop); 116 if((plen > bufsize) || (plen == 0) || (plen == -1))
|
H A D | tree_64.c | 121 int plen; local 123 plen = prom_getproplen(node, prop); 124 if ((plen > bufsize) || (plen == 0) || (plen == -1))
|
/linux-master/net/wireless/ |
H A D | lib80211_crypt_wep.c | 154 u32 crc, klen, plen; local 175 plen = skb->len - hdr_len - 8; 178 arc4_crypt(&wep->rx_ctx, pos, pos, plen + 4); 180 crc = ~crc32_le(~0, pos, plen); 185 if (memcmp(icv, pos + plen, 4) != 0) {
|
/linux-master/drivers/staging/rtl8192e/ |
H A D | rtllib_crypt_wep.c | 131 u32 klen, plen; local 156 plen = skb->len - hdr_len - 8; 160 arc4_crypt(&wep->rx_ctx_arc4, pos, pos, plen + 4); 162 crc = ~crc32_le(~0, pos, plen); 167 if (memcmp(icv, pos + plen, 4) != 0) {
|