Home
last modified time | relevance | path

Searched refs:sd_buf (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/fs/smb/server/
Dndr.c446 ret = ndr_write_bytes(n, acl->sd_buf, acl->sd_size); in ndr_encode_v4_ntacl()
508 acl->sd_buf = kzalloc(acl->sd_size, GFP_KERNEL); in ndr_decode_v4_ntacl()
509 if (!acl->sd_buf) in ndr_decode_v4_ntacl()
512 ret = ndr_read_bytes(n, acl->sd_buf, acl->sd_size); in ndr_decode_v4_ntacl()
Dxattr.h92 void *sd_buf; member
Dauth.h69 int ksmbd_gen_sd_hash(struct ksmbd_conn *conn, char *sd_buf, int len,
Dvfs.c1487 acl.sd_buf = (char *)pntsd; in ksmbd_vfs_set_sd_xattr()
1490 rc = ksmbd_gen_sd_hash(conn, acl.sd_buf, acl.sd_size, acl.hash); in ksmbd_vfs_set_sd_xattr()
1583 *pntsd = acl.sd_buf; in ksmbd_vfs_get_sd_xattr()
1602 kfree(acl.sd_buf); in ksmbd_vfs_get_sd_xattr()
Dauth.c970 int ksmbd_gen_sd_hash(struct ksmbd_conn *conn, char *sd_buf, int len, in ksmbd_gen_sd_hash() argument
988 rc = crypto_shash_update(CRYPTO_SHA256(ctx), sd_buf, len); in ksmbd_gen_sd_hash()
Dsmb2pdu.c2610 struct create_sd_buf_req *sd_buf; in smb2_create_sd_buffer() local
2624 sd_buf = (struct create_sd_buf_req *)context; in smb2_create_sd_buffer()
2629 return set_info_sec(work->conn, work->tcon, path, &sd_buf->ntsd, in smb2_create_sd_buffer()
2630 le32_to_cpu(sd_buf->ccontext.DataLength), true, false); in smb2_create_sd_buffer()