Lines Matching defs:options
778 * (Per device) rbd map options
915 rbdc->client->options->mount_timeout);
945 if (ondisk->options.order < SECTOR_SHIFT)
950 if (ondisk->options.order > 8 * sizeof (int) - 1)
1080 header->obj_order = ondisk->options.order;
1411 struct ceph_options *opt = rbd_dev->rbd_client->client->options;
6352 * fs_context and skipping standard superblock and security options.
6354 static int rbd_parse_options(char *options, struct rbd_parse_opts_ctx *pctx)
6359 dout("%s '%s'\n", __func__, options);
6360 while ((key = strsep(&options, ",")) != NULL) {
6393 * Parse the options provided for an "rbd add" (i.e., rbd image
6398 * The information extracted from these options is recorded in
6402 * The address of a pointer that will refer to a ceph options
6406 * Address of an rbd options pointer. Fully initialized by
6410 * initialized by this function based on parsed options.
6413 * The options passed take this form:
6414 * <mon_addrs> <options> <pool_name> <image_name> [<snap_id>]
6421 * <options>
6422 * A comma-separated list of ceph and/or rbd options.
6439 char *options;
6458 options = dup_token(&buf, NULL);
6459 if (!options)
6461 if (!*options) {
6462 rbd_warn(NULL, "no options provided");
6508 /* Initialize all rbd options to the defaults */
6527 ret = rbd_parse_options(options, &pctx);
6534 kfree(options);
6543 kfree(options);