Lines Matching defs:count
123 struct kobj_attribute *kobj_attr, const char *buf, size_t count)
130 if (count > MAX_PARAM_DATA_LEN)
131 count = MAX_PARAM_DATA_LEN;
134 memcpy(param_data_buf, buf, count);
139 ret = count;
148 int count, i;
181 count = of_property_count_strings(sysparam, "param-name");
182 if (count < 0) {
188 id = kcalloc(count, sizeof(*id), GFP_KERNEL);
195 size = kcalloc(count, sizeof(*size), GFP_KERNEL);
202 perm = kcalloc(count, sizeof(*perm), GFP_KERNEL);
209 if (of_property_read_u32_array(sysparam, "param-id", id, count)) {
214 if (of_property_read_u32_array(sysparam, "param-len", size, count)) {
220 if (of_property_read_u8_array(sysparam, "param-perm", perm, count)) {
225 attr = kcalloc(count, sizeof(*attr), GFP_KERNEL);
233 for (i = 0; i < count; i++) {