Lines Matching defs:namelist
1730 char **namelist;
1768 namelist = kmalloc(sizeof(char *) * desc->bNrInPins, GFP_KERNEL);
1769 if (! namelist) {
1778 namelist[i] = kmalloc(MAX_ITEM_NAME_LEN, GFP_KERNEL);
1779 if (! namelist[i]) {
1782 kfree(namelist[i]);
1783 kfree(namelist);
1787 len = check_mapped_selector_name(state, unitid, i, namelist[i],
1790 len = get_term_name(state, &iterm, namelist[i], MAX_ITEM_NAME_LEN, 0);
1792 sprintf(namelist[i], "Input %d", i);
1798 kfree(namelist);
1802 kctl->private_value = (unsigned long)namelist;