return sum;
}
-inline __u16
+__u16
kgnilnd_cksum_kiov(unsigned int nkiov, lnet_kiov_t *kiov,
unsigned int offset, unsigned int nob, int dump_blob)
{
}
/* lets us know if we can push this RDMA through now */
-inline int
+static int
kgnilnd_auth_rdma_bytes(kgn_device_t *dev, kgn_tx_t *tx)
{
long bytes_left;
/* display functions */
/* ------------------------------------------------------------------- */
/* display str in left corner and in COL */
-/* TODO : do we need to use inline here ?*/
/* @gint col : the col where we add the information */
-inline static void display_info_str(proto_item *pi, column_info *cinfo, gint col, const gchar* str)
+static void display_info_str(proto_item *pi, column_info *cinfo, gint col,
+ const gchar *str)
{
if (NULL !=pi)
proto_item_append_text(pi, str);
EXPORT_SYMBOL(kuc_alloc);
/* Takes pointer to payload area */
-inline void kuc_free(void *p, int payload_len)
+void kuc_free(void *p, int payload_len)
{
struct kuc_hdr *lh = kuc_ptr(p);
OBD_FREE(lh, kuc_len(payload_len));
#include <sys/types.h>
#include <netinet/in.h> /* for ntohl */
-inline static int
+static inline int
write_bytes(char **ptr, const char *end, const void *arg, int arg_len)
{
char *p = *ptr, *arg_end;
#define WRITE_BYTES(p, end, arg) write_bytes(p, end, &arg, sizeof(arg))
-inline static int
+static inline int
write_buffer(char **p, char *end, gss_buffer_desc *arg)
{
int len = (int)arg->length; /* make an int out of size_t */
return 0;
}
-inline static int
+static inline int
write_oid(char **p, char *end, gss_OID_desc *arg)
{
int len = (int)arg->length; /* make an int out of size_t */