Lines Matching defs:context
843 "assemble SMB2_PREAUTH_INTEGRITY_CAPABILITIES context\n");
852 "assemble SMB2_ENCRYPTION_CAPABILITIES context\n");
860 /* compression context not yet supported */
866 "assemble SMB2_POSIX_EXTENSIONS_AVAILABLE context\n");
876 "assemble SMB2_SIGNING_CAPABILITIES context\n");
915 pr_err("Invalid SMB2_ENCRYPTION_CAPABILITIES context size\n");
979 pr_err("Invalid SMB2_SIGNING_CAPABILITIES context length\n");
1019 ksmbd_debug(SMB, "Invalid response: negotiate context offset\n");
1040 "deassemble SMB2_PREAUTH_INTEGRITY_CAPABILITIES context\n");
1051 "deassemble SMB2_ENCRYPTION_CAPABILITIES context\n");
1060 "deassemble SMB2_COMPRESSION_CAPABILITIES context\n");
1068 "deassemble SMB2_NETNAME_NEGOTIATE_CONTEXT_ID context\n");
1071 "deassemble SMB2_POSIX_EXTENSIONS_AVAILABLE context\n");
1075 "deassemble SMB2_SIGNING_CAPABILITIES context\n");
1236 ksmbd_debug(SMB, "negotiate context offset %d, count %d\n",
2601 struct create_context *context;
2608 context = smb2_find_context_vals(req, SMB2_CREATE_SD_BUFFER, 4);
2609 if (!context)
2611 else if (IS_ERR(context))
2612 return PTR_ERR(context);
2615 "Set ACLs using SMB2_CREATE_SD_BUFFER context\n");
2616 sd_buf = (struct create_sd_buf_req *)context;
2617 if (le16_to_cpu(context->DataOffset) +
2618 le32_to_cpu(context->DataLength) <
2664 struct create_context *context;
2807 context = smb2_find_context_vals(req, SMB2_CREATE_EA_BUFFER, 4);
2808 if (IS_ERR(context)) {
2809 rc = PTR_ERR(context);
2811 } else if (context) {
2812 ea_buf = (struct create_ea_buf_req *)context;
2813 if (le16_to_cpu(context->DataOffset) +
2814 le32_to_cpu(context->DataLength) <
2826 context = smb2_find_context_vals(req,
2828 if (IS_ERR(context)) {
2829 rc = PTR_ERR(context);
2831 } else if (context) {
2833 "get query maximal access context\n");
2837 context = smb2_find_context_vals(req,
2839 if (IS_ERR(context)) {
2840 rc = PTR_ERR(context);
2842 } else if (context) {
2843 ksmbd_debug(SMB, "get timewarp context\n");
2849 context = smb2_find_context_vals(req,
2851 if (IS_ERR(context)) {
2852 rc = PTR_ERR(context);
2854 } else if (context) {
2856 (struct create_posix *)context;
2857 if (le16_to_cpu(context->DataOffset) +
2858 le32_to_cpu(context->DataLength) <
2863 ksmbd_debug(SMB, "get posix context\n");
3291 context = smb2_find_context_vals(req, SMB2_CREATE_QUERY_ON_DISK_ID, 4);
3292 if (IS_ERR(context)) {
3293 rc = PTR_ERR(context);
3295 } else if (context) {
3296 ksmbd_debug(SMB, "get query on disk id context\n");
3348 /* If lease is request send lease context response */