Searched refs:nif (Results 1 – 2 of 2) sorted by relevance
/drivers/staging/lustre/lnet/lnet/ |
D | config.c | 1123 int nif = lnet_ipif_enumerate(&ifnames); in lnet_ipaddr_enumerate() local 1127 if (nif <= 0) in lnet_ipaddr_enumerate() 1128 return nif; in lnet_ipaddr_enumerate() 1130 LIBCFS_ALLOC(ipaddrs, nif * sizeof(*ipaddrs)); in lnet_ipaddr_enumerate() 1132 CERROR("Can't allocate ipaddrs[%d]\n", nif); in lnet_ipaddr_enumerate() 1133 lnet_ipif_free_enumeration(ifnames, nif); in lnet_ipaddr_enumerate() 1137 for (i = nip = 0; i < nif; i++) { in lnet_ipaddr_enumerate() 1157 lnet_ipif_free_enumeration(ifnames, nif); in lnet_ipaddr_enumerate() 1159 if (nip == nif) { in lnet_ipaddr_enumerate() 1174 lnet_ipaddr_free_enumeration(ipaddrs, nif); in lnet_ipaddr_enumerate()
|
/drivers/net/fddi/skfp/ |
D | smt.c | 940 struct smt_nif *nif ; in smt_send_nif() local 945 nif = smtod(mb, struct smt_nif *) ; in smt_send_nif() 946 smt_fill_una(smc,&nif->una) ; /* set UNA */ in smt_send_nif() 947 smt_fill_sde(smc,&nif->sde) ; /* set station descriptor */ in smt_send_nif() 948 smt_fill_state(smc,&nif->state) ; /* set state information */ in smt_send_nif() 950 smt_fill_fsc(smc,&nif->fsc) ; /* set frame status cap. */ in smt_send_nif() 952 nif->smt.smt_dest = *dest ; /* destination address */ in smt_send_nif() 953 nif->smt.smt_tid = tid ; /* transaction ID */ in smt_send_nif() 954 dump_smt(smc,(struct smt_header *)nif,"NIF") ; in smt_send_nif()
|