Lines Matching refs:send_len
37 size_t send_len = sizeof(struct open_request) + path_len + 1; in hmdfs_send_open() local
38 struct open_request *open_req = kzalloc(send_len, GFP_KERNEL); in hmdfs_send_open()
42 .len = send_len, in hmdfs_send_open()
78 size_t send_len = sizeof(struct release_request); in hmdfs_send_close() local
79 struct release_request *release_req = kzalloc(send_len, GFP_KERNEL); in hmdfs_send_close()
82 .len = send_len, in hmdfs_send_close()
128 size_t send_len = sizeof(struct readpage_request); in hmdfs_client_readpage() local
129 struct readpage_request *read_data = kzalloc(send_len, GFP_KERNEL); in hmdfs_client_readpage()
132 .len = send_len, in hmdfs_client_readpage()
356 size_t send_len = sizeof(struct writepage_request) + HMDFS_PAGE_SIZE; in hmdfs_client_writepage() local
357 struct writepage_request *write_data = kzalloc(send_len, GFP_NOFS); in hmdfs_client_writepage()
376 req.data_len = send_len; in hmdfs_client_writepage()
418 size_t send_len = sizeof(struct readdir_request) + path_len + 1; in hmdfs_client_start_readdir() local
419 struct readdir_request *req = kzalloc(send_len, GFP_KERNEL); in hmdfs_client_start_readdir()
422 .len = send_len, in hmdfs_client_start_readdir()
460 size_t send_len = sizeof(struct mkdir_request) + path_len + 1 + in hmdfs_client_start_mkdir() local
462 struct mkdir_request *mkdir_req = kzalloc(send_len, GFP_KERNEL); in hmdfs_client_start_mkdir()
466 .len = send_len, in hmdfs_client_start_mkdir()
507 size_t send_len = sizeof(struct create_request) + path_len + 1 + in hmdfs_client_start_create() local
509 struct create_request *create_req = kzalloc(send_len, GFP_KERNEL); in hmdfs_client_start_create()
513 .len = send_len, in hmdfs_client_start_create()
553 size_t send_len = sizeof(struct rmdir_request) + path_len + 1 + in hmdfs_client_start_rmdir() local
555 struct rmdir_request *rmdir_req = kzalloc(send_len, GFP_KERNEL); in hmdfs_client_start_rmdir()
558 .len = send_len, in hmdfs_client_start_rmdir()
582 size_t send_len = sizeof(struct unlink_request) + path_len + 1 + in hmdfs_client_start_unlink() local
584 struct unlink_request *unlink_req = kzalloc(send_len, GFP_KERNEL); in hmdfs_client_start_unlink()
587 .len = send_len, in hmdfs_client_start_unlink()
615 size_t send_len = sizeof(struct rename_request) + old_path_len + 1 + in hmdfs_client_start_rename() local
618 struct rename_request *rename_req = kzalloc(send_len, GFP_KERNEL); in hmdfs_client_start_rename()
621 .len = send_len, in hmdfs_client_start_rename()
654 size_t send_len = path_len + 1 + sizeof(struct setattr_request); in hmdfs_send_setattr() local
655 struct setattr_request *setattr_req = kzalloc(send_len, GFP_KERNEL); in hmdfs_send_setattr()
658 .len = send_len, in hmdfs_send_setattr()
711 size_t send_len = path_len + 1 + sizeof(struct getattr_request); in hmdfs_send_getattr() local
713 struct getattr_request *req = kzalloc(send_len, GFP_KERNEL); in hmdfs_send_getattr()
716 .len = send_len, in hmdfs_send_getattr()
766 size_t send_len = sizeof(struct statfs_request) + path_len + 1; in hmdfs_send_statfs() local
767 struct statfs_request *req = kzalloc(send_len, GFP_KERNEL); in hmdfs_send_statfs()
770 .len = send_len, in hmdfs_send_statfs()
846 size_t send_len = path_len + name_len + in hmdfs_send_getxattr() local
849 struct getxattr_request *req = kzalloc(send_len, GFP_KERNEL); in hmdfs_send_getxattr()
852 .len = send_len, in hmdfs_send_getxattr()
884 size_t send_len = path_len + name_len + size + 2 + in hmdfs_send_setxattr() local
887 struct setxattr_request *req = kzalloc(send_len, GFP_KERNEL); in hmdfs_send_setxattr()
890 .len = send_len, in hmdfs_send_setxattr()
934 size_t send_len = path_len + 1 + sizeof(struct listxattr_request); in hmdfs_send_listxattr() local
936 struct listxattr_request *req = kzalloc(send_len, GFP_KERNEL); in hmdfs_send_listxattr()
939 .len = send_len, in hmdfs_send_listxattr()
1006 size_t send_len = sizeof(struct drop_push_request) + path_len + 1; in hmdfs_send_drop_push() local
1007 struct drop_push_request *dp_req = kzalloc(send_len, GFP_KERNEL); in hmdfs_send_drop_push()
1010 .len = send_len, in hmdfs_send_drop_push()