Lines Matching refs:item
1062 struct u32_item *item; in u32_find() local
1064 list_for_each_entry(item, l, list) { in u32_find()
1065 if (item->value == value) in u32_find()
1073 struct u32_item *item; in u32_push() local
1075 list_for_each_entry(item, l, list) { in u32_push()
1076 if (item->value == value) in u32_push()
1079 item = kmalloc(sizeof(*item), GFP_ATOMIC); in u32_push()
1080 if (unlikely(!item)) in u32_push()
1083 item->value = value; in u32_push()
1084 list_add(&item->list, l); in u32_push()
1090 struct u32_item *item; in u32_pop() local
1095 item = list_first_entry(l, typeof(*item), list); in u32_pop()
1096 value = item->value; in u32_pop()
1097 list_del(&item->list); in u32_pop()
1098 kfree(item); in u32_pop()
1104 struct u32_item *item, *tmp; in u32_del() local
1106 list_for_each_entry_safe(item, tmp, l, list) { in u32_del()
1107 if (item->value != value) in u32_del()
1109 list_del(&item->list); in u32_del()
1110 kfree(item); in u32_del()
1118 struct u32_item *item, *tmp; in u32_list_purge() local
1120 list_for_each_entry_safe(item, tmp, l, list) { in u32_list_purge()
1121 list_del(&item->list); in u32_list_purge()
1122 kfree(item); in u32_list_purge()
1128 struct u32_item *item; in u32_list_len() local
1131 list_for_each_entry(item, l, list) { in u32_list_len()