Searched refs:p_len (Results 1 - 12 of 12) sorted by relevance

/linux-4.4.14/drivers/net/fddi/skfp/
H A Dess.c501 chg->s_type.para.p_len = sizeof(struct smt_p_0015) - PARA_LEN ; ess_send_response()
506 chg->cmd.para.p_len = sizeof(struct smt_p_0016) - PARA_LEN ; ess_send_response()
511 chg->path.para.p_len = sizeof(struct smt_p_320b) - PARA_LEN ; ess_send_response()
518 chg->payload.para.p_len = sizeof(struct smt_p_320f) - PARA_LEN ; ess_send_response()
524 chg->overhead.para.p_len = sizeof(struct smt_p_3210) - PARA_LEN ; ess_send_response()
531 chg->cat.para.p_len = sizeof(struct smt_p_001a) - PARA_LEN ; ess_send_response()
592 req->s_type.para.p_len = sizeof(struct smt_p_0015) - PARA_LEN ; ess_send_alc_req()
597 req->cmd.para.p_len = sizeof(struct smt_p_0016) - PARA_LEN ; ess_send_alc_req()
607 req->path.para.p_len = sizeof(struct smt_p_320b) - PARA_LEN ; ess_send_alc_req()
614 req->pl_req.para.p_len = sizeof(struct smt_p_0017) - PARA_LEN ; ess_send_alc_req()
620 req->ov_req.para.p_len = sizeof(struct smt_p_0018) - PARA_LEN ; ess_send_alc_req()
626 req->payload.para.p_len = sizeof(struct smt_p_320f) - PARA_LEN ; ess_send_alc_req()
632 req->overhead.para.p_len = sizeof(struct smt_p_3210) - PARA_LEN ; ess_send_alc_req()
638 req->a_addr.para.p_len = sizeof(struct smt_p_0019) - PARA_LEN ; ess_send_alc_req()
644 req->cat.para.p_len = sizeof(struct smt_p_001a) - PARA_LEN ; ess_send_alc_req()
649 req->tneg.para.p_len = sizeof(struct smt_p_001b) - PARA_LEN ; ess_send_alc_req()
654 req->segm.para.p_len = sizeof(struct smt_p_001c) - PARA_LEN ; ess_send_alc_req()
H A Dpmf.c378 if (((u_short)len < pa->p_len + PARA_LEN) || (pa->p_len & 3)) { smt_build_pmf_response()
390 if (!set && (pa->p_len != 4)) { smt_build_pmf_response()
419 if (!set && (pa->p_len != 0)) { smt_build_pmf_response()
475 len -= pa->p_len + PARA_LEN ; smt_build_pmf_response()
476 pa = (struct smt_para *) ((char *)pa + pa->p_len + PARA_LEN) ; smt_build_pmf_response()
526 if (pa->p_len != 8) smt_authorize()
1052 pa->p_len = plen - len - PARA_LEN ; smt_add_para()
1101 len = pa->p_len ; smt_set_para()
1597 printf("TYPE %x LEN %x VALUE\t",pa->p_type,pa->p_len) ; dump_smt()
1599 printf("TYPE %04x LEN %2x VALUE\t",pa->p_type,pa->p_len) ; dump_smt()
1601 n = pa->p_len ; dump_smt()
1640 plen = (pa->p_len + PARA_LEN + 3) & ~3 ; dump_smt()
H A Dsmt.c890 rdf->reason.para.p_len = sizeof(struct smt_p_reason) - PARA_LEN ; smt_send_rdf()
895 rdf->version.para.p_len = sizeof(struct smt_p_version) - PARA_LEN ; smt_send_rdf()
913 rdf->refused.para.p_len = len + 4 ; smt_send_rdf()
1352 path->para.p_len = len - PARA_LEN ; smt_fill_path()
1538 echo->para.p_len = len ; smt_fill_echo()
1678 plen = ((struct smt_para *)p)->p_len + PARA_LEN ; sm_to_para()
1847 plen = pa->p_len ; smt_swap_para()
1850 pa->p_len = smt_swap_short(pa->p_len) ; smt_swap_para()
1852 plen = pa->p_len ; smt_swap_para()
/linux-4.4.14/drivers/net/ethernet/tile/
H A Dtilegx.c1681 unsigned int p_len = sh->gso_size; tso_count_edescs() local
1694 for (num_edescs++; p_used < p_len; num_edescs++) { tso_count_edescs()
1704 n = p_len - p_used; tso_count_edescs()
1712 data_len -= p_len; tso_count_edescs()
1713 if (data_len < p_len) tso_count_edescs()
1714 p_len = data_len; tso_count_edescs()
1731 unsigned int ih_off, th_off, p_len; tso_headers_prepare() local
1757 p_len = sh->gso_size; tso_headers_prepare()
1775 ih6->payload_len = htons(sh_len + p_len - ih_off - tso_headers_prepare()
1779 ih->tot_len = htons(sh_len + p_len - ih_off); tso_headers_prepare()
1788 th->check = csum_long(tsum_seed + htons(sh_len + p_len)); tso_headers_prepare()
1798 while (p_used < p_len) { tso_headers_prepare()
1808 n = p_len - p_used; tso_headers_prepare()
1817 seq += p_len; tso_headers_prepare()
1820 data_len -= p_len; tso_headers_prepare()
1821 if (data_len < p_len) tso_headers_prepare()
1822 p_len = data_len; tso_headers_prepare()
1838 unsigned int p_len = sh->gso_size; tso_egress() local
1874 while (p_used < p_len) { tso_egress()
1888 n = p_len - p_used; tso_egress()
1897 edesc_body.bound = !(p_used < p_len); tso_egress()
1903 tx_bytes += sh_len + p_len; tso_egress()
1906 data_len -= p_len; tso_egress()
1907 if (data_len < p_len) tso_egress()
1908 p_len = data_len; tso_egress()
H A Dtilepro.c1705 unsigned int p_len = sh->gso_size; tile_net_tx_tso() local
1727 .payload_size = p_len, tile_net_tx_tso()
1748 /*--BUG_ON(num_segs != (d_len + (p_len - 1)) / p_len); */ tile_net_tx_tso()
/linux-4.4.14/fs/f2fs/
H A Dnamei.c335 size_t p_len; f2fs_symlink() local
378 p_len = encrypted_symlink_data_len(disk_link.len) + 1; f2fs_symlink()
380 if (p_len > dir->i_sb->s_blocksize) { f2fs_symlink()
385 sd = kzalloc(p_len, GFP_NOFS); f2fs_symlink()
394 p_len = len + 1; f2fs_symlink()
398 err = page_symlink(inode, p_str, p_len); f2fs_symlink()
414 filemap_write_and_wait_range(inode->i_mapping, 0, p_len - 1); f2fs_symlink()
/linux-4.4.14/drivers/s390/crypto/
H A Dzcrypt_cca_key.h99 * (p_len + q_len + dp_len + dq_len + u_len).
111 unsigned short p_len; member in struct:cca_pvt_ext_CRT_sec
318 key->pvt.p_len = key->pvt.dp_len = key->pvt.u_len = long_len; zcrypt_type6_crt_key()
/linux-4.4.14/fs/btrfs/
H A Dsysfs.c373 size_t p_len; btrfs_label_store() local
379 * p_len is the len until the first occurrence of either btrfs_label_store()
382 p_len = strcspn(buf, "\n"); btrfs_label_store()
384 if (p_len >= BTRFS_LABEL_SIZE) btrfs_label_store()
389 memcpy(fs_info->super_copy->label, buf, p_len); btrfs_label_store()
/linux-4.4.14/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_queues.c920 unsigned int p_len = sh->gso_size; nicvf_tso_count_subdescs() local
932 for (num_edescs++; p_used < p_len; num_edescs++) { nicvf_tso_count_subdescs()
941 n = p_len - p_used; nicvf_tso_count_subdescs()
949 data_len -= p_len; nicvf_tso_count_subdescs()
950 if (data_len < p_len) nicvf_tso_count_subdescs()
951 p_len = data_len; nicvf_tso_count_subdescs()
/linux-4.4.14/drivers/net/fddi/skfp/h/
H A Dsmt.h109 u_short p_len ; /* length of parameter */ member in struct:smt_para
115 (p)->para.p_len = sizeof(*(p)) - PARA_LEN
/linux-4.4.14/drivers/staging/rdma/amso1100/
H A Dc2_qp.c658 move_sgl(struct c2_data_addr * dst, struct ib_sge *src, int count, u32 * p_len, move_sgl() argument
705 *p_len = tot; move_sgl()
/linux-4.4.14/tools/perf/
H A Dbuiltin-timechart.c478 size_t p_len; cat_backtrace() local
482 FILE *f = open_memstream(&p, &p_len); cat_backtrace()

Completed in 591 milliseconds