Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/ksmbd/
A 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()
A Dxattr.h92 void *sd_buf; member
A Dauth.h69 int ksmbd_gen_sd_hash(struct ksmbd_conn *conn, char *sd_buf, int len,
A Dvfs.c1456 acl.sd_buf = (char *)pntsd; in ksmbd_vfs_set_sd_xattr()
1459 rc = ksmbd_gen_sd_hash(conn, acl.sd_buf, acl.sd_size, acl.hash); in ksmbd_vfs_set_sd_xattr()
1552 *pntsd = acl.sd_buf; in ksmbd_vfs_get_sd_xattr()
1571 kfree(acl.sd_buf); in ksmbd_vfs_get_sd_xattr()
A Dauth.c957 int ksmbd_gen_sd_hash(struct ksmbd_conn *conn, char *sd_buf, int len, in ksmbd_gen_sd_hash() argument
975 rc = crypto_shash_update(CRYPTO_SHA256(ctx), sd_buf, len); in ksmbd_gen_sd_hash()
A Dsmb2pdu.c2439 struct create_sd_buf_req *sd_buf; in smb2_create_sd_buffer() local
2453 sd_buf = (struct create_sd_buf_req *)context; in smb2_create_sd_buffer()
2458 return set_info_sec(work->conn, work->tcon, path, &sd_buf->ntsd, in smb2_create_sd_buffer()
2459 le32_to_cpu(sd_buf->ccontext.DataLength), true); in smb2_create_sd_buffer()

Completed in 27 milliseconds