Lines Matching defs:size
73 * entry->event != NULL, otherwise entry->size or entry->event will be
78 *op_cpu_buffer_write_reserve(struct op_entry *entry, unsigned long size);
83 /* returns the remaining free size of data in the entry */
87 if (!entry->size)
90 entry->size--;
92 return entry->size;
95 /* returns the size of data in the entry */
99 return entry->size;
102 /* returns 0 if empty or the size of data including the current value */
106 int size = entry->size;
107 if (!size)
110 entry->size--;
112 return size;