Home
last modified time | relevance | path

Searched refs:n_parts (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/net/sfc/
Dmtd.c56 size_t n_parts; member
62 (part) != &(efx_mtd)->part[(efx_mtd)->n_parts]; \
412 efx_mtd->n_parts = 1; in falcon_mtd_probe()
438 efx_mtd->n_parts = 1; in falcon_mtd_probe()
668 efx_mtd->n_parts = 0; in siena_mtd_probe()
673 efx_mtd->n_parts, type); in siena_mtd_probe()
675 efx_mtd->n_parts++; in siena_mtd_probe()
/linux-2.6.39/net/rxrpc/
Dar-key.c216 unsigned toklen = *_toklen, n_parts, loop, tmp; in rxrpc_krb5_decode_principal() local
226 n_parts = ntohl(*xdr++); in rxrpc_krb5_decode_principal()
228 if (n_parts <= 0 || n_parts > AFSTOKEN_K5_COMPONENTS_MAX) in rxrpc_krb5_decode_principal()
230 princ->n_name_parts = n_parts; in rxrpc_krb5_decode_principal()
232 if (toklen <= (n_parts + 1) * 4) in rxrpc_krb5_decode_principal()
235 princ->name_parts = kcalloc(sizeof(char *), n_parts, GFP_KERNEL); in rxrpc_krb5_decode_principal()
239 for (loop = 0; loop < n_parts; loop++) { in rxrpc_krb5_decode_principal()