Searched refs:hsh_tbl (Results 1 - 2 of 2) sorted by relevance

/linux-master/net/netlabel/
H A Dnetlabel_domainhash.c365 struct netlbl_domhsh_tbl *hsh_tbl; local
370 hsh_tbl = kmalloc(sizeof(*hsh_tbl), GFP_KERNEL);
371 if (hsh_tbl == NULL)
373 hsh_tbl->size = 1 << size;
374 hsh_tbl->tbl = kcalloc(hsh_tbl->size,
377 if (hsh_tbl->tbl == NULL) {
378 kfree(hsh_tbl);
381 for (iter = 0; iter < hsh_tbl
[all...]
H A Dnetlabel_unlabeled.c1419 struct netlbl_unlhsh_tbl *hsh_tbl; local
1424 hsh_tbl = kmalloc(sizeof(*hsh_tbl), GFP_KERNEL);
1425 if (hsh_tbl == NULL)
1427 hsh_tbl->size = 1 << size;
1428 hsh_tbl->tbl = kcalloc(hsh_tbl->size,
1431 if (hsh_tbl->tbl == NULL) {
1432 kfree(hsh_tbl);
1435 for (iter = 0; iter < hsh_tbl
[all...]

Completed in 126 milliseconds