Home
last modified time | relevance | path

Searched refs:LNET_NIDSTR_SIZE (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/
Dnidstrings.c58 static char libcfs_nidstrings[LNET_NIDSTR_COUNT][LNET_NIDSTR_SIZE];
92 snprintf(str, LNET_NIDSTR_SIZE, "%u.%u.%u.%u", in libcfs_ip_addr2str()
119 snprintf(str, LNET_NIDSTR_SIZE, "%u", addr); in libcfs_decnum_addr2str()
124 snprintf(str, LNET_NIDSTR_SIZE, "0x%x", addr); in libcfs_hexnum_addr2str()
367 snprintf(str, LNET_NIDSTR_SIZE, "?%d?", lnd); in libcfs_lnd2str()
393 snprintf(str, LNET_NIDSTR_SIZE, "<%d:%d>", lnd, num); in libcfs_net2str()
395 snprintf(str, LNET_NIDSTR_SIZE, "%s", nf->nf_name); in libcfs_net2str()
397 snprintf(str, LNET_NIDSTR_SIZE, "%s%d", nf->nf_name, num); in libcfs_net2str()
421 snprintf(str, LNET_NIDSTR_SIZE, "%x@<%d:%d>", addr, lnd, nnum); in libcfs_nid2str()
426 snprintf(str + nob, LNET_NIDSTR_SIZE - nob, "@%s", in libcfs_nid2str()
[all …]
/linux-4.1.27/drivers/staging/lustre/include/linux/lnet/
Dlnet.h49 #define LNET_NIDSTR_SIZE 32 /* size of each one (see below for usage) */ macro
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dlprocfs_status.c1714 OBD_ALLOC(buffer, LNET_NIDSTR_SIZE); in lprocfs_exp_setup()
1720 memcpy(buffer, libcfs_nid2str(*nid), LNET_NIDSTR_SIZE); in lprocfs_exp_setup()
1724 OBD_FREE(buffer, LNET_NIDSTR_SIZE); in lprocfs_exp_setup()