Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/fddi/skfp/
Dess.c501 chg->s_type.para.p_len = sizeof(struct smt_p_0015) - PARA_LEN ; in ess_send_response()
506 chg->cmd.para.p_len = sizeof(struct smt_p_0016) - PARA_LEN ; in ess_send_response()
511 chg->path.para.p_len = sizeof(struct smt_p_320b) - PARA_LEN ; in ess_send_response()
518 chg->payload.para.p_len = sizeof(struct smt_p_320f) - PARA_LEN ; in ess_send_response()
524 chg->overhead.para.p_len = sizeof(struct smt_p_3210) - PARA_LEN ; in ess_send_response()
531 chg->cat.para.p_len = sizeof(struct smt_p_001a) - PARA_LEN ; in ess_send_response()
592 req->s_type.para.p_len = sizeof(struct smt_p_0015) - PARA_LEN ; in ess_send_alc_req()
597 req->cmd.para.p_len = sizeof(struct smt_p_0016) - PARA_LEN ; in ess_send_alc_req()
607 req->path.para.p_len = sizeof(struct smt_p_320b) - PARA_LEN ; in ess_send_alc_req()
614 req->pl_req.para.p_len = sizeof(struct smt_p_0017) - PARA_LEN ; in ess_send_alc_req()
[all …]
Dpmf.c378 if (((u_short)len < pa->p_len + PARA_LEN) || (pa->p_len & 3)) { in smt_build_pmf_response()
390 if (!set && (pa->p_len != 4)) { in smt_build_pmf_response()
419 if (!set && (pa->p_len != 0)) { in smt_build_pmf_response()
475 len -= pa->p_len + PARA_LEN ; in smt_build_pmf_response()
476 pa = (struct smt_para *) ((char *)pa + pa->p_len + PARA_LEN) ; in smt_build_pmf_response()
526 if (pa->p_len != 8) in smt_authorize()
1052 pa->p_len = plen - len - PARA_LEN ; in smt_add_para()
1101 len = pa->p_len ; in smt_set_para()
1597 printf("TYPE %x LEN %x VALUE\t",pa->p_type,pa->p_len) ; in dump_smt()
1599 printf("TYPE %04x LEN %2x VALUE\t",pa->p_type,pa->p_len) ; in dump_smt()
[all …]
Dsmt.c890 rdf->reason.para.p_len = sizeof(struct smt_p_reason) - PARA_LEN ; in smt_send_rdf()
895 rdf->version.para.p_len = sizeof(struct smt_p_version) - PARA_LEN ; in smt_send_rdf()
913 rdf->refused.para.p_len = len + 4 ; in smt_send_rdf()
1352 path->para.p_len = len - PARA_LEN ; in smt_fill_path()
1538 echo->para.p_len = len ; in smt_fill_echo()
1678 plen = ((struct smt_para *)p)->p_len + PARA_LEN ; in sm_to_para()
1847 plen = pa->p_len ; in smt_swap_para()
1850 pa->p_len = smt_swap_short(pa->p_len) ; in smt_swap_para()
1852 plen = pa->p_len ; in smt_swap_para()
/linux-4.4.14/drivers/net/ethernet/tile/
Dtilegx.c1681 unsigned int p_len = sh->gso_size; in tso_count_edescs() local
1694 for (num_edescs++; p_used < p_len; num_edescs++) { in tso_count_edescs()
1704 n = p_len - p_used; in tso_count_edescs()
1712 data_len -= p_len; in tso_count_edescs()
1713 if (data_len < p_len) in tso_count_edescs()
1714 p_len = data_len; in tso_count_edescs()
1731 unsigned int ih_off, th_off, p_len; in tso_headers_prepare() local
1757 p_len = sh->gso_size; in tso_headers_prepare()
1775 ih6->payload_len = htons(sh_len + p_len - ih_off - in tso_headers_prepare()
1779 ih->tot_len = htons(sh_len + p_len - ih_off); in tso_headers_prepare()
[all …]
Dtilepro.c1705 unsigned int p_len = sh->gso_size; in tile_net_tx_tso() local
1727 .payload_size = p_len, in tile_net_tx_tso()
/linux-4.4.14/fs/f2fs/
Dnamei.c335 size_t p_len; in f2fs_symlink() local
378 p_len = encrypted_symlink_data_len(disk_link.len) + 1; in f2fs_symlink()
380 if (p_len > dir->i_sb->s_blocksize) { in f2fs_symlink()
385 sd = kzalloc(p_len, GFP_NOFS); in f2fs_symlink()
394 p_len = len + 1; in f2fs_symlink()
398 err = page_symlink(inode, p_str, p_len); in f2fs_symlink()
414 filemap_write_and_wait_range(inode->i_mapping, 0, p_len - 1); in f2fs_symlink()
/linux-4.4.14/drivers/s390/crypto/
Dzcrypt_cca_key.h111 unsigned short p_len; member
318 key->pvt.p_len = key->pvt.dp_len = key->pvt.u_len = long_len; in zcrypt_type6_crt_key()
/linux-4.4.14/fs/btrfs/
Dsysfs.c373 size_t p_len; in btrfs_label_store() local
382 p_len = strcspn(buf, "\n"); in btrfs_label_store()
384 if (p_len >= BTRFS_LABEL_SIZE) in btrfs_label_store()
389 memcpy(fs_info->super_copy->label, buf, p_len); in btrfs_label_store()
/linux-4.4.14/drivers/net/ethernet/cavium/thunder/
Dnicvf_queues.c920 unsigned int p_len = sh->gso_size; in nicvf_tso_count_subdescs() local
932 for (num_edescs++; p_used < p_len; num_edescs++) { in nicvf_tso_count_subdescs()
941 n = p_len - p_used; in nicvf_tso_count_subdescs()
949 data_len -= p_len; in nicvf_tso_count_subdescs()
950 if (data_len < p_len) in nicvf_tso_count_subdescs()
951 p_len = data_len; in nicvf_tso_count_subdescs()
/linux-4.4.14/drivers/net/fddi/skfp/h/
Dsmt.h109 u_short p_len ; /* length of parameter */ member
115 (p)->para.p_len = sizeof(*(p)) - PARA_LEN
/linux-4.4.14/drivers/staging/rdma/amso1100/
Dc2_qp.c658 move_sgl(struct c2_data_addr * dst, struct ib_sge *src, int count, u32 * p_len, in move_sgl() argument
705 *p_len = tot; in move_sgl()
/linux-4.4.14/tools/perf/
Dbuiltin-timechart.c478 size_t p_len; in cat_backtrace() local
482 FILE *f = open_memstream(&p, &p_len); in cat_backtrace()