Lines Matching refs:arg_sz

1188 static int parse_usdt_arg(const char *arg_str, int arg_num, struct usdt_arg_spec *arg, int *arg_sz);
1194 int arg_sz, len; in parse_usdt_spec() local
1208 len = parse_usdt_arg(s, spec->arg_cnt, arg, &arg_sz); in parse_usdt_spec()
1212 arg->arg_signed = arg_sz < 0; in parse_usdt_spec()
1213 if (arg_sz < 0) in parse_usdt_spec()
1214 arg_sz = -arg_sz; in parse_usdt_spec()
1216 switch (arg_sz) { in parse_usdt_spec()
1218 arg->arg_bitshift = 64 - arg_sz * 8; in parse_usdt_spec()
1222 spec->arg_cnt, s, arg_sz); in parse_usdt_spec()
1282 static int parse_usdt_arg(const char *arg_str, int arg_num, struct usdt_arg_spec *arg, int *arg_sz) in parse_usdt_arg() argument
1288 if (sscanf(arg_str, " %d @ %ld ( %%%15[^)] ) %n", arg_sz, &off, reg_name, &len) == 3) { in parse_usdt_arg()
1296 } else if (sscanf(arg_str, " %d @ ( %%%15[^)] ) %n", arg_sz, reg_name, &len) == 2) { in parse_usdt_arg()
1304 } else if (sscanf(arg_str, " %d @ %%%15s %n", arg_sz, reg_name, &len) == 2) { in parse_usdt_arg()
1313 } else if (sscanf(arg_str, " %d @ $%ld %n", arg_sz, &off, &len) == 2) { in parse_usdt_arg()
1330 static int parse_usdt_arg(const char *arg_str, int arg_num, struct usdt_arg_spec *arg, int *arg_sz) in parse_usdt_arg() argument
1336 if (sscanf(arg_str, " %d @ %ld ( %%r%u ) %n", arg_sz, &off, &reg, &len) == 3) { in parse_usdt_arg()
1345 } else if (sscanf(arg_str, " %d @ %%r%u %n", arg_sz, &reg, &len) == 2) { in parse_usdt_arg()
1354 } else if (sscanf(arg_str, " %d @ %ld %n", arg_sz, &off, &len) == 2) { in parse_usdt_arg()
1383 static int parse_usdt_arg(const char *arg_str, int arg_num, struct usdt_arg_spec *arg, int *arg_sz) in parse_usdt_arg() argument
1389 if (sscanf(arg_str, " %d @ \[ %15[a-z0-9] , %ld ] %n", arg_sz, reg_name, &off, &len) == 3) { in parse_usdt_arg()
1397 } else if (sscanf(arg_str, " %d @ \[ %15[a-z0-9] ] %n", arg_sz, reg_name, &len) == 2) { in parse_usdt_arg()
1405 } else if (sscanf(arg_str, " %d @ %ld %n", arg_sz, &off, &len) == 2) { in parse_usdt_arg()
1410 } else if (sscanf(arg_str, " %d @ %15[a-z0-9] %n", arg_sz, reg_name, &len) == 2) { in parse_usdt_arg()
1477 static int parse_usdt_arg(const char *arg_str, int arg_num, struct usdt_arg_spec *arg, int *arg_sz) in parse_usdt_arg() argument
1483 if (sscanf(arg_str, " %d @ %ld ( %15[a-z0-9] ) %n", arg_sz, &off, reg_name, &len) == 3) { in parse_usdt_arg()
1491 } else if (sscanf(arg_str, " %d @ %ld %n", arg_sz, &off, &len) == 2) { in parse_usdt_arg()
1496 } else if (sscanf(arg_str, " %d @ %15[a-z0-9] %n", arg_sz, reg_name, &len) == 2) { in parse_usdt_arg()
1548 static int parse_usdt_arg(const char *arg_str, int arg_num, struct usdt_arg_spec *arg, int *arg_sz) in parse_usdt_arg() argument
1555 arg_sz, reg_name, &off, &len) == 3) { in parse_usdt_arg()
1563 } else if (sscanf(arg_str, " %d @ \[ %15[a-z0-9] ] %n", arg_sz, reg_name, &len) == 2) { in parse_usdt_arg()
1571 } else if (sscanf(arg_str, " %d @ #%ld %n", arg_sz, &off, &len) == 2) { in parse_usdt_arg()
1576 } else if (sscanf(arg_str, " %d @ %15[a-z0-9] %n", arg_sz, reg_name, &len) == 2) { in parse_usdt_arg()
1594 static int parse_usdt_arg(const char *arg_str, int arg_num, struct usdt_arg_spec *arg, int *arg_sz) in parse_usdt_arg() argument