/fs/smb/server/ |
D | auth.c | 1020 static inline void smb2_sg_set_buf(struct scatterlist *sg, const void *buf, in smb2_sg_set_buf() argument 1029 sg_set_page(sg, addr, buflen, offset_in_page(buf)); in smb2_sg_set_buf() 1035 struct scatterlist *sg; in ksmbd_init_sg() local 1062 sg = kmalloc_array(total_entries, sizeof(struct scatterlist), GFP_KERNEL); in ksmbd_init_sg() 1063 if (!sg) { in ksmbd_init_sg() 1068 sg_init_table(sg, total_entries); in ksmbd_init_sg() 1069 smb2_sg_set_buf(&sg[sg_idx++], iov[0].iov_base + 24, assoc_data_len); in ksmbd_init_sg() 1086 sg_set_page(&sg[sg_idx++], in ksmbd_init_sg() 1095 sg_set_page(&sg[sg_idx++], virt_to_page(data), len, in ksmbd_init_sg() 1099 smb2_sg_set_buf(&sg[sg_idx], sign, SMB2_SIGNATURE_SIZE); in ksmbd_init_sg() [all …]
|
D | transport_rdma.c | 1169 struct scatterlist sg[SMB_DIRECT_MAX_SEND_SGES - 1]; in smb_direct_post_send_data() local 1190 sg_init_table(sg, SMB_DIRECT_MAX_SEND_SGES - 1); in smb_direct_post_send_data() 1193 sg, SMB_DIRECT_MAX_SEND_SGES - 1, in smb_direct_post_send_data() 1202 ib_dma_unmap_sg(t->cm_id->device, sg, sg_cnt, in smb_direct_post_send_data() 1209 sge->addr = sg_dma_address(&sg[j]); in smb_direct_post_send_data() 1210 sge->length = sg_dma_len(&sg[j]); in smb_direct_post_send_data()
|
/fs/incfs/ |
D | format.c | 252 struct incfs_file_signature sg = {}; in incfs_write_signature_to_backing_file() local 265 sg.sg_header.h_md_entry_type = INCFS_MD_SIGNATURE; in incfs_write_signature_to_backing_file() 266 sg.sg_header.h_record_size = cpu_to_le16(sizeof(sg)); in incfs_write_signature_to_backing_file() 267 sg.sg_header.h_next_md_offset = cpu_to_le64(0); in incfs_write_signature_to_backing_file() 269 sg.sg_sig_size = cpu_to_le32(sig.len); in incfs_write_signature_to_backing_file() 270 sg.sg_sig_offset = cpu_to_le64(rollback_pos); in incfs_write_signature_to_backing_file() 298 sg.sg_hash_tree_size = cpu_to_le32(tree_size); in incfs_write_signature_to_backing_file() 299 sg.sg_hash_tree_offset = cpu_to_le64(tree_area_pos); in incfs_write_signature_to_backing_file() 303 result = append_md_to_backing_file(bfc, &sg.sg_header); in incfs_write_signature_to_backing_file()
|
D | data_mgmt.c | 1543 static int process_file_signature_md(struct incfs_file_signature *sg, in process_file_signature_md() argument 1563 signature->hash_offset = le64_to_cpu(sg->sg_hash_tree_offset); in process_file_signature_md() 1564 signature->hash_size = le32_to_cpu(sg->sg_hash_tree_size); in process_file_signature_md() 1565 signature->sig_offset = le64_to_cpu(sg->sg_sig_offset); in process_file_signature_md() 1566 signature->sig_size = le32_to_cpu(sg->sg_sig_size); in process_file_signature_md()
|
/fs/fuse/ |
D | virtio_fs.c | 425 struct scatterlist sg; in send_forget_request() local 439 sg_init_one(&sg, req, sizeof(*req)); in send_forget_request() 443 ret = virtqueue_add_outbuf(vq, &sg, 1, forget, GFP_ATOMIC); in send_forget_request() 1083 static unsigned int sg_init_fuse_pages(struct scatterlist *sg, in sg_init_fuse_pages() argument 1093 sg_init_table(&sg[i], 1); in sg_init_fuse_pages() 1095 sg_set_page(&sg[i], pages[i], this_len, page_descs[i].offset); in sg_init_fuse_pages() 1103 static unsigned int sg_init_fuse_args(struct scatterlist *sg, in sg_init_fuse_args() argument 1117 sg_init_one(&sg[total_sgs++], argbuf, len); in sg_init_fuse_args() 1120 total_sgs += sg_init_fuse_pages(&sg[total_sgs], in sg_init_fuse_args() 1139 struct scatterlist *sg = stack_sg; in virtio_fs_enqueue_req() local [all …]
|
D | dir.c | 742 struct fuse_supp_groups *sg; in get_create_supp_group() local 745 u32 sg_len = fuse_ext_size(sizeof(*sg) + sizeof(sg->groups[0])); in get_create_supp_group() 758 sg = (struct fuse_supp_groups *) &xh[1]; in get_create_supp_group() 759 sg->nr_groups = 1; in get_create_supp_group() 760 sg->groups[0] = parent_gid; in get_create_supp_group()
|
/fs/crypto/ |
D | fname.c | 106 struct scatterlist sg; in fscrypt_fname_encrypt() local 128 sg_init_one(&sg, out, olen); in fscrypt_fname_encrypt() 129 skcipher_request_set_crypt(req, &sg, &sg, olen, &iv); in fscrypt_fname_encrypt()
|
/fs/ecryptfs/ |
D | crypto.c | 232 int virt_to_scatterlist(const void *addr, int size, struct scatterlist *sg, in virt_to_scatterlist() argument 240 sg_init_table(sg, sg_size); in virt_to_scatterlist() 245 sg_set_page(&sg[i], pg, 0, offset); in virt_to_scatterlist() 248 sg[i].length = remainder_of_page; in virt_to_scatterlist() 252 sg[i].length = size; in virt_to_scatterlist()
|
D | ecryptfs_kernel.h | 562 int virt_to_scatterlist(const void *addr, int size, struct scatterlist *sg,
|
/fs/ext4/ |
D | mballoc.c | 3030 struct sg { in ext4_mb_seq_groups_show() struct 3033 } sg; in ext4_mb_seq_groups_show() local 3041 i = (blocksize_bits + 2) * sizeof(sg.info.bb_counters[0]) + in ext4_mb_seq_groups_show() 3057 memcpy(&sg, grinfo, i); in ext4_mb_seq_groups_show() 3062 seq_printf(seq, "#%-5u: %-5u %-5u %-5u [", group, sg.info.bb_free, in ext4_mb_seq_groups_show() 3063 sg.info.bb_fragments, sg.info.bb_first_free); in ext4_mb_seq_groups_show() 3066 sg.info.bb_counters[i] : 0); in ext4_mb_seq_groups_show() 3068 if (EXT4_MB_GRP_BBITMAP_CORRUPT(&sg.info)) in ext4_mb_seq_groups_show()
|
/fs/smb/client/ |
D | smb2ops.c | 4220 struct scatterlist *sg; in crypt_message() local 4263 creq = smb2_get_aead_req(tfm, rqst, num_rqst, sign, &iv, &req, &sg, in crypt_message() 4282 aead_request_set_crypt(req, sg, sg, crypt_len, iv); in crypt_message()
|