Lines Matching refs:cc
1486 struct create_context *cc; in parse_lease_state() local
1490 cc = smb2_find_context_vals(req, SMB2_CREATE_REQUEST_LEASE, 4); in parse_lease_state()
1491 if (IS_ERR_OR_NULL(cc)) in parse_lease_state()
1498 if (sizeof(struct lease_context_v2) == le32_to_cpu(cc->DataLength)) { in parse_lease_state()
1499 struct create_lease_v2 *lc = (struct create_lease_v2 *)cc; in parse_lease_state()
1501 if (le16_to_cpu(cc->DataOffset) + le32_to_cpu(cc->DataLength) < in parse_lease_state()
1515 struct create_lease *lc = (struct create_lease *)cc; in parse_lease_state()
1517 if (le16_to_cpu(cc->DataOffset) + le32_to_cpu(cc->DataLength) < in parse_lease_state()
1544 struct create_context *cc; in smb2_find_context_vals() local
1555 cc = (struct create_context *)((char *)req + in smb2_find_context_vals()
1559 cc = (struct create_context *)((char *)cc + next); in smb2_find_context_vals()
1563 next = le32_to_cpu(cc->Next); in smb2_find_context_vals()
1564 name_off = le16_to_cpu(cc->NameOffset); in smb2_find_context_vals()
1565 name_len = le16_to_cpu(cc->NameLength); in smb2_find_context_vals()
1566 value_off = le16_to_cpu(cc->DataOffset); in smb2_find_context_vals()
1567 value_len = le32_to_cpu(cc->DataLength); in smb2_find_context_vals()
1580 name = (char *)cc + name_off; in smb2_find_context_vals()
1582 return cc; in smb2_find_context_vals()
1594 void create_durable_rsp_buf(char *cc) in create_durable_rsp_buf() argument
1598 buf = (struct create_durable_rsp *)cc; in create_durable_rsp_buf()
1618 void create_durable_v2_rsp_buf(char *cc, struct ksmbd_file *fp) in create_durable_v2_rsp_buf() argument
1622 buf = (struct create_durable_v2_rsp *)cc; in create_durable_v2_rsp_buf()
1646 void create_mxac_rsp_buf(char *cc, int maximal_access) in create_mxac_rsp_buf() argument
1650 buf = (struct create_mxac_rsp *)cc; in create_mxac_rsp_buf()
1668 void create_disk_id_rsp_buf(char *cc, __u64 file_id, __u64 vol_id) in create_disk_id_rsp_buf() argument
1672 buf = (struct create_disk_id_rsp *)cc; in create_disk_id_rsp_buf()
1695 void create_posix_rsp_buf(char *cc, struct ksmbd_file *fp) in create_posix_rsp_buf() argument
1703 buf = (struct create_posix_rsp *)cc; in create_posix_rsp_buf()