Lines Matching full:resp
127 struct ksmbd_share_config_response *resp; in share_config_request() local
133 resp = ksmbd_ipc_share_config_request(name); in share_config_request()
134 if (!resp) in share_config_request()
137 if (resp->flags == KSMBD_SHARE_FLAG_INVALID) in share_config_request()
140 if (*resp->share_name) { in share_config_request()
144 cf_resp_name = ksmbd_casefold_sharename(um, resp->share_name); in share_config_request()
157 share->flags = resp->flags; in share_config_request()
165 if (resp->payload_sz) in share_config_request()
166 path_len = resp->payload_sz - resp->veto_list_sz; in share_config_request()
168 share->path = kstrndup(ksmbd_share_config_path(resp), path_len, in share_config_request()
176 share->create_mask = resp->create_mask; in share_config_request()
177 share->directory_mask = resp->directory_mask; in share_config_request()
178 share->force_create_mode = resp->force_create_mode; in share_config_request()
179 share->force_directory_mode = resp->force_directory_mode; in share_config_request()
180 share->force_uid = resp->force_uid; in share_config_request()
181 share->force_gid = resp->force_gid; in share_config_request()
183 KSMBD_SHARE_CONFIG_VETO_LIST(resp), in share_config_request()
184 resp->veto_list_sz); in share_config_request()
222 kvfree(resp); in share_config_request()