Searched refs:nrep (Results 1 – 2 of 2) sorted by relevance
489 struct smbdirect_negotiate_resp *nrep; in smbdirect_accept_negotiate_finish() local536 nrep = (struct smbdirect_negotiate_resp *)send_io->packet; in smbdirect_accept_negotiate_finish()537 nrep->min_version = cpu_to_le16(SMBDIRECT_V1); in smbdirect_accept_negotiate_finish()538 nrep->max_version = cpu_to_le16(SMBDIRECT_V1); in smbdirect_accept_negotiate_finish()540 nrep->negotiated_version = cpu_to_le16(SMBDIRECT_V1); in smbdirect_accept_negotiate_finish()541 nrep->reserved = 0; in smbdirect_accept_negotiate_finish()542 nrep->credits_requested = cpu_to_le16(sp->send_credit_target); in smbdirect_accept_negotiate_finish()543 nrep->credits_granted = cpu_to_le16(new_credits); in smbdirect_accept_negotiate_finish()544 nrep->status = cpu_to_le32(ntstatus); in smbdirect_accept_negotiate_finish()545 nrep->max_readwrite_size = cpu_to_le32(sp->max_read_write_size); in smbdirect_accept_negotiate_finish()[all …]
656 struct smbdirect_negotiate_resp *nrep; in smbdirect_connect_negotiate_recv_work() local710 nrep = (struct smbdirect_negotiate_resp *)recv_io->packet; in smbdirect_connect_negotiate_recv_work()711 negotiated_version = le16_to_cpu(nrep->negotiated_version); in smbdirect_connect_negotiate_recv_work()712 credits_requested = le16_to_cpu(nrep->credits_requested); in smbdirect_connect_negotiate_recv_work()713 credits_granted = le16_to_cpu(nrep->credits_granted); in smbdirect_connect_negotiate_recv_work()714 status = le32_to_cpu(nrep->status); in smbdirect_connect_negotiate_recv_work()715 max_readwrite_size = le32_to_cpu(nrep->max_readwrite_size); in smbdirect_connect_negotiate_recv_work()716 preferred_send_size = le32_to_cpu(nrep->preferred_send_size); in smbdirect_connect_negotiate_recv_work()717 max_receive_size = le32_to_cpu(nrep->max_receive_size); in smbdirect_connect_negotiate_recv_work()718 max_fragmented_size = le32_to_cpu(nrep->max_fragmented_size); in smbdirect_connect_negotiate_recv_work()[all …]