• Home
  • Raw
  • Download

Lines Matching refs:num

768 	unsigned int num = *num_iovec;  in add_posix_context()  local
770 iov[num].iov_base = create_posix_buf(mode); in add_posix_context()
773 if (iov[num].iov_base == NULL) in add_posix_context()
775 iov[num].iov_len = sizeof(struct create_posix); in add_posix_context()
779 iov[num - 1].iov_len); in add_posix_context()
781 *num_iovec = num + 1; in add_posix_context()
1960 unsigned int num = *num_iovec; in add_lease_context() local
1962 iov[num].iov_base = server->ops->create_lease_buf(lease_key, *oplock); in add_lease_context()
1963 if (iov[num].iov_base == NULL) in add_lease_context()
1965 iov[num].iov_len = server->vals->create_lease_size; in add_lease_context()
1970 iov[num - 1].iov_len); in add_lease_context()
1973 *num_iovec = num + 1; in add_lease_context()
2052 unsigned int num = *num_iovec; in add_durable_v2_context() local
2054 iov[num].iov_base = create_durable_v2_buf(oparms); in add_durable_v2_context()
2055 if (iov[num].iov_base == NULL) in add_durable_v2_context()
2057 iov[num].iov_len = sizeof(struct create_durable_v2); in add_durable_v2_context()
2063 *num_iovec = num + 1; in add_durable_v2_context()
2072 unsigned int num = *num_iovec; in add_durable_reconnect_v2_context() local
2077 iov[num].iov_base = create_reconnect_durable_v2_buf(oparms->fid); in add_durable_reconnect_v2_context()
2078 if (iov[num].iov_base == NULL) in add_durable_reconnect_v2_context()
2080 iov[num].iov_len = sizeof(struct create_durable_handle_reconnect_v2); in add_durable_reconnect_v2_context()
2087 *num_iovec = num + 1; in add_durable_reconnect_v2_context()
2096 unsigned int num = *num_iovec; in add_durable_context() local
2107 iov[num].iov_base = create_reconnect_durable_buf(oparms->fid); in add_durable_context()
2111 iov[num].iov_base = create_durable_buf(); in add_durable_context()
2112 if (iov[num].iov_base == NULL) in add_durable_context()
2114 iov[num].iov_len = sizeof(struct create_durable); in add_durable_context()
2120 *num_iovec = num + 1; in add_durable_context()
2154 unsigned int num = *num_iovec; in add_twarp_context() local
2156 iov[num].iov_base = create_twarp_buf(timewarp); in add_twarp_context()
2157 if (iov[num].iov_base == NULL) in add_twarp_context()
2159 iov[num].iov_len = sizeof(struct crt_twarp_ctxt); in add_twarp_context()
2163 iov[num - 1].iov_len); in add_twarp_context()
2165 *num_iovec = num + 1; in add_twarp_context()
2196 unsigned int num = *num_iovec; in add_query_id_context() local
2198 iov[num].iov_base = create_query_id_buf(); in add_query_id_context()
2199 if (iov[num].iov_base == NULL) in add_query_id_context()
2201 iov[num].iov_len = sizeof(struct crt_query_id_ctxt); in add_query_id_context()
2205 iov[num - 1].iov_len); in add_query_id_context()
2207 *num_iovec = num + 1; in add_query_id_context()
4392 u8 info_type, u32 additional_info, unsigned int num, in send_set_info() argument
4407 if (!num) in send_set_info()
4413 iov = kmalloc_array(num, sizeof(struct kvec), GFP_KERNEL); in send_set_info()
4419 rqst.rq_nvec = num; in send_set_info()