Searched refs:argstr (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.4/fs/ceph/ |
D | super.c | 221 substring_t argstr[MAX_OPT_ARGS]; in parse_fsopt_token() local 224 token = match_token((char *)c, fsopt_tokens, argstr); in parse_fsopt_token() 229 ret = match_int(&argstr[0], &intval); in parse_fsopt_token() 237 argstr[0].from); in parse_fsopt_token() 245 fsopt->snapdir_name = kstrndup(argstr[0].from, in parse_fsopt_token() 246 argstr[0].to-argstr[0].from, in parse_fsopt_token() 253 fsopt->mds_namespace = kstrndup(argstr[0].from, in parse_fsopt_token() 254 argstr[0].to-argstr[0].from, in parse_fsopt_token() 260 if (!strncmp(argstr[0].from, "no", in parse_fsopt_token() 261 argstr[0].to - argstr[0].from)) { in parse_fsopt_token() [all …]
|
/Linux-v5.4/net/ceph/ |
D | ceph_common.c | 373 substring_t argstr[MAX_OPT_ARGS]; in ceph_parse_options() local 406 token = match_token((char *)c, opt_tokens, argstr); in ceph_parse_options() 417 err = match_int(&argstr[0], &intval); in ceph_parse_options() 425 argstr[0].from); in ceph_parse_options() 431 err = ceph_parse_ips(argstr[0].from, in ceph_parse_options() 432 argstr[0].to, in ceph_parse_options() 441 err = parse_fsid(argstr[0].from, &opt->fsid); in ceph_parse_options() 447 opt->name = kstrndup(argstr[0].from, in ceph_parse_options() 448 argstr[0].to-argstr[0].from, in ceph_parse_options() 464 err = ceph_crypto_key_unarmor(opt->key, argstr[0].from); in ceph_parse_options() [all …]
|
/Linux-v5.4/kernel/cgroup/ |
D | rdma.c | 358 substring_t argstr; in parse_resource() local 373 argstr.from = value; in parse_resource() 374 argstr.to = value + len; in parse_resource() 376 ret = match_int(&argstr, intval); in parse_resource()
|
/Linux-v5.4/drivers/media/pci/cx18/ |
D | cx18-mailbox.c | 107 char argstr[MAX_MB_ARGUMENTS*11+1]; in dump_mb() local 114 u32arr2hex(mb->args, MAX_MB_ARGUMENTS, argstr)); in dump_mb() 589 char argstr[MAX_MB_ARGUMENTS*11+1]; in cx18_api_call() local 602 u32arr2hex(data, args, argstr)); in cx18_api_call() 606 u32arr2hex(data, args, argstr)); in cx18_api_call()
|
/Linux-v5.4/drivers/block/ |
D | rbd.c | 882 substring_t argstr[MAX_OPT_ARGS]; in parse_rbd_opts_token() local 885 token = match_token(c, rbd_opts_tokens, argstr); in parse_rbd_opts_token() 887 ret = match_int(&argstr[0], &intval); in parse_rbd_opts_token() 894 dout("got string token %d val %s\n", token, argstr[0].from); in parse_rbd_opts_token() 928 pctx->spec->pool_ns = match_strdup(argstr); in parse_rbd_opts_token()
|