Home | History | Annotate | Download | only in debugfs

Lines Matching refs:info

58 	errcode_t (*func)(struct field_set_info *info, char *field, char *arg);
63 static errcode_t parse_uint(struct field_set_info *info, char *field, char *arg);
64 static errcode_t parse_int(struct field_set_info *info, char *field, char *arg);
65 static errcode_t parse_string(struct field_set_info *info, char *field, char *arg);
66 static errcode_t parse_uuid(struct field_set_info *info, char *field, char *arg);
67 static errcode_t parse_hashalg(struct field_set_info *info, char *field, char *arg);
68 static errcode_t parse_time(struct field_set_info *info, char *field, char *arg);
69 static errcode_t parse_bmap(struct field_set_info *info, char *field, char *arg);
70 static errcode_t parse_gd_csum(struct field_set_info *info, char *field, char *arg);
71 static errcode_t parse_mmp_clear(struct field_set_info *info, char *field,
341 * Note: info->size == 6 is special; this means a base size 4 bytes,
345 static errcode_t parse_uint(struct field_set_info *info, char *field,
351 void *field1 = info->ptr, *field2 = info->ptr2;
352 int size = (info->size == 6) ? 4 : info->size;
368 if (info->flags & FLAG_ARRAY)
369 u.ptr8 += array_idx * info->size;
375 arg, info->name);
379 limit = ~0ULL >> ((8 - info->size) * 8);
380 if (field2 && info->size != 6)
381 limit = ~0ULL >> ((8 - info->size*2) * 8);
385 arg, info->name, limit);
393 "defined; BUG?!?\n", info->name);
410 if (info->size == 6)
429 static errcode_t parse_int(struct field_set_info *info,
441 arg, info->name);
444 switch (info->size) {
446 ptr32 = (__s32 *) info->ptr;
450 ptr16 = (__s16 *) info->ptr;
454 ptr8 = (__s8 *) info->ptr;
461 static errcode_t parse_string(struct field_set_info *info,
464 char *cp = (char *) info->ptr;
466 if (strlen(arg) >= info->size) {
468 info->name, info->size);
475 static errcode_t parse_time(struct field_set_info *info,
481 ptr32 = (__u32 *) info->ptr;
487 arg, info->name);
494 static errcode_t parse_uuid(struct field_set_info *info,
497 unsigned char * p = (unsigned char *) info->ptr;
513 static errcode_t parse_hashalg(struct field_set_info *info,
517 unsigned char *p = (unsigned char *) info->ptr;
528 static errcode_t parse_bmap(struct field_set_info *info,
538 arg, info->name);
551 static errcode_t parse_gd_csum(struct field_set_info *info, char *field,
566 return parse_uint(info, field, arg);
754 static errcode_t parse_mmp_clear(struct field_set_info *info,
764 memcpy(info->ptr, current_fs->mmp_buf, info->size);