Searched refs:plen (Results 51 - 75 of 221) sorted by last modified time

123456789

/linux-master/drivers/bluetooth/
H A Dbtrtl.c1135 cmd->plen = 0;
H A Dbtqca.c524 hdr->plen = sizeof(*evt) + 1;
H A Dbtmrvl_main.c174 hdr->plen = len;
H A Dbtintel_pcie.c375 u16 plen; local
396 plen = HCI_ACL_HDR_SIZE + __le16_to_cpu(hci_acl_hdr(skb)->dlen);
407 plen = HCI_SCO_HDR_SIZE + hci_sco_hdr(skb)->dlen;
418 plen = HCI_EVENT_HDR_SIZE + hci_event_hdr(skb)->plen;
433 if (skb->len < plen) {
440 bt_dev_dbg(hdev, "pkt_type: 0x%2.2x len: %u", pkt_type, plen);
442 new_skb = bt_skb_alloc(plen, GFP_ATOMIC);
451 skb_put_data(new_skb, skb->data, plen);
452 hdev->stat.byte_rx += plen;
[all...]
H A Dbtintel.c347 static int btintel_secure_send(struct hci_dev *hdev, u8 fragment_type, u32 plen, argument
350 while (plen > 0) {
352 u8 cmd_param[253], fragment_len = (plen > 252) ? 252 : plen;
364 plen -= fragment_len;
781 int plen = sizeof(*cp) + val_size; local
802 cp = kmalloc(plen, GFP_KERNEL);
814 skb = hci_cmd_sync(ctx->hdev, ctx->op_write, plen, cp, HCI_CMD_TIMEOUT);
1037 frag_len += sizeof(*cmd) + cmd->plen;
1100 fw_ptr += sizeof(*cmd) + cmd->plen;
[all...]
H A Dhci_qca.c128 __u8 plen; member in struct:qca_memdump_event_hdr
/linux-master/drivers/ata/
H A Dlibata-scsi.c1296 * @plen: the transfer length
1298 static void scsi_6_lba_len(const u8 *cdb, u64 *plba, u32 *plen) argument
1310 *plen = len;
1321 * @plen: the transfer length
1323 static inline void scsi_10_lba_len(const u8 *cdb, u64 *plba, u32 *plen) argument
1326 *plen = get_unaligned_be16(&cdb[7]);
1337 * @plen: the transfer length
1339 static inline void scsi_16_lba_len(const u8 *cdb, u64 *plba, u32 *plen) argument
1342 *plen = get_unaligned_be32(&cdb[10]);
/linux-master/crypto/
H A Dtestmgr.h96 * @plen: Length of @ptext in bytes
116 unsigned int plen; member in struct:aead_testvec
15295 .plen = 64,
15321 .plen = 16,
15341 .plen = 64,
15367 .plen = 60,
15397 .plen = 60,
15509 .plen = 719,
15621 .plen = 64,
15648 .plen
[all...]
H A Dtestmgr.c2034 const unsigned int authsize = vec->clen - vec->plen;
2094 input[1].iov_len = enc ? vec->plen : vec->clen;
2096 vec->alen + (enc ? vec->plen :
2099 vec->plen),
2111 enc ? vec->plen : vec->clen, iv);
2121 if (req->cryptlen != (enc ? vec->plen : vec->clen) ||
2132 if (req->cryptlen != (enc ? vec->plen : vec->clen))
2192 enc ? vec->clen : vec->plen,
2279 const unsigned int authsize = vec->clen - vec->plen;
2290 flip_random_bit(rng, (u8 *)vec->ctext + vec->plen, authsiz
[all...]
/linux-master/net/nfc/nci/
H A Dcore.c172 u8 plen = 0; local
175 plen = sizeof(struct nci_core_init_v2_cmd);
177 nci_send_cmd(ndev, NCI_OP_CORE_INIT_CMD, plen, opt);
1361 int nci_send_cmd(struct nci_dev *ndev, __u16 opcode, __u8 plen, const void *payload) argument
1366 pr_debug("opcode 0x%x, plen %d\n", opcode, plen);
1368 skb = nci_skb_alloc(ndev, (NCI_CTRL_HDR_SIZE + plen), GFP_KERNEL);
1377 hdr->plen = plen;
1382 if (plen)
[all...]
/linux-master/net/ipv6/
H A Dfib6_rules.c36 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/drivers/nvme/target/
H A Dtcp.c340 len = le32_to_cpu(hdr->plen) - hdr->hlen -
468 pdu->hdr.plen =
499 pdu->hdr.plen = cpu_to_le32(pdu->hdr.hlen + hdgst);
524 pdu->hdr.plen = cpu_to_le32(pdu->hdr.hlen + hdgst);
898 if (le32_to_cpu(icreq->hdr.plen) != sizeof(struct nvme_tcp_icreq_pdu)) {
900 le32_to_cpu(icreq->hdr.plen));
928 icresp->hdr.plen = cpu_to_le32(icresp->hdr.hlen);
1005 exp_data_len = le32_to_cpu(data->hdr.plen) -
1777 pr_debug("queue %d: hdr type %d hlen %d plen %d size %d\n",
1778 queue->idx, hdr->type, hdr->hlen, hdr->plen,
[all...]
/linux-master/drivers/nvme/host/
H A Dtcp.c490 len = le32_to_cpu(hdr->plen) - hdr->hlen -
691 data->hdr.plen =
1409 icreq->hdr.plen = cpu_to_le32(icreq->hdr.hlen);
1458 if (le32_to_cpu(icresp->hdr.plen) != sizeof(*icresp)) {
1460 nvme_tcp_queue_id(queue), icresp->hdr.plen);
2414 pdu->hdr.plen = cpu_to_le32(pdu->hdr.hlen + hdgst);
2537 pdu->hdr.plen =
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dsge.c1475 wr->u.udpseg.plen = cpu_to_be32(skb->len - hdr_len);
2230 wr->u.tcpseg.plen = cpu_to_be32(skb->len - hdr_len);
/linux-master/fs/smb/client/
H A Dfs_context.c528 size_t ulen, plen; local
532 plen = ctx->prepath ? strlen(ctx->prepath) + 1 : 0;
534 s = kmalloc(ulen + plen + 1, GFP_KERNEL);
538 if (plen) {
540 memcpy(s + ulen + 1, ctx->prepath, plen);
542 s[ulen + plen] = '\0';
H A Dsmb1ops.c1003 u32 plen = le16_to_cpu(io->ByteCount); local
1007 return parse_reparse_point(buf, plen, cifs_sb, unicode, data);
H A Ddfs_cache.c79 int plen = 0; local
86 tmp = (char *)cifs_strndup_to_utf16(path, strlen(path), &plen, cp, remap);
92 npath = cifs_strndup_from_utf16(tmp, plen, true, cache_cp);
/linux-master/net/ipv4/
H A Dfib_frontend.c475 int plen; local
491 plen = 32;
504 plen = inet_mask_len(mask);
507 cfg->fc_dst_len = plen;
/linux-master/fs/ceph/
H A Dmds_client.h593 struct dentry *dentry, int *plen, u64 *base,
H A Dmds_client.c2628 static u8 *get_fscrypt_altname(const struct ceph_mds_request *req, u32 *plen) argument
2674 *plen = len;
2678 static u8 *get_fscrypt_altname(const struct ceph_mds_request *req, u32 *plen) argument
2680 *plen = 0;
2689 * @plen: returned length of string
2708 int *plen, u64 *pbase, int for_wire)
2820 *plen = PATH_MAX - 1 - pos;
2822 base, *plen, path + pos);
2707 ceph_mdsc_build_path(struct ceph_mds_client *mdsc, struct dentry *dentry, int *plen, u64 *pbase, int for_wire) argument
H A Dfile.c1148 size_t plen, copied; local
1150 plen = min_t(size_t, left, PAGE_SIZE - page_off);
1153 page_off, plen, to);
1157 if (copied < plen) {
1915 size_t plen = min_t(size_t, left, PAGE_SIZE - off); local
1918 ret = copy_page_from_iter(pages[n], off, plen, from);
1919 if (ret != plen) {
/linux-master/net/bluetooth/
H A Dhci_request.c214 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/include/net/
H A Daddrconf.h74 unsigned int plen; member in struct:ifa6_config
/linux-master/tools/testing/selftests/net/
H A Dtest_vxlan_mdb.sh1177 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/fs/ubifs/
H A Djournal.c1187 int err, dlen1, dlen2, lnum, offs, len, plen = UBIFS_INO_NODE_SZ; local
1206 len = aligned_dlen1 + aligned_dlen2 + ALIGN(plen, 8);
1208 len += plen;
1263 p += ALIGN(plen, 8);
1297 err = ubifs_tnc_add(c, &key, lnum, offs, plen, hash_p1);
1302 offs += ALIGN(plen, 8);
1304 err = ubifs_tnc_add(c, &key, lnum, offs, plen, hash_p2);
1357 int aligned_dlen1, aligned_dlen2, plen = UBIFS_INO_NODE_SZ; local
1397 ALIGN(wlen, 8) + ALIGN(plen, 8);
1399 len += plen;
[all...]

Completed in 678 milliseconds

123456789