/linux-4.1.27/crypto/ |
D | tcrypt.h | 32 unsigned int plen; /* per-update length */ member 74 { .blen = 16, .plen = 16, }, 75 { .blen = 64, .plen = 16, }, 76 { .blen = 64, .plen = 64, }, 77 { .blen = 256, .plen = 16, }, 78 { .blen = 256, .plen = 64, }, 79 { .blen = 256, .plen = 256, }, 80 { .blen = 1024, .plen = 16, }, 81 { .blen = 1024, .plen = 256, }, 82 { .blen = 1024, .plen = 1024, }, [all …]
|
D | tcrypt.c | 541 int blen, int plen, char *out, int secs) in test_hash_jiffies() argument 547 if (plen == blen) in test_hash_jiffies() 555 for (pcount = 0; pcount < blen; pcount += plen) { in test_hash_jiffies() 556 ret = crypto_hash_update(desc, sg, plen); in test_hash_jiffies() 616 int blen, int plen, char *out) in test_hash_cycles() argument 622 if (plen == blen) in test_hash_cycles() 632 for (pcount = 0; pcount < blen; pcount += plen) { in test_hash_cycles() 633 ret = crypto_hash_update(desc, sg, plen); in test_hash_cycles() 651 for (pcount = 0; pcount < blen; pcount += plen) { in test_hash_cycles() 652 ret = crypto_hash_update(desc, sg, plen); in test_hash_cycles() [all …]
|
D | algif_aead.c | 248 int plen = 0; in aead_sendmsg() local 257 plen = min_t(int, len, PAGE_SIZE); in aead_sendmsg() 265 msg, plen); in aead_sendmsg() 273 sg->length = plen; in aead_sendmsg() 274 len -= plen; in aead_sendmsg() 275 ctx->used += plen; in aead_sendmsg() 276 copied += plen; in aead_sendmsg() 278 size -= plen; in aead_sendmsg() 279 ctx->merge = plen & (PAGE_SIZE - 1); in aead_sendmsg()
|
D | algif_skcipher.c | 175 int plen = min_t(int, used, sg[i].length); in skcipher_pull_sgl() local 180 sg[i].length -= plen; in skcipher_pull_sgl() 181 sg[i].offset += plen; in skcipher_pull_sgl() 183 used -= plen; in skcipher_pull_sgl() 184 ctx->used -= plen; in skcipher_pull_sgl() 356 int plen; in skcipher_sendmsg() local 399 plen = min_t(int, len, PAGE_SIZE); in skcipher_sendmsg() 407 msg, plen); in skcipher_sendmsg() 414 sg[i].length = plen; in skcipher_sendmsg() 415 len -= plen; in skcipher_sendmsg() [all …]
|
D | af_alg.c | 408 int plen = min_t(int, len, PAGE_SIZE - off); in af_alg_make_sg() local 410 sg_set_page(sgl->sg + i, sgl->pages[i], plen, off); in af_alg_make_sg() 413 len -= plen; in af_alg_make_sg()
|
/linux-4.1.27/net/ipv6/ |
D | fib6_rules.c | 93 r->src.plen && !(flags & RT6_LOOKUP_F_HAS_SADDR)) { in fib6_rule_action() 103 r->src.plen)) in fib6_rule_action() 134 if (rt->rt6i_dst.plen <= rule->suppress_prefixlen) in fib6_rule_suppress() 155 if (r->dst.plen && in fib6_rule_match() 156 !ipv6_prefix_equal(&fl6->daddr, &r->dst.addr, r->dst.plen)) in fib6_rule_match() 164 if (r->src.plen) { in fib6_rule_match() 167 r->src.plen)) in fib6_rule_match() 207 rule6->src.plen = frh->src_len; in fib6_rule_configure() 208 rule6->dst.plen = frh->dst_len; in fib6_rule_configure() 221 if (frh->src_len && (rule6->src.plen != frh->src_len)) in fib6_rule_compare() [all …]
|
D | ip6_fib.c | 421 struct in6_addr *addr, int plen, in fib6_add_1() argument 443 if (plen < fn->fn_bit || in fib6_add_1() 459 if (plen == fn->fn_bit) { in fib6_add_1() 507 ln->fn_bit = plen; in fib6_add_1() 544 if (plen > bit) { in fib6_add_1() 578 ln->fn_bit = plen; in fib6_add_1() 605 ln->fn_bit = plen; in fib6_add_1() 616 if (addr_bit_set(&key->addr, plen)) in fib6_add_1() 919 fn = fib6_add_1(root, &rt->rt6i_dst.addr, rt->rt6i_dst.plen, in fib6_add() 931 if (rt->rt6i_src.plen) { in fib6_add() [all …]
|
D | esp6.c | 157 int plen; in esp6_output() local 182 plen = clen - skb->len - tfclen; in esp6_output() 184 err = skb_cow_data(skb, tfclen + plen + alen, &trailer); in esp6_output() 219 for (i = 0; i < plen - 2; i++) in esp6_output() 222 tail[plen - 2] = plen - 2; in esp6_output() 223 tail[plen - 1] = *skb_mac_header(skb); in esp6_output()
|
D | route.c | 888 if (ort->rt6i_dst.plen != 128 && in rt6_alloc_cow() 895 if (rt->rt6i_src.plen && saddr) { in rt6_alloc_cow() 897 rt->rt6i_src.plen = 128; in rt6_alloc_cow() 1155 if (mtu < dst_mtu(dst) && rt6->rt6i_dst.plen == 128) { in ip6_rt_update_pmtu() 1386 rt->rt6i_dst.plen = 128; in icmp6_dst_alloc() 1589 rt->rt6i_dst.plen = cfg->fc_dst_len; in ip6_route_info_create() 1590 if (rt->rt6i_dst.plen == 128) { in ip6_route_info_create() 1597 rt->rt6i_src.plen = cfg->fc_src_len; in ip6_route_info_create() 1706 rt->rt6i_prefsrc.plen = 128; in ip6_route_info_create() 1708 rt->rt6i_prefsrc.plen = 0; in ip6_route_info_create() [all …]
|
D | addrconf.c | 159 int plen, 2087 addrconf_prefix_route(struct in6_addr *pfx, int plen, struct net_device *dev, in addrconf_prefix_route() argument 2095 .fc_dst_len = plen, in addrconf_prefix_route() 2117 int plen, in addrconf_get_prefix_route() argument 2130 fn = fib6_locate(&table->tb6_root, pfx, plen, NULL, 0); in addrconf_get_prefix_route() 2567 unsigned int plen, __u32 ifa_flags, in inet6_addr_add() argument 2580 if (plen > 128) in inet6_addr_add() 2587 if (ifa_flags & IFA_F_MANAGETEMPADDR && plen != 64) in inet6_addr_add() 2626 ifp = ipv6_add_addr(idev, pfx, peer_pfx, plen, scope, ifa_flags, in inet6_addr_add() 2656 const struct in6_addr *pfx, unsigned int plen) in inet6_addr_del() argument [all …]
|
D | reassembly.c | 434 int i, plen = 0; in ip6_frag_reasm() local 444 plen += skb_frag_size(&skb_shinfo(head)->frags[i]); in ip6_frag_reasm() 445 clone->len = clone->data_len = head->data_len - plen; in ip6_frag_reasm()
|
D | icmp.c | 203 if (rt->rt6i_dst.plen < 128) in icmpv6_xrlim_allow() 204 tmo >>= ((128 - rt->rt6i_dst.plen)>>5); in icmpv6_xrlim_allow()
|
D | ip6_output.c | 832 return (rt_key->plen != 128 || !ipv6_addr_equal(fl_addr, &rt_key->addr)) && in ip6_rt_check()
|
/linux-4.1.27/kernel/ |
D | system_keyring.c | 59 size_t plen; in load_system_certificate_list() local 74 plen = (p[2] << 8) | p[3]; in load_system_certificate_list() 75 plen += 4; in load_system_certificate_list() 76 if (plen > end - p) in load_system_certificate_list() 83 plen, in load_system_certificate_list() 97 p += plen; in load_system_certificate_list()
|
D | auditfilter.c | 1203 int plen; in parent_len() local 1206 plen = strlen(path); in parent_len() 1208 if (plen == 0) in parent_len() 1209 return plen; in parent_len() 1212 p = path + plen - 1; in parent_len()
|
D | audit.h | 234 extern int audit_compare_dname_path(const char *dname, const char *path, int plen);
|
/linux-4.1.27/arch/x86/platform/olpc/ |
D | olpc_dt.c | 77 int plen; in olpc_dt_getproperty() local 79 plen = olpc_dt_getproplen(node, prop); in olpc_dt_getproperty() 80 if (plen > bufsize || plen < 1) { in olpc_dt_getproperty() 83 const void *args[] = { (void *)node, prop, buf, (void *)plen }; in olpc_dt_getproperty() 84 void *res[] = { &plen }; in olpc_dt_getproperty() 92 return plen; in olpc_dt_getproperty()
|
/linux-4.1.27/drivers/mtd/ |
D | ofpart.c | 117 int i, plen, nr_parts; in parse_ofoldpart_partitions() local 130 part = of_get_property(dp, "partitions", &plen); in parse_ofoldpart_partitions() 137 nr_parts = plen / sizeof(part[0]); in parse_ofoldpart_partitions() 143 names = of_get_property(dp, "partition-names", &plen); in parse_ofoldpart_partitions() 152 if (names && (plen > 0)) { in parse_ofoldpart_partitions() 156 plen -= len; in parse_ofoldpart_partitions()
|
/linux-4.1.27/net/bluetooth/ |
D | hci_request.c | 81 struct sk_buff *hci_prepare_cmd(struct hci_dev *hdev, u16 opcode, u32 plen, in hci_prepare_cmd() argument 84 int len = HCI_COMMAND_HDR_SIZE + plen; in hci_prepare_cmd() 94 hdr->plen = plen; in hci_prepare_cmd() 96 if (plen) in hci_prepare_cmd() 97 memcpy(skb_put(skb, plen), param, plen); in hci_prepare_cmd() 108 void hci_req_add_ev(struct hci_request *req, u16 opcode, u32 plen, in hci_req_add_ev() argument 114 BT_DBG("%s opcode 0x%4.4x plen %d", hdev->name, opcode, plen); in hci_req_add_ev() 122 skb = hci_prepare_cmd(hdev, opcode, plen, param); in hci_req_add_ev() 138 void hci_req_add(struct hci_request *req, u16 opcode, u32 plen, in hci_req_add() argument 141 hci_req_add_ev(req, opcode, plen, param, 0); in hci_req_add()
|
D | hci_request.h | 36 void hci_req_add(struct hci_request *req, u16 opcode, u32 plen, 38 void hci_req_add_ev(struct hci_request *req, u16 opcode, u32 plen, 44 struct sk_buff *hci_prepare_cmd(struct hci_dev *hdev, u16 opcode, u32 plen,
|
D | a2mp.c | 32 int plen; in __a2mp_build() local 34 plen = sizeof(*cmd) + len; in __a2mp_build() 35 cmd = kzalloc(plen, GFP_KERNEL); in __a2mp_build()
|
D | hci_core.c | 169 struct sk_buff *__hci_cmd_sync_ev(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync_ev() argument 181 hci_req_add_ev(&req, opcode, plen, param, event); in __hci_cmd_sync_ev() 234 struct sk_buff *__hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync() argument 237 return __hci_cmd_sync_ev(hdev, opcode, plen, param, 0, timeout); in __hci_cmd_sync() 3377 int hci_send_cmd(struct hci_dev *hdev, __u16 opcode, __u32 plen, in hci_send_cmd() argument 3382 BT_DBG("%s opcode 0x%4.4x plen %d", hdev->name, opcode, plen); in hci_send_cmd() 3384 skb = hci_prepare_cmd(hdev, opcode, plen, param); in hci_send_cmd()
|
D | hci_sock.c | 379 hdr->plen = sizeof(*ev) + dlen; in hci_si_event()
|
/linux-4.1.27/drivers/infiniband/hw/ipath/ |
D | ipath_diag.c | 329 u32 plen, pbufn, maxlen_reserve; in ipath_diagpkt_write() local 364 plen = dp.len >> 2; in ipath_diagpkt_write() 421 plen = sizeof(u32) + dp.len; in ipath_diagpkt_write() 423 tmpbuf = vmalloc(plen); in ipath_diagpkt_write() 438 plen >>= 2; /* in dwords */ in ipath_diagpkt_write() 440 piobuf = ipath_getpiobuf(dd, plen, &pbufn); in ipath_diagpkt_write() 452 dd->ipath_unit, plen - 1, pbufn); in ipath_diagpkt_write() 455 dp.pbc_wd = plen; in ipath_diagpkt_write() 464 __iowrite32_copy(piobuf + 2, tmpbuf, plen - 1); in ipath_diagpkt_write() 466 __raw_writel(tmpbuf[plen - 1], piobuf + plen + 1); in ipath_diagpkt_write() [all …]
|
D | ipath_verbs.c | 1091 static inline unsigned ipath_pkt_delay(u32 plen, u8 snd_mult, u8 rcv_mult) in ipath_pkt_delay() argument 1094 (plen * (rcv_mult - snd_mult) + 1) >> 1 : 0; in ipath_pkt_delay() 1100 u32 plen, u32 dwords) in ipath_verbs_send_dma() argument 1135 qp->s_pkt_delay = ipath_pkt_delay(plen, dd->delay_mult, qp->s_dmult); in ipath_verbs_send_dma() 1144 if (plen + 1 >= IPATH_SMALLBUF_DWORDS) in ipath_verbs_send_dma() 1164 tx->hdr.pbc[0] = cpu_to_le32(plen); in ipath_verbs_send_dma() 1183 tx->map_len = (plen + 1) << 2; in ipath_verbs_send_dma() 1193 *piobuf++ = (__force u32) cpu_to_le32(plen); in ipath_verbs_send_dma() 1225 u32 plen, u32 dwords) in ipath_verbs_send_pio() argument 1235 piobuf = ipath_getpiobuf(dd, plen, NULL); in ipath_verbs_send_pio() [all …]
|
D | ipath_driver.c | 1621 u32 __iomem *ipath_getpiobuf(struct ipath_devdata *dd, u32 plen, u32 *pbufnum) in ipath_getpiobuf() argument 1627 if (plen + 1 >= IPATH_SMALLBUF_DWORDS) { in ipath_getpiobuf() 1642 if (plen + 1 >= IPATH_SMALLBUF_DWORDS) in ipath_getpiobuf()
|
/linux-4.1.27/net/netfilter/ |
D | nft_redir.c | 47 unsigned int plen; in nft_redir_init() local 54 plen = FIELD_SIZEOF(struct nf_nat_range, min_addr.all); in nft_redir_init() 59 err = nft_validate_register_load(priv->sreg_proto_min, plen); in nft_redir_init() 68 plen); in nft_redir_init()
|
D | nf_conntrack_ftp.c | 69 size_t plen; member 78 .plen = sizeof("PORT") - 1, 86 .plen = sizeof("EPRT") - 1, 96 .plen = sizeof("227 ") - 1, 102 .plen = sizeof("229 ") - 1, 290 const char *pattern, size_t plen, in find_pattern() argument 299 size_t i = plen; in find_pattern() 305 if (dlen <= plen) { in find_pattern() 312 if (strncasecmp(data, pattern, plen) != 0) { in find_pattern() 317 for (i = 0; i < plen; i++) { in find_pattern() [all …]
|
D | nft_nat.c | 121 unsigned int alen, plen; in nft_nat_init() local 184 plen = FIELD_SIZEOF(struct nf_nat_range, min_addr.all); in nft_nat_init() 189 err = nft_validate_register_load(priv->sreg_proto_min, plen); in nft_nat_init() 198 plen); in nft_nat_init()
|
D | nf_nat_sip.c | 180 unsigned int olen, matchend, poff, plen, buflen, n; in nf_nat_sip() local 209 "maddr=", &poff, &plen, in nf_nat_sip() 217 poff, plen, buffer, buflen)) { in nf_nat_sip() 226 "received=", &poff, &plen, in nf_nat_sip() 234 poff, plen, buffer, buflen)) { in nf_nat_sip() 243 "rport=", &poff, &plen, in nf_nat_sip() 250 poff, plen, buffer, buflen)) { in nf_nat_sip()
|
D | nfnetlink_log.c | 404 const char *prefix, unsigned int plen) in __build_packet_message() argument 431 nla_put(inst->skb, NFULA_PREFIX, plen, prefix)) in __build_packet_message() 629 unsigned int plen; in nfulnl_log_packet() local 641 plen = 0; in nfulnl_log_packet() 643 plen = strlen(prefix) + 1; in nfulnl_log_packet() 659 + nla_total_size(plen) /* prefix */ in nfulnl_log_packet() 720 hooknum, in, out, prefix, plen); in nfulnl_log_packet()
|
/linux-4.1.27/security/keys/ |
D | keyctl.c | 63 size_t, plen, in SYSCALL_DEFINE5() argument 73 if (plen > 1024 * 1024 - 1) in SYSCALL_DEFINE5() 104 payload = kmalloc(plen, GFP_KERNEL | __GFP_NOWARN); in SYSCALL_DEFINE5() 106 if (plen <= PAGE_SIZE) in SYSCALL_DEFINE5() 109 payload = vmalloc(plen); in SYSCALL_DEFINE5() 115 if (copy_from_user(payload, _payload, plen) != 0) in SYSCALL_DEFINE5() 129 payload, plen, KEY_PERM_UNDEF, in SYSCALL_DEFINE5() 319 size_t plen) in keyctl_update_key() argument 326 if (plen > PAGE_SIZE) in keyctl_update_key() 333 payload = kmalloc(plen, GFP_KERNEL); in keyctl_update_key() [all …]
|
D | key.c | 777 size_t plen, in key_create_or_update() argument 814 prep.datalen = plen; in key_create_or_update() 926 int key_update(key_ref_t key_ref, const void *payload, size_t plen) in key_update() argument 946 prep.datalen = plen; in key_update()
|
/linux-4.1.27/drivers/scsi/libfc/ |
D | fc_disc.c | 397 size_t plen; in fc_disc_gpn_ft_parse() local 410 plen = len; in fc_disc_gpn_ft_parse() 416 plen = sizeof(*np) - tlen; in fc_disc_gpn_ft_parse() 417 WARN_ON(plen <= 0); in fc_disc_gpn_ft_parse() 418 WARN_ON(plen >= sizeof(*np)); in fc_disc_gpn_ft_parse() 419 if (plen > len) in fc_disc_gpn_ft_parse() 420 plen = len; in fc_disc_gpn_ft_parse() 422 memcpy((char *)np + tlen, bp, plen); in fc_disc_gpn_ft_parse() 430 plen += tlen; in fc_disc_gpn_ft_parse() 431 disc->buf_len = (unsigned char) plen; in fc_disc_gpn_ft_parse() [all …]
|
D | fc_rport.c | 1723 unsigned int plen; in fc_rport_recv_prli_req() local 1736 plen = ntohs(pp->prli.prli_len); in fc_rport_recv_prli_req() 1737 if ((plen % 4) != 0 || plen > len || plen < 16) in fc_rport_recv_prli_req() 1739 if (plen < len) in fc_rport_recv_prli_req() 1740 len = plen; in fc_rport_recv_prli_req() 1741 plen = pp->prli.prli_spp_len; in fc_rport_recv_prli_req() 1742 if ((plen % 4) != 0 || plen < sizeof(*spp) || in fc_rport_recv_prli_req() 1743 plen > len || len < sizeof(*pp) || plen < 12) in fc_rport_recv_prli_req() 1757 pp->prli.prli_spp_len = plen; in fc_rport_recv_prli_req() 1768 while (len >= plen) { in fc_rport_recv_prli_req() [all …]
|
D | fc_fcp.c | 826 u32 plen; in fc_fcp_resp() local 832 plen = fr_len(fp); in fc_fcp_resp() 834 if (unlikely(plen < sizeof(*fh) + sizeof(*fc_rp))) in fc_fcp_resp() 836 plen -= sizeof(*fh); in fc_fcp_resp() 849 if (plen < sizeof(*fc_rp) + sizeof(*rp_ex)) in fc_fcp_resp() 877 if (plen < sizeof(*fc_rp) + sizeof(rp_ex->fr_resid)) in fc_fcp_resp()
|
/linux-4.1.27/net/xfrm/ |
D | xfrm_ipcomp.c | 45 const int plen = skb->len; in ipcomp_decompress() local 51 int err = crypto_comp_decompress(tfm, start, plen, scratch, &dlen); in ipcomp_decompress() 57 if (dlen < (plen + sizeof(struct ip_comp_hdr))) { in ipcomp_decompress() 62 len = dlen - plen; in ipcomp_decompress() 68 len += plen; in ipcomp_decompress() 141 const int plen = skb->len; in ipcomp_compress() local 151 err = crypto_comp_compress(tfm, start, plen, scratch, &dlen); in ipcomp_compress() 155 if ((dlen + sizeof(struct ip_comp_hdr)) >= plen) { in ipcomp_compress()
|
/linux-4.1.27/drivers/of/ |
D | pdt.c | 39 int len, ourlen, plen; in of_pdt_build_full_name() local 44 plen = strlen(dp->parent->full_name); in of_pdt_build_full_name() 46 len = ourlen + plen + 2; in of_pdt_build_full_name() 51 strcpy(n + plen, "/"); in of_pdt_build_full_name() 52 plen++; in of_pdt_build_full_name() 54 strcpy(n + plen, dp->path_component_name); in of_pdt_build_full_name()
|
/linux-4.1.27/drivers/staging/rtl8192e/ |
D | rtllib_crypt_wep.c | 171 u32 klen, plen; in prism2_wep_decrypt() local 198 plen = skb->len - hdr_len - 8; in prism2_wep_decrypt() 201 sg_init_one(&sg, pos, plen+4); in prism2_wep_decrypt() 203 if (crypto_blkcipher_decrypt(&desc, &sg, &sg, plen + 4)) in prism2_wep_decrypt() 205 crc = ~crc32_le(~0, pos, plen); in prism2_wep_decrypt() 210 if (memcmp(icv, pos + plen, 4) != 0) { in prism2_wep_decrypt()
|
D | rtllib_crypt_tkip.c | 394 int plen; in rtllib_tkip_decrypt() local 451 plen = skb->len - hdr_len - 12; in rtllib_tkip_decrypt() 453 sg_init_one(&sg, pos, plen+4); in rtllib_tkip_decrypt() 456 if (crypto_blkcipher_decrypt(&desc, &sg, &sg, plen + 4)) { in rtllib_tkip_decrypt() 465 crc = ~crc32_le(~0, pos, plen); in rtllib_tkip_decrypt() 471 if (memcmp(icv, pos + plen, 4) != 0) { in rtllib_tkip_decrypt()
|
D | rtllib_softmac.c | 3224 struct ieee_param *param, int plen) in rtllib_wpa_set_wpa_ie() argument
|
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt_wep.c | 176 u32 klen, plen; in prism2_wep_decrypt() local 202 plen = skb->len - hdr_len - 8; in prism2_wep_decrypt() 207 sg_init_one(&sg, pos, plen+4); in prism2_wep_decrypt() 209 if (crypto_blkcipher_decrypt(&desc, &sg, &sg, plen + 4)) in prism2_wep_decrypt() 212 crc = ~crc32_le(~0, pos, plen); in prism2_wep_decrypt() 217 if (memcmp(icv, pos + plen, 4) != 0) { in prism2_wep_decrypt()
|
D | ieee80211_crypt_tkip.c | 400 int plen; in ieee80211_tkip_decrypt() local 452 plen = skb->len - hdr_len - 12; in ieee80211_tkip_decrypt() 455 sg_init_one(&sg, pos, plen+4); in ieee80211_tkip_decrypt() 457 if (crypto_blkcipher_decrypt(&desc, &sg, &sg, plen + 4)) { in ieee80211_tkip_decrypt() 466 crc = ~crc32_le(~0, pos, plen); in ieee80211_tkip_decrypt() 472 if (memcmp(icv, pos + plen, 4) != 0) { in ieee80211_tkip_decrypt()
|
D | ieee80211_softmac.c | 2820 struct ieee_param *param, int plen) in ieee80211_wpa_set_wpa_ie() argument
|
/linux-4.1.27/net/wireless/ |
D | lib80211_crypt_wep.c | 184 u32 crc, klen, plen; in lib80211_wep_decrypt() local 206 plen = skb->len - hdr_len - 8; in lib80211_wep_decrypt() 209 sg_init_one(&sg, pos, plen + 4); in lib80211_wep_decrypt() 210 if (crypto_blkcipher_decrypt(&desc, &sg, &sg, plen + 4)) in lib80211_wep_decrypt() 213 crc = ~crc32_le(~0, pos, plen); in lib80211_wep_decrypt() 218 if (memcmp(icv, pos + plen, 4) != 0) { in lib80211_wep_decrypt()
|
D | lib80211_crypt_tkip.c | 415 int plen; in lib80211_tkip_decrypt() local 466 plen = skb->len - hdr_len - 12; in lib80211_tkip_decrypt() 469 sg_init_one(&sg, pos, plen + 4); in lib80211_tkip_decrypt() 470 if (crypto_blkcipher_decrypt(&desc, &sg, &sg, plen + 4)) { in lib80211_tkip_decrypt() 476 crc = ~crc32_le(~0, pos, plen); in lib80211_tkip_decrypt() 481 if (memcmp(icv, pos + plen, 4) != 0) { in lib80211_tkip_decrypt()
|
/linux-4.1.27/fs/ext4/ |
D | symlink.c | 36 u32 plen, max_size = inode->i_sb->s_blocksize; in ext4_follow_link() local 69 plen = (cstr.len < EXT4_FNAME_CRYPTO_DIGEST_SIZE*2) ? in ext4_follow_link() 71 paddr = kmalloc(plen + 1, GFP_NOFS); in ext4_follow_link() 81 if (res <= plen) in ext4_follow_link()
|
/linux-4.1.27/arch/sparc/prom/ |
D | tree_32.c | 111 int plen, ret; in prom_getproperty() local 114 plen = prom_getproplen(node, prop); in prom_getproperty() 115 if((plen > bufsize) || (plen == 0) || (plen == -1)) in prom_getproperty()
|
D | tree_64.c | 120 int plen; in prom_getproperty() local 122 plen = prom_getproplen(node, prop); in prom_getproperty() 123 if ((plen > bufsize) || (plen == 0) || (plen == -1)) in prom_getproperty()
|
/linux-4.1.27/drivers/media/pci/ttpci/ |
D | av7110_ipack.c | 200 p->plen[0] = buf[c]; in av7110_ipack_instant_repack() 202 p->plen[1] = buf[c]; in av7110_ipack_instant_repack() 205 p->plength = (p->plen[0] << 8) | p->plen[1]; in av7110_ipack_instant_repack() 207 p->plen[0] = buf[c]; in av7110_ipack_instant_repack() 213 p->plen[1] = buf[c]; in av7110_ipack_instant_repack() 216 p->plength = (p->plen[0] << 8) | p->plen[1]; in av7110_ipack_instant_repack()
|
/linux-4.1.27/arch/s390/crypto/ |
D | sha_common.c | 68 unsigned int index, end, plen; in s390_sha_final() local 72 plen = (bsize > SHA256_BLOCK_SIZE) ? 16 : 8; in s390_sha_final() 76 end = (index < bsize - plen) ? bsize : (2 * bsize); in s390_sha_final()
|
/linux-4.1.27/drivers/net/caif/ |
D | caif_hsi.c | 416 u16 *plen = NULL; in cfhsi_rx_desc() local 480 plen = desc->cffrm_len; in cfhsi_rx_desc() 481 while (nfrms < CFHSI_MAX_PKTS && *plen) { in cfhsi_rx_desc() 482 xfer_sz += *plen; in cfhsi_rx_desc() 483 plen++; in cfhsi_rx_desc() 504 u16 *plen; in cfhsi_rx_desc_len() local 515 plen = desc->cffrm_len; in cfhsi_rx_desc_len() 516 while (nfrms < CFHSI_MAX_PKTS && *plen) { in cfhsi_rx_desc_len() 517 xfer_sz += *plen; in cfhsi_rx_desc_len() 518 plen++; in cfhsi_rx_desc_len() [all …]
|
/linux-4.1.27/drivers/infiniband/hw/cxgb3/ |
D | iwch_cm.c | 481 PDBG("%s ep %p pd_len %d\n", __func__, ep, ep->plen); in send_mpa_req() 485 mpalen = sizeof(*mpa) + ep->plen; in send_mpa_req() 503 mpa->private_data_size = htons(ep->plen); in send_mpa_req() 506 if (ep->plen) in send_mpa_req() 507 memcpy(mpa->private_data, ep->mpa_pkt + sizeof(*mpa), ep->plen); in send_mpa_req() 534 static int send_mpa_reject(struct iwch_ep *ep, const void *pdata, u8 plen) in send_mpa_reject() argument 541 PDBG("%s ep %p plen %d\n", __func__, ep, plen); in send_mpa_reject() 543 mpalen = sizeof(*mpa) + plen; in send_mpa_reject() 556 mpa->private_data_size = htons(plen); in send_mpa_reject() 557 if (plen) in send_mpa_reject() [all …]
|
D | iwch_qp.c | 46 u32 plen; in build_rdma_send() local 71 plen = 0; in build_rdma_send() 73 if ((plen + wr->sg_list[i].length) < plen) in build_rdma_send() 76 plen += wr->sg_list[i].length; in build_rdma_send() 83 wqe->send.plen = cpu_to_be32(plen); in build_rdma_send() 91 u32 plen; in build_rdma_write() local 102 plen = 4; in build_rdma_write() 108 plen = 0; in build_rdma_write() 110 if ((plen + wr->sg_list[i].length) < plen) { in build_rdma_write() 113 plen += wr->sg_list[i].length; in build_rdma_write() [all …]
|
D | iwch_cm.h | 191 u16 plen; member
|
D | cxio_wr.h | 174 __be32 plen; /* 3 */ member 236 __be32 plen; /* 4 */ member
|
/linux-4.1.27/drivers/video/fbdev/ |
D | atafb.c | 930 int plen; /* width of pixel in clock cycles */ in falcon_decode_var() local 1062 plen = 1; in falcon_decode_var() 1068 left_margin = hsync_len = 128 / plen; in falcon_decode_var() 1074 plen = 2 * xstretch; in falcon_decode_var() 1075 if (var->pixclock > f32.t * plen) in falcon_decode_var() 1084 hsync_len = pclock->hsync / plen; in falcon_decode_var() 1113 plen = 1 * xstretch; in falcon_decode_var() 1114 if ((plen * xres + f25.right + f25.hsync + f25.left) * in falcon_decode_var() 1117 else if ((plen * xres + f32.right + f32.hsync + in falcon_decode_var() 1120 else if ((plen * xres + fext.right + fext.hsync + in falcon_decode_var() [all …]
|
/linux-4.1.27/drivers/media/usb/gspca/ |
D | se401.c | 484 int i, plen, bits, pixels, info, count; in sd_pkt_scan_janggu() local 511 plen = ((bits + 47) >> 4) << 1; in sd_pkt_scan_janggu() 513 if (plen > 1024) { in sd_pkt_scan_janggu() 515 plen); in sd_pkt_scan_janggu() 524 count = plen - sd->packet_read; in sd_pkt_scan_janggu() 530 if (sd->packet_read < plen) in sd_pkt_scan_janggu() 539 plen); in sd_pkt_scan_janggu() 547 sd_complete_frame(gspca_dev, sd->packet, plen); in sd_pkt_scan_janggu() 551 plen); in sd_pkt_scan_janggu()
|
/linux-4.1.27/drivers/staging/rtl8723au/core/ |
D | rtw_security.c | 1138 static int aes_cipher(u8 *key, uint hdrlen, u8 *pframe, uint plen) in aes_cipher() argument 1196 construct_mic_iv(mic_iv, qc_exists, a4_exists, pframe, plen, pn_vector); in aes_cipher() 1201 payload_remainder = plen % 16; in aes_cipher() 1202 num_blocks = plen / 16; in aes_cipher() 1272 padded_buffer[j] = pframe[j + hdrlen + 8 + plen]; in aes_cipher() 1357 static int aes_decipher(u8 *key, uint hdrlen, u8 *pframe, uint plen) in aes_decipher() argument 1386 num_blocks = (plen - 8) / 16; /* plen including llc, payload_length and mic) */ in aes_decipher() 1388 payload_remainder = (plen - 8) % 16; in aes_decipher() 1457 if ((hdrlen + plen + 8) <= MAX_MSG_SIZE) in aes_decipher() 1458 memcpy(message, pframe, (hdrlen + plen + 8)); /* 8 is for ext iv len */ in aes_decipher() [all …]
|
D | rtw_ieee80211.c | 690 int r, plen; in rtw_get_cipher_info() local 694 plen = pnetwork->network.IELength; in rtw_get_cipher_info() 697 WLAN_OUI_TYPE_MICROSOFT_WPA, pie, plen); in rtw_get_cipher_info() 715 pbuf = cfg80211_find_ie(WLAN_EID_RSN, pie, plen); in rtw_get_cipher_info()
|
D | rtw_mlme_ext.c | 1107 int plen = skb->len; in OnAuth23aClient23a() local 1119 plen -= offsetof(struct ieee80211_mgmt, u.auth.variable); in OnAuth23aClient23a() 1143 p = cfg80211_find_ie(WLAN_EID_CHALLENGE, pie, plen); in OnAuth23aClient23a() 3305 u8 plen = p[1]; in issue_assocreq() local 3313 plen = 14; in issue_assocreq() 3317 plen, p + 2, in issue_assocreq()
|
D | rtw_mlme.c | 74 static void rtw_free_mlme_ie_data(u8 **ppie, u32 *plen) in rtw_free_mlme_ie_data() argument 78 *plen = 0; in rtw_free_mlme_ie_data()
|
/linux-4.1.27/drivers/nfc/nxp-nci/ |
D | i2c.c | 170 *skb = alloc_skb(NCI_CTRL_HDR_SIZE + header.plen, GFP_KERNEL); in nxp_nci_i2c_nci_read() 179 r = i2c_master_recv(client, skb_put(*skb, header.plen), header.plen); in nxp_nci_i2c_nci_read() 180 if (r != header.plen) { in nxp_nci_i2c_nci_read() 183 r, header.plen); in nxp_nci_i2c_nci_read()
|
/linux-4.1.27/include/linux/ |
D | ti_wilink_st.h | 352 u8 plen; member 404 u8 plen; member 414 u16 plen; member
|
D | key.h | 276 size_t plen, 282 size_t plen);
|
D | skbuff.h | 3358 int plen = SKB_GSO_CB(skb)->csum_start - skb_headroom(skb) - in gso_make_checksum() local 3363 plen, skb->csum)); in gso_make_checksum() 3365 SKB_GSO_CB(skb)->csum_start -= plen; in gso_make_checksum()
|
D | syscalls.h | 710 size_t plen,
|
/linux-4.1.27/drivers/infiniband/hw/cxgb4/ |
D | qp.c | 368 u32 plen = 0; in build_immd() local 374 if ((plen + wr->sg_list[i].length) > max) in build_immd() 377 plen += wr->sg_list[i].length; in build_immd() 392 len = roundup(plen + sizeof *immdp, 16) - (plen + sizeof *immdp); in build_immd() 398 immdp->immdlen = cpu_to_be32(plen); in build_immd() 399 *plenp = plen; in build_immd() 409 u32 plen = 0; in build_isgl() local 413 if ((plen + sg_list[i].length) < plen) in build_isgl() 415 plen += sg_list[i].length; in build_isgl() 430 *plenp = plen; in build_isgl() [all …]
|
D | cm.c | 804 PDBG("%s ep %p tid %u pd_len %d\n", __func__, ep, ep->hwtid, ep->plen); in send_mpa_req() 808 mpalen = sizeof(*mpa) + ep->plen; in send_mpa_req() 828 req->plen = cpu_to_be32(mpalen); in send_mpa_req() 838 mpa->private_data_size = htons(ep->plen); in send_mpa_req() 865 if (ep->plen) in send_mpa_req() 868 ep->mpa_pkt + sizeof(*mpa), ep->plen); in send_mpa_req() 870 if (ep->plen) in send_mpa_req() 872 ep->mpa_pkt + sizeof(*mpa), ep->plen); in send_mpa_req() 891 static int send_mpa_reject(struct c4iw_ep *ep, const void *pdata, u8 plen) in send_mpa_reject() argument 899 PDBG("%s ep %p tid %u pd_len %d\n", __func__, ep, ep->hwtid, ep->plen); in send_mpa_reject() [all …]
|
D | t4fw_ri_api.h | 535 __be32 plen; member 554 __be32 plen; member 581 __be32 plen; member
|
D | iw_cxgb4.h | 845 u16 plen; member
|
/linux-4.1.27/drivers/staging/rtl8188eu/core/ |
D | rtw_security.c | 1063 static int aes_cipher(u8 *key, uint hdrlen, u8 *pframe, uint plen) in aes_cipher() argument 1116 construct_mic_iv(mic_iv, qc_exists, a4_exists, pframe, plen, pn_vector); in aes_cipher() 1121 payload_remainder = plen % 16; in aes_cipher() 1122 num_blocks = plen / 16; in aes_cipher() 1186 padded_buffer[j] = pframe[j+hdrlen+8+plen]; in aes_cipher() 1259 u8 *pframe, uint plen) in aes_decipher() argument 1292 num_blocks = (plen-8) / 16; /* plen including llc, payload_length and mic) */ in aes_decipher() 1294 payload_remainder = (plen-8) % 16; in aes_decipher() 1351 if ((hdrlen+plen+8) <= MAX_MSG_SIZE) in aes_decipher() 1352 memcpy(message, pframe, (hdrlen + plen+8)); /* 8 is for ext iv len */ in aes_decipher() [all …]
|
D | rtw_mlme.c | 92 static void rtw_free_mlme_ie_data(u8 **ppie, u32 *plen) in rtw_free_mlme_ie_data() argument 95 *plen = 0; in rtw_free_mlme_ie_data()
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
D | qib_diag.c | 552 u32 plen, pbufn, maxlen_reserve; in qib_diagpkt_write() local 608 plen = sizeof(u32) + dp.len; in qib_diagpkt_write() 610 tmpbuf = vmalloc(plen); in qib_diagpkt_write() 625 plen >>= 2; /* in dwords */ in qib_diagpkt_write() 628 dp.pbc_wd = plen; in qib_diagpkt_write() 649 qib_pio_copy(piobuf + 2, tmpbuf, plen - 1); in qib_diagpkt_write() 651 __raw_writel(tmpbuf[plen - 1], piobuf + plen + 1); in qib_diagpkt_write() 653 qib_pio_copy(piobuf + 2, tmpbuf, plen); in qib_diagpkt_write()
|
D | qib_verbs.c | 1137 u32 plen, u32 dwords) in qib_verbs_send_dma() argument 1161 control = dd->f_setpbc_control(ppd, plen, qp->s_srate, in qib_verbs_send_dma() 1174 if (plen + 1 > dd->piosize2kmax_dwords) in qib_verbs_send_dma() 1189 phdr->pbc[0] = cpu_to_le32(plen); in qib_verbs_send_dma() 1202 tx->hdr_dwords = plen + 1; in qib_verbs_send_dma() 1206 phdr->pbc[0] = cpu_to_le32(plen); in qib_verbs_send_dma() 1272 u32 plen, u32 dwords) in qib_verbs_send_pio() argument 1285 control = dd->f_setpbc_control(ppd, plen, qp->s_srate, in qib_verbs_send_pio() 1287 pbc = ((u64) control << 32) | plen; in qib_verbs_send_pio() 1382 u32 plen; in qib_verbs_send() local [all …]
|
D | qib_verbs.h | 944 unsigned qib_pkt_delay(u32 plen, u8 snd_mult, u8 rcv_mult);
|
D | qib_iba6120.c | 3387 u32 first, last, plen = pbc & QIB_PBC_LENGTH_MASK; in qib_6120_getsendbuf() local 3396 if ((plen + 1) > dd->piosize2kmax_dwords) in qib_6120_getsendbuf() 3438 static u32 qib_6120_setpbc_control(struct qib_pportdata *ppd, u32 plen, in qib_6120_setpbc_control() argument
|
D | qib_iba7220.c | 4193 u32 first, last, plen = pbc & QIB_PBC_LENGTH_MASK; in qib_7220_getsendbuf() local 4201 if ((plen + 1) > dd->piosize2kmax_dwords) in qib_7220_getsendbuf() 4386 static u32 qib_7220_setpbc_control(struct qib_pportdata *ppd, u32 plen, in qib_7220_setpbc_control() argument 4394 (plen * (rcv_mult - snd_mult) + 1) >> 1 : 0; in qib_7220_setpbc_control()
|
D | qib_iba7322.c | 6771 u32 first, last, plen = pbc & QIB_PBC_LENGTH_MASK; in qib_7322_getsendbuf() local 6779 if ((plen + 1) > dd->piosize2kmax_dwords) in qib_7322_getsendbuf() 7035 static u32 qib_7322_setpbc_control(struct qib_pportdata *ppd, u32 plen, in qib_7322_setpbc_control() argument 7042 ret = rcv_mult > snd_mult ? ((plen + 1) >> 1) * snd_mult : 0; in qib_7322_setpbc_control()
|
/linux-4.1.27/drivers/nfc/ |
D | nfcwilink.c | 65 __u8 plen; member 71 __u8 plen; member 160 cmd->plen = 0; in nfcwilink_get_bts_file_name() 162 drv->nfcc_info.plen = 0; in nfcwilink_get_bts_file_name() 179 drv->nfcc_info.plen, drv->nfcc_info.status); in nfcwilink_get_bts_file_name() 181 if ((drv->nfcc_info.plen != 5) || (drv->nfcc_info.status != 0)) { in nfcwilink_get_bts_file_name()
|
/linux-4.1.27/arch/cris/arch-v32/lib/ |
D | memset.c | 47 void *memset(void *pdst, int c, unsigned int plen) in memset() argument 53 register int n __asm__ ("r12") = plen; in memset()
|
/linux-4.1.27/arch/cris/arch-v10/lib/ |
D | memset.c | 47 void *memset(void *pdst, int c, unsigned int plen) in memset() argument 53 register int n __asm__ ("r12") = plen; in memset()
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
D | llite_nfs.c | 191 static int ll_encode_fh(struct inode *inode, __u32 *fh, int *plen, in ll_encode_fh() argument 197 inode->i_ino, PFID(ll_inode2fid(inode)), *plen, in ll_encode_fh() 200 if (*plen < sizeof(struct lustre_nfs_fid) / 4) in ll_encode_fh() 205 *plen = sizeof(struct lustre_nfs_fid) / 4; in ll_encode_fh()
|
/linux-4.1.27/drivers/bluetooth/ |
D | btbcm.c | 137 if (fw_size < cmd->plen) { in btbcm_patchram() 145 fw_ptr += cmd->plen; in btbcm_patchram() 146 fw_size -= cmd->plen; in btbcm_patchram() 150 skb = __hci_cmd_sync(hdev, opcode, cmd->plen, cmd_param, in btbcm_patchram()
|
D | btusb.c | 440 bt_cb(skb)->expect = hci_event_hdr(skb)->plen; in btusb_recv_intr() 1833 if (remain < cmd->plen) { in btusb_setup_intel_patching() 1848 *fw_ptr += cmd->plen; in btusb_setup_intel_patching() 1849 remain -= cmd->plen; in btusb_setup_intel_patching() 1866 if (remain < evt->plen) { in btusb_setup_intel_patching() 1873 *fw_ptr += evt->plen; in btusb_setup_intel_patching() 1874 remain -= evt->plen; in btusb_setup_intel_patching() 1886 skb = __hci_cmd_sync_ev(hdev, le16_to_cpu(cmd->opcode), cmd->plen, in btusb_setup_intel_patching() 1898 if (skb->len != evt->plen) { in btusb_setup_intel_patching() 1905 if (memcmp(skb->data, evt_param, evt->plen)) { in btusb_setup_intel_patching() [all …]
|
D | hci_ll.c | 406 BT_DBG("Event header: evt 0x%2.2x plen %d", eh->evt, eh->plen); in ll_recv() 408 ll_check_data_len(hu->hdev, ll, eh->plen); in ll_recv()
|
D | btwilink.c | 129 .offset_len_in_hdr = offsetof(struct hci_event_hdr, plen),
|
D | bpa10x.c | 94 len = HCI_EVENT_HDR_SIZE + h->plen; in bpa10x_recv()
|
D | btuart_cs.c | 252 info->rx_count = eh->plen; in btuart_receive()
|
D | bt3c_cs.c | 302 info->rx_count = eh->plen; in bt3c_receive()
|
D | hci_bcsp.c | 524 hdr.plen = bcsp->rx_skb->len; in bcsp_complete_rx_pkt()
|
D | bfusb.c | 293 pkt_len = HCI_EVENT_HDR_SIZE + hdr->plen; in bfusb_recv_block()
|
D | bluecard_cs.c | 465 info->rx_count = eh->plen; in bluecard_receive()
|
D | btmrvl_main.c | 194 hdr->plen = len; in btmrvl_send_sync_cmd()
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | smp.c | 591 int i, plen; in traverse_siblings_chip_id() local 599 prop = of_get_property(np, "ibm,chip-id", &plen); in traverse_siblings_chip_id() 600 if (prop && plen == sizeof(int) && in traverse_siblings_chip_id() 640 int i, chip, plen; in traverse_core_siblings() local 647 prop = of_get_property(np, "ibm,chip-id", &plen); in traverse_core_siblings() 648 if (prop && plen == sizeof(int)) in traverse_core_siblings()
|
D | prom_init.c | 823 unsigned int plen; in prom_count_smt_threads() local 837 plen = prom_getproplen(node, "ibm,ppc-interrupt-server#s"); in prom_count_smt_threads() 838 if (plen == PROM_ERROR) in prom_count_smt_threads() 840 plen >>= 2; in prom_count_smt_threads() 841 prom_debug("Found %lu smt threads per core\n", (unsigned long)plen); in prom_count_smt_threads() 844 if (plen < 1 || plen > 64) { in prom_count_smt_threads() 846 (unsigned long)plen); in prom_count_smt_threads() 849 return plen; in prom_count_smt_threads() 1131 unsigned int plen; in prom_init_mem() local 1167 plen = prom_getprop(node, "reg", regbuf, sizeof(regbuf)); in prom_init_mem() [all …]
|
D | eeh.c | 271 size_t *plen = flag; in eeh_dump_pe_log() local 281 *plen += eeh_dump_dev_log(edev, pci_regs_buf + *plen, in eeh_dump_pe_log() 282 EEH_PCI_REGS_LOG_LEN - *plen); in eeh_dump_pe_log()
|
/linux-4.1.27/arch/powerpc/platforms/powermac/ |
D | setup.c | 109 int plen; in pmac_show_cpuinfo() local 131 pp = of_get_property(np, "compatible", &plen); in pmac_show_cpuinfo() 134 while (plen > 0) { in pmac_show_cpuinfo() 137 plen -= l; in pmac_show_cpuinfo()
|
D | pfunc_core.c | 684 const int plen = strlen(PP_PREFIX); in pmf_add_functions() local 689 if (strncmp(pp->name, PP_PREFIX, plen) != 0) in pmf_add_functions() 691 name = pp->name + plen; in pmf_add_functions()
|
/linux-4.1.27/net/netfilter/ipvs/ |
D | ip_vs_ftp.c | 88 const char *pattern, size_t plen, in ip_vs_ftp_get_addrport() argument 97 if (data_limit - data < plen) { in ip_vs_ftp_get_addrport() 105 if (strncasecmp(data, pattern, plen) != 0) { in ip_vs_ftp_get_addrport() 108 s = data + plen; in ip_vs_ftp_get_addrport()
|
D | ip_vs_sync.c | 1025 static inline int ip_vs_proc_seqopt(__u8 *p, unsigned int plen, in ip_vs_proc_seqopt() argument 1033 if (plen != sizeof(struct ip_vs_sync_conn_options)) { in ip_vs_proc_seqopt() 1047 static int ip_vs_proc_str(__u8 *p, unsigned int plen, unsigned int *data_len, in ip_vs_proc_str() argument 1051 if (plen > maxlen) { in ip_vs_proc_str() 1059 *data_len = plen; in ip_vs_proc_str() 1102 int plen; in ip_vs_proc_sync_conn() local 1107 plen = *(p++); in ip_vs_proc_sync_conn() 1109 if (!plen || ((p + plen) > msg_end)) in ip_vs_proc_sync_conn() 1114 if (ip_vs_proc_seqopt(p, plen, &opt_flags, &opt)) in ip_vs_proc_sync_conn() 1119 if (ip_vs_proc_str(p, plen, &pe_data_len, &pe_data, in ip_vs_proc_sync_conn() [all …]
|
D | ip_vs_ctl.c | 1201 __u32 plen = (__force __u32) u->netmask; in ip_vs_add_service() local 1203 if (plen < 1 || plen > 128) { in ip_vs_add_service() 1330 __u32 plen = (__force __u32) u->netmask; in ip_vs_edit_service() local 1332 if (plen < 1 || plen > 128) { in ip_vs_edit_service()
|
/linux-4.1.27/drivers/platform/x86/ |
D | ibm_rtl.c | 282 unsigned int plen; in ibm_rtl_init() local 293 plen = rtl_cmd_width/sizeof(char); in ibm_rtl_init() 294 rtl_cmd_addr = rtl_port_map(addr, plen); in ibm_rtl_init()
|
/linux-4.1.27/net/nfc/nci/ |
D | data.c | 82 int plen = skb->len; in nci_push_data_hdr() local 87 hdr->plen = plen; in nci_push_data_hdr()
|
D | core.c | 1138 int nci_send_cmd(struct nci_dev *ndev, __u16 opcode, __u8 plen, void *payload) in nci_send_cmd() argument 1143 pr_debug("opcode 0x%x, plen %d\n", opcode, plen); in nci_send_cmd() 1145 skb = nci_skb_alloc(ndev, (NCI_CTRL_HDR_SIZE + plen), GFP_KERNEL); in nci_send_cmd() 1154 hdr->plen = plen; in nci_send_cmd() 1159 if (plen) in nci_send_cmd() 1160 memcpy(skb_put(skb, plen), payload, plen); in nci_send_cmd()
|
/linux-4.1.27/net/ipv4/ |
D | fib_trie.c | 1081 u8 plen = cfg->fc_dst_len; in fib_table_insert() local 1082 u8 slen = KEYLENGTH - plen; in fib_table_insert() 1087 if (plen > KEYLENGTH) in fib_table_insert() 1092 pr_debug("Insert table=%u %08x/%d\n", tb->tb_id, key, plen); in fib_table_insert() 1094 if ((plen < KEYLENGTH) && (key << plen)) in fib_table_insert() 1169 err = netdev_switch_fib_ipv4_add(key, plen, fi, in fib_table_insert() 1187 rtmsg_fib(RTM_NEWROUTE, htonl(key), new_fa, plen, in fib_table_insert() 1219 err = netdev_switch_fib_ipv4_add(key, plen, fi, tos, in fib_table_insert() 1233 if (!plen) in fib_table_insert() 1237 rtmsg_fib(RTM_NEWROUTE, htonl(key), new_fa, plen, new_fa->tb_id, in fib_table_insert() [all …]
|
D | esp4.c | 131 int plen; in esp_output() local 155 plen = clen - skb->len - tfclen; in esp_output() 157 err = skb_cow_data(skb, tfclen + plen + alen, &trailer); in esp_output() 192 for (i = 0; i < plen - 2; i++) in esp_output() 195 tail[plen - 2] = plen - 2; in esp_output() 196 tail[plen - 1] = *skb_mac_header(skb); in esp_output()
|
D | fou.c | 83 size_t plen = hdrlen + max_t(size_t, offset + sizeof(u16), start); in gue_remcsum() local 85 if (!pskb_may_pull(skb, plen)) in gue_remcsum() 231 size_t plen = hdrlen + max_t(size_t, offset + sizeof(u16), start); in gue_gro_remcsum() local 240 if (skb_gro_header_hard(skb, off + plen)) { in gue_gro_remcsum() 241 guehdr = skb_gro_header_slow(skb, off + plen, off); in gue_gro_remcsum()
|
D | ip_fragment.c | 560 int i, plen = 0; in ip_frag_reasm() local 570 plen += skb_frag_size(&skb_shinfo(head)->frags[i]); in ip_frag_reasm() 571 clone->len = clone->data_len = head->data_len - plen; in ip_frag_reasm()
|
D | fib_frontend.c | 412 int plen; in rtentry_to_fib_config() local 428 plen = 32; in rtentry_to_fib_config() 441 plen = inet_mask_len(mask); in rtentry_to_fib_config() 444 cfg->fc_dst_len = plen; in rtentry_to_fib_config()
|
D | ip_tunnel.c | 622 rt6->rt6i_dst.plen == 128) { in tnl_update_pmtu()
|
/linux-4.1.27/drivers/infiniband/ulp/iser/ |
D | iser_memory.c | 450 int ret, plen; in iser_reg_page_vec() local 452 plen = iser_sg_to_page_vec(mem, device->ib_device, in iser_reg_page_vec() 456 page_vec->length = plen; in iser_reg_page_vec() 457 if (plen * SIZE_4K < page_vec->data_size) { in iser_reg_page_vec() 724 int ret, offset, size, plen; in iser_fast_reg_mr() local 738 plen = iser_sg_to_page_vec(mem, device->ib_device, frpl->page_list, in iser_fast_reg_mr() 740 if (plen * SIZE_4K < size) { in iser_fast_reg_mr() 756 fastreg_wr.wr.fast_reg.page_list_len = plen; in iser_fast_reg_mr()
|
/linux-4.1.27/drivers/staging/rtl8712/ |
D | rtl871x_security.c | 1029 u8 *pframe, uint plen) in aes_cipher() argument 1083 construct_mic_iv(mic_iv, qc_exists, a4_exists, pframe, plen, pn_vector); in aes_cipher() 1086 payload_remainder = plen % 16; in aes_cipher() 1087 num_blocks = plen / 16; in aes_cipher() 1143 padded_buffer[j] = pframe[j+hdrlen+8+plen]; in aes_cipher() 1201 u8 *pframe, uint plen) in aes_decipher() argument 1229 num_blocks = (plen - 8) / 16; in aes_decipher() 1230 payload_remainder = (plen-8) % 16; in aes_decipher() 1281 memcpy((void *)message, pframe, (hdrlen + plen + 8)); in aes_decipher() 1288 construct_mic_iv(mic_iv, qc_exists, a4_exists, message, plen-8, in aes_decipher() [all …]
|
/linux-4.1.27/fs/befs/ |
D | datastream.c | 129 u16 plen; in befs_read_lsymlink() local 142 plen = ((bytes_read + BEFS_SB(sb)->block_size) < len) ? in befs_read_lsymlink() 144 memcpy(buff + bytes_read, bh->b_data, plen); in befs_read_lsymlink() 146 bytes_read += plen; in befs_read_lsymlink()
|
/linux-4.1.27/arch/sparc/kernel/ |
D | setup_64.c | 483 int i, plen; in mdesc_cpu_hwcap_list() local 498 plen = strlen(prop) + 1; in mdesc_cpu_hwcap_list() 499 prop += plen; in mdesc_cpu_hwcap_list() 500 len -= plen; in mdesc_cpu_hwcap_list()
|
D | ioport.c | 240 unsigned long plen; in _sparc_free_io() local 242 plen = resource_size(res); in _sparc_free_io() 243 BUG_ON((plen & (PAGE_SIZE-1)) != 0); in _sparc_free_io() 244 srmmu_unmapiorange(res->start, plen); in _sparc_free_io()
|
/linux-4.1.27/drivers/net/fddi/skfp/ |
D | smt.c | 1575 int plen ; member 1668 int plen ; in sm_to_para() local 1678 plen = ((struct smt_para *)p)->p_len + PARA_LEN ; in sm_to_para() 1679 p += plen ; in sm_to_para() 1680 len -= plen ; in sm_to_para() 1682 DB_SMT("SMT : sm_to_para - length error %d\n",plen,0) ; in sm_to_para() 1685 if ((plen & 3) && (para != SMT_P_ECHODATA)) { in sm_to_para() 1686 DB_SMT("SMT : sm_to_para - odd length %d\n",plen,0) ; in sm_to_para() 1832 int plen ; in smt_swap_para() local 1847 plen = pa->p_len ; in smt_swap_para() [all …]
|
D | pmf.c | 558 int plen ; in smt_add_para() local 585 plen = len ; /* remember start length */ in smt_add_para() 1052 pa->p_len = plen - len - PARA_LEN ; in smt_add_para() 1595 int plen ; in dump_smt() local 1640 plen = (pa->p_len + PARA_LEN + 3) & ~3 ; in dump_smt() 1641 len -= plen ; in dump_smt() 1642 pa = (struct smt_para *)((char *)pa + plen) ; in dump_smt()
|
/linux-4.1.27/drivers/misc/ti-st/ |
D | st_core.c | 245 unsigned char *plen; in st_int_recv() local 288 plen = in st_int_recv() 291 pr_debug("plen pointing to %x\n", *plen); in st_int_recv() 293 payload_len = *(unsigned char *)plen; in st_int_recv() 296 __le16_to_cpu(*(unsigned short *)plen); in st_int_recv()
|
D | st_kim.c | 148 unsigned char *plen; in kim_int_recv() local 180 plen = in kim_int_recv() 182 pr_debug("event hdr: plen 0x%02x\n", *plen); in kim_int_recv() 183 kim_check_data_len(kim_gdata, *plen); in kim_int_recv()
|
/linux-4.1.27/net/rxrpc/ |
D | ar-key.c | 93 size_t plen; in rxrpc_preparse_xdr_rxkad() local 109 plen = sizeof(*token) + sizeof(*token->kad) + tktlen; in rxrpc_preparse_xdr_rxkad() 110 prep->quotalen = datalen + plen; in rxrpc_preparse_xdr_rxkad() 112 plen -= sizeof(*token); in rxrpc_preparse_xdr_rxkad() 117 token->kad = kzalloc(plen, GFP_KERNEL); in rxrpc_preparse_xdr_rxkad() 688 size_t plen; in rxrpc_preparse() local 748 plen = sizeof(*token->kad) + v1->ticket_length; in rxrpc_preparse() 749 prep->quotalen = plen + sizeof(*token); in rxrpc_preparse() 755 token->kad = kzalloc(plen, GFP_KERNEL); in rxrpc_preparse()
|
/linux-4.1.27/drivers/spi/ |
D | spi-atmel.c | 545 u32 *plen) in atmel_spi_next_xfer_dma_submit() argument 554 u32 len = *plen; in atmel_spi_next_xfer_dma_submit() 568 as->dma.sgrx.dma_address = xfer->rx_dma + xfer->len - *plen; in atmel_spi_next_xfer_dma_submit() 578 as->dma.sgtx.dma_address = xfer->tx_dma + xfer->len - *plen; in atmel_spi_next_xfer_dma_submit() 589 *plen = len; in atmel_spi_next_xfer_dma_submit() 645 u32 *plen) in atmel_spi_next_xfer_data() argument 648 u32 len = *plen; in atmel_spi_next_xfer_data() 652 *rx_dma = xfer->rx_dma + xfer->len - *plen; in atmel_spi_next_xfer_data() 660 *tx_dma = xfer->tx_dma + xfer->len - *plen; in atmel_spi_next_xfer_data() 670 *plen = len; in atmel_spi_next_xfer_data()
|
/linux-4.1.27/drivers/i2c/busses/ |
D | i2c-mpc.c | 654 int plen; in fsl_i2c_probe() local 707 &plen); in fsl_i2c_probe() 708 if (prop && plen == sizeof(u32)) in fsl_i2c_probe() 721 prop = of_get_property(op->dev.of_node, "fsl,timeout", &plen); in fsl_i2c_probe() 722 if (prop && plen == sizeof(u32)) { in fsl_i2c_probe()
|
/linux-4.1.27/drivers/staging/rts5208/ |
D | rtsx_transport.c | 102 unsigned int plen = min(sglen, (unsigned int) in rtsx_stor_access_xfer_buf() local 107 memcpy(ptr + poff, buffer + cnt, plen); in rtsx_stor_access_xfer_buf() 109 memcpy(buffer + cnt, ptr + poff, plen); in rtsx_stor_access_xfer_buf() 115 cnt += plen; in rtsx_stor_access_xfer_buf() 116 sglen -= plen; in rtsx_stor_access_xfer_buf()
|
/linux-4.1.27/drivers/net/wireless/b43legacy/ |
D | xmit.c | 138 u32 plen; in b43legacy_generate_plcp_hdr() local 140 plen = octets * 16 / bitrate; in b43legacy_generate_plcp_hdr() 142 plen++; in b43legacy_generate_plcp_hdr() 150 *data |= cpu_to_le32(plen << 16); in b43legacy_generate_plcp_hdr()
|
/linux-4.1.27/net/irda/ |
D | irttp.c | 1191 __u8 plen; in irttp_connect_confirm() local 1228 plen = skb->data[0]; in irttp_connect_confirm() 1231 IRDA_MIN(skb->len-1, plen), in irttp_connect_confirm() 1244 skb_pull(skb, IRDA_MIN(skb->len, plen+1)); in irttp_connect_confirm() 1275 __u8 plen; in irttp_connect_indication() local 1305 plen = skb->data[0]; in irttp_connect_indication() 1308 IRDA_MIN(skb->len-1, plen), in irttp_connect_indication() 1322 skb_pull(skb, IRDA_MIN(skb->len, plen+1)); in irttp_connect_indication()
|
/linux-4.1.27/arch/mips/include/asm/ |
D | vpe.h | 64 unsigned long plen; member
|
/linux-4.1.27/fs/cifs/ |
D | smb2pdu.c | 1266 u32 indatalen, char **out_data, u32 *plen /* returned data len */) in SMB2_ioctl() argument 1283 if (plen) in SMB2_ioctl() 1284 *plen = 0; in SMB2_ioctl() 1365 if ((plen == NULL) || (out_data == NULL)) in SMB2_ioctl() 1368 *plen = le32_to_cpu(rsp->OutputCount); in SMB2_ioctl() 1371 if (*plen == 0) in SMB2_ioctl() 1373 else if (*plen > 0xFF00) { in SMB2_ioctl() 1374 cifs_dbg(VFS, "srv returned invalid ioctl length: %d\n", *plen); in SMB2_ioctl() 1375 *plen = 0; in SMB2_ioctl() 1380 if (get_rfc1002_length(rsp) < le32_to_cpu(rsp->OutputOffset) + *plen) { in SMB2_ioctl() [all …]
|
D | smb2proto.h | 118 char **out_data, u32 *plen /* returned data len */);
|
/linux-4.1.27/drivers/net/wireless/ath/carl9170/ |
D | usb.c | 651 unsigned int plen, void *payload, unsigned int outlen, void *out) in carl9170_exec_cmd() argument 661 ar->cmd.hdr.len = plen; in carl9170_exec_cmd() 664 if (plen && payload != (u8 *)(ar->cmd.data)) in carl9170_exec_cmd() 665 memcpy(ar->cmd.data, payload, plen); in carl9170_exec_cmd() 697 &ar->cmd, plen + 4); in carl9170_exec_cmd()
|
D | carl9170.h | 545 u32 plen, void *payload, u32 rlen, void *resp);
|
/linux-4.1.27/scripts/dtc/ |
D | flattree.c | 728 int plen; in nodename_from_path() local 730 plen = strlen(ppath); in nodename_from_path() 732 if (!strneq(ppath, cpath, plen)) in nodename_from_path() 738 plen++; in nodename_from_path() 740 return xstrdup(cpath + plen); in nodename_from_path()
|
/linux-4.1.27/drivers/net/can/softing/ |
D | softing_fw.c | 106 uint16_t *plen, const uint8_t **pdat) in fw_parse() argument 130 *plen = le16_to_cpup((void *)&mem[6]); in fw_parse() 133 end = &mem[8 + *plen]; in fw_parse() 140 *pmem += 10 + *plen; in fw_parse()
|
/linux-4.1.27/arch/mips/kernel/ |
D | vpe.c | 589 len = v->plen; in vpe_elfload() 803 v->plen = P_SIZE; in vpe_open() 850 v->plen = 0; in vpe_release() 869 if ((count + v->len) > v->plen) { in vpe_write()
|
/linux-4.1.27/drivers/net/ethernet/freescale/ |
D | gianfar_ptp.c | 429 int plen; in get_of_u32() local 430 const u32 *prop = of_get_property(node, str, &plen); in get_of_u32() 432 if (!prop || plen != sizeof(*prop)) in get_of_u32()
|
/linux-4.1.27/fs/ubifs/ |
D | journal.c | 935 int aligned_dlen1, aligned_dlen2, plen = UBIFS_INO_NODE_SZ; in ubifs_jnl_rename() local 960 len = aligned_dlen1 + aligned_dlen2 + ALIGN(ilen, 8) + ALIGN(plen, 8); in ubifs_jnl_rename() 962 len += plen; in ubifs_jnl_rename() 1006 p += ALIGN(plen, 8); in ubifs_jnl_rename() 1057 err = ubifs_tnc_add(c, &key, lnum, offs, plen); in ubifs_jnl_rename() 1062 offs += ALIGN(plen, 8); in ubifs_jnl_rename() 1064 err = ubifs_tnc_add(c, &key, lnum, offs, plen); in ubifs_jnl_rename()
|
/linux-4.1.27/drivers/net/wireless/b43/ |
D | xmit.c | 162 u32 plen; in b43_generate_plcp_hdr() local 164 plen = octets * 16 / bitrate; in b43_generate_plcp_hdr() 166 plen++; in b43_generate_plcp_hdr() 174 plcp->data |= cpu_to_le32(plen << 16); in b43_generate_plcp_hdr()
|
/linux-4.1.27/net/ieee802154/6lowpan/ |
D | reassembly.c | 275 int i, plen = 0; in lowpan_frag_reasm() local 285 plen += skb_frag_size(&skb_shinfo(head)->frags[i]); in lowpan_frag_reasm() 286 clone->len = head->data_len - plen; in lowpan_frag_reasm()
|
/linux-4.1.27/fs/ |
D | splice.c | 469 unsigned int plen; in __generic_file_splice_read() local 474 plen = ((isize - 1) & ~PAGE_CACHE_MASK) + 1; in __generic_file_splice_read() 475 if (plen <= loff) in __generic_file_splice_read() 481 this_len = min(this_len, plen - loff); in __generic_file_splice_read() 1496 const int plen = min_t(size_t, len, PAGE_SIZE - off); in get_iovec_page_array() local 1499 partial[buffers].len = plen; in get_iovec_page_array() 1502 len -= plen; in get_iovec_page_array()
|
/linux-4.1.27/fs/jfs/ |
D | jfs_xtree.h | 105 int *pflag, s64 * paddr, int *plen, int flag);
|
D | jfs_xtree.c | 147 s64 llen, int *pflag, s64 * paddr, s32 * plen, int no_check) in xtLookup() argument 162 *plen = llen; in xtLookup() 196 *plen = min(next - lstart, llen); in xtLookup() 213 *plen = min(xend - lstart, llen); in xtLookup()
|
/linux-4.1.27/include/net/nfc/ |
D | nci.h | 215 __u8 plen; member 221 __u8 plen; member
|
D | nci_core.h | 324 int nci_send_cmd(struct nci_dev *ndev, __u16 opcode, __u8 plen, void *payload);
|
/linux-4.1.27/net/ceph/ |
D | osd_client.c | 66 static int calc_layout(struct ceph_file_layout *layout, u64 off, u64 *plen, in calc_layout() argument 69 u64 orig_len = *plen; in calc_layout() 78 *plen = *objlen; in calc_layout() 80 orig_len - *plen, off, *plen); in calc_layout() 756 u64 off, u64 *plen, in ceph_osdc_new_request() argument 782 r = calc_layout(layout, off, plen, &objnum, &objoff, &objlen); in ceph_osdc_new_request() 2680 u64 off, u64 *plen, in ceph_osdc_readpages() argument 2688 vino.snap, off, *plen); in ceph_osdc_readpages() 2689 req = ceph_osdc_new_request(osdc, layout, vino, off, plen, 0, 1, in ceph_osdc_readpages() 2699 pages, *plen, page_align, false, false); in ceph_osdc_readpages() [all …]
|
/linux-4.1.27/net/ipv6/netfilter/ |
D | nf_conntrack_reasm.c | 415 int i, plen = 0; in nf_ct_frag6_reasm() local 426 plen += skb_frag_size(&skb_shinfo(head)->frags[i]); in nf_ct_frag6_reasm() 427 clone->len = clone->data_len = head->data_len - plen; in nf_ct_frag6_reasm()
|
/linux-4.1.27/net/core/ |
D | skbuff.c | 1851 unsigned int plen, unsigned int *off, in __splice_segment() argument 1861 if (*off >= plen) { in __splice_segment() 1862 *off -= plen; in __splice_segment() 1868 plen -= *off; in __splice_segment() 1872 unsigned int flen = min(*len, plen); in __splice_segment() 1878 plen -= flen; in __splice_segment() 1880 } while (*len && plen); in __splice_segment() 2278 int plen = 0; /* length of skb->head fragment */ in skb_zerocopy() local 2295 plen = min_t(int, skb_headlen(from), len); in skb_zerocopy() 2296 if (plen) { in skb_zerocopy() [all …]
|
/linux-4.1.27/drivers/media/dvb-core/ |
D | dvb_filter.h | 140 u8 plen[2]; member
|
/linux-4.1.27/drivers/video/fbdev/omap2/displays-new/ |
D | panel-dsi-cm.c | 1014 int plen; in dsicm_memory_read() local 1041 plen = 1; in dsicm_memory_read() 1043 plen = 2; in dsicm_memory_read() 1047 r = in->ops.dsi->set_max_rx_packet_size(in, ddata->channel, plen); in dsicm_memory_read() 1065 if (r < plen) { in dsicm_memory_read()
|
/linux-4.1.27/drivers/staging/rtl8723au/hal/ |
D | hal_com.c | 346 __func__, c2h_evt->id, c2h_evt->plen, c2h_evt->seq, in c2h_evt_read23a() 351 for (i = 0; i < c2h_evt->plen; i++) in c2h_evt_read23a() 358 c2h_evt->plen); in c2h_evt_read23a()
|
D | rtl8723a_hal_init.c | 995 for (i = 0; i < c2h_evt->plen; i++) { in c2h_handler_8723a() 1015 c2h_evt->payload, c2h_evt->plen); in c2h_handler_8723a()
|
/linux-4.1.27/drivers/staging/rtl8723au/include/ |
D | rtw_cmd.h | 70 u8 plen:4; member 89 #define c2h_evt_exist(c2h_evt) ((c2h_evt)->id || (c2h_evt)->plen)
|
/linux-4.1.27/include/media/davinci/ |
D | isif.h | 342 struct isif_fmtplen plen; member
|
/linux-4.1.27/drivers/scsi/ |
D | scsi_debug.c | 1051 int plen, olen; in inquiry_evpd_85() local 1057 plen = olen + 1; in inquiry_evpd_85() 1058 if (plen % 4) in inquiry_evpd_85() 1059 plen = ((plen / 4) + 1) * 4; in inquiry_evpd_85() 1060 arr[num++] = plen; /* length, null termianted, padded */ in inquiry_evpd_85() 1062 memset(arr + num + olen, 0, plen - olen); in inquiry_evpd_85() 1063 num += plen; in inquiry_evpd_85() 1069 plen = olen + 1; in inquiry_evpd_85() 1070 if (plen % 4) in inquiry_evpd_85() 1071 plen = ((plen / 4) + 1) * 4; in inquiry_evpd_85() [all …]
|
/linux-4.1.27/net/dccp/ |
D | feat.c | 1211 u8 *plist, plen, type = dccp_feat_type(feat); in dccp_feat_confirm_recv() local 1264 plen = len; in dccp_feat_confirm_recv() 1267 plen = len - 1; in dccp_feat_confirm_recv() 1271 if (dccp_feat_reconcile(&entry->val, plist, plen, server, 0) != *val) { in dccp_feat_confirm_recv()
|
/linux-4.1.27/include/net/ |
D | ip6_fib.h | 89 int plen; member
|
D | ipv6.h | 390 int plen) in ipv6_addr_prefix() argument 393 int o = plen >> 3, in ipv6_addr_prefix() 394 b = plen & 0x7; in ipv6_addr_prefix()
|
/linux-4.1.27/fs/ceph/ |
D | mds_client.h | 389 extern char *ceph_mdsc_build_path(struct dentry *dentry, int *plen, u64 *base,
|
D | file.c | 747 size_t plen = min_t(size_t, left, PAGE_SIZE); in ceph_sync_write() local 748 ret = copy_page_from_iter(pages[n], 0, plen, from); in ceph_sync_write() 749 if (ret != plen) { in ceph_sync_write()
|
D | mds_client.c | 1719 char *ceph_mdsc_build_path(struct dentry *dentry, int *plen, u64 *base, in ceph_mdsc_build_path() argument 1794 *plen = len; in ceph_mdsc_build_path()
|
/linux-4.1.27/drivers/scsi/cxgbi/cxgb4i/ |
D | cxgb4i.c | 599 req->plen = htonl(len); in make_tx_data_wr() 1097 unsigned int hlen, dlen, plen; in do_rx_iscsi_hdr() local 1116 plen = ISCSI_PDU_LEN_G(pdu_len_ddp); in do_rx_iscsi_hdr() 1118 plen -= 40; in do_rx_iscsi_hdr() 1120 if ((hlen + dlen) != plen) { in do_rx_iscsi_hdr() 1123 csk->tid, plen, hlen, dlen, in do_rx_iscsi_hdr()
|
/linux-4.1.27/include/linux/ceph/ |
D | osd_client.h | 356 u64 off, u64 *plen,
|
/linux-4.1.27/net/phonet/ |
D | pep.c | 57 static unsigned char *pep_get_sb(struct sk_buff *skb, u8 *ptype, u8 *plen, in pep_get_sb() argument 65 int buflen = *plen; in pep_get_sb() 72 *plen = ph->sb_len; in pep_get_sb()
|
/linux-4.1.27/drivers/ata/ |
D | libata-scsi.c | 1454 static void scsi_6_lba_len(const u8 *cdb, u64 *plba, u32 *plen) in scsi_6_lba_len() argument 1468 *plen = len; in scsi_6_lba_len() 1481 static void scsi_10_lba_len(const u8 *cdb, u64 *plba, u32 *plen) in scsi_10_lba_len() argument 1497 *plen = len; in scsi_10_lba_len() 1510 static void scsi_16_lba_len(const u8 *cdb, u64 *plba, u32 *plen) in scsi_16_lba_len() argument 1532 *plen = len; in scsi_16_lba_len()
|
/linux-4.1.27/net/sched/ |
D | sch_fq.c | 494 u32 plen = max(qdisc_pkt_len(skb), q->quantum); in fq_dequeue() local 495 u64 len = (u64)plen * NSEC_PER_SEC; in fq_dequeue()
|
/linux-4.1.27/drivers/net/ |
D | vxlan.c | 555 size_t start, offset, plen; in vxlan_gro_remcsum() local 568 plen = hdrlen + offset + sizeof(u16); in vxlan_gro_remcsum() 571 if (skb_gro_header_hard(skb, off + plen)) { in vxlan_gro_remcsum() 572 vh = skb_gro_header_slow(skb, off + plen, off); in vxlan_gro_remcsum() 1144 size_t start, offset, plen; in vxlan_remcsum() local 1151 plen = hdrlen + offset + sizeof(u16); in vxlan_remcsum() 1153 if (!pskb_may_pull(skb, plen)) in vxlan_remcsum()
|
/linux-4.1.27/drivers/staging/media/davinci_vpfe/ |
D | davinci_vpfe_user.h | 464 struct vpfe_isif_fmtplen plen; member
|
/linux-4.1.27/include/net/bluetooth/ |
D | hci_core.h | 1284 struct sk_buff *__hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen, 1286 struct sk_buff *__hci_cmd_sync_ev(struct hci_dev *hdev, u16 opcode, u32 plen, 1289 int hci_send_cmd(struct hci_dev *hdev, __u16 opcode, __u32 plen,
|
D | hci.h | 1948 __u8 plen; member 1953 __u8 plen; member
|
/linux-4.1.27/net/openvswitch/ |
D | datapath.c | 492 size_t plen = NLA_ALIGN(user_skb->len) - user_skb->len; in queue_userspace_packet() local 494 if (plen > 0) in queue_userspace_packet() 495 memset(skb_put(user_skb, plen), 0, plen); in queue_userspace_packet()
|
/linux-4.1.27/arch/cris/arch-v32/drivers/ |
D | cryptocop.c | 378 size_t plen; in create_pad_descriptor() local 391 error = create_md5_pad(alloc_flag, tc->consumed, &pad, &plen); in create_pad_descriptor() 402 error = create_sha1_pad(alloc_flag, tc->consumed, &pad, &plen); in create_pad_descriptor() 415 plen = 1; in create_pad_descriptor() 418 plen = 0; in create_pad_descriptor() 426 cdesc->dma_descr->after = cdesc->dma_descr->buf + plen; in create_pad_descriptor()
|
/linux-4.1.27/drivers/usb/gadget/udc/ |
D | gr_udc.c | 100 int plen = min(rowlen, buflen); in gr_dbgprint_request() local 103 (buflen > plen ? " (truncated)" : "")); in gr_dbgprint_request() 105 rowlen, 4, req->req.buf, plen, false); in gr_dbgprint_request()
|
/linux-4.1.27/Documentation/security/ |
D | keys.txt | 398 const void *payload, size_t plen, 418 the type. The payload is plen in size, and plen can be zero for an empty 490 size_t plen); 497 The payload is of length plen, and may be absent or empty as for 656 const void *payload, size_t plen, 674 The payload and plen arguments describe the payload data as for add_key().
|
/linux-4.1.27/lib/ |
D | bch.c | 1084 const int plen = DIV_ROUND_UP(bch->ecc_bits+1, 32); in build_mod8_tables() local 1101 lo = (j+1 < plen) ? in build_mod8_tables()
|
/linux-4.1.27/fs/nfsd/ |
D | nfs4proc.c | 1687 u32 plen = opdesc->op_rsize_bop(rqstp, op); in nfsd4_proc_compound() local 1693 plen += COMPOUND_ERR_SLACK_SPACE; in nfsd4_proc_compound() 1694 op->status = nfsd4_check_resp_size(resp, plen); in nfsd4_proc_compound()
|
/linux-4.1.27/mm/ |
D | shmem.c | 1707 unsigned int plen; in shmem_file_splice_read() local 1709 plen = ((isize - 1) & ~PAGE_CACHE_MASK) + 1; in shmem_file_splice_read() 1710 if (plen <= loff) in shmem_file_splice_read() 1713 this_len = min(this_len, plen - loff); in shmem_file_splice_read()
|
/linux-4.1.27/drivers/isdn/hardware/eicon/ |
D | debug.c | 1337 byte *plen; in SuperTraceCreateReadReq() local 1342 plen = P++; in SuperTraceCreateReadReq() 1351 *plen = var_length + 0x06; in SuperTraceCreateReadReq()
|
/linux-4.1.27/include/video/ |
D | omapdss.h | 687 int channel, u16 plen);
|
/linux-4.1.27/drivers/isdn/i4l/ |
D | isdn_net.c | 1900 const void *daddr, const void *saddr, unsigned plen) in isdn_net_header() argument 1908 len = eth_header(skb, dev, type, daddr, saddr, plen); in isdn_net_header()
|
/linux-4.1.27/security/selinux/ |
D | hooks.c | 2482 static inline int match_prefix(char *prefix, int plen, char *option, int olen) in match_prefix() argument 2484 if (plen > olen) in match_prefix() 2487 return !memcmp(prefix, option, plen); in match_prefix()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4fw_api.h | 584 __be32 plen; member
|