Lines Matching refs:args
232 } args;
234 INIT_IEEE1275_COMMON (&args.common, "call-method",
241 args.method = (grub_ieee1275_cell_t) "map";
242 args.ihandle = grub_ieee1275_mmu;
244 args.phys_high = 0;
246 args.phys_low = phys;
247 args.virt = virt;
248 args.size = size;
249 args.mode = mode; /* Format is WIMG0PP. */
250 args.catch_result = (grub_ieee1275_cell_t) -1;
252 if (IEEE1275_CALL_ENTRY_FN (&args) == -1)
255 return args.catch_result;
355 char *args;
360 args = grub_ieee1275_get_devargs (path);
361 if (!args)
367 comma = grub_strchr (args, ',');
379 grub_free (args);
385 char *args;
390 args = grub_ieee1275_get_devargs (path);
391 if (!args)
395 comma = grub_strchr (args, ',');
397 ret = grub_strdup (args);
399 ret = grub_strndup (args, (grub_size_t)(comma - args));
405 grub_free (args);
476 args;
489 INIT_IEEE1275_COMMON (&args.common, "canon", 3, 1);
490 args.path = (grub_ieee1275_cell_t) path;
491 args.buf = (grub_ieee1275_cell_t) buf;
492 args.inlen = (grub_ieee1275_cell_t) (bufsize - 1);
494 if (IEEE1275_CALL_ENTRY_FN (&args) == -1)
496 if (args.outlen > bufsize - 1)
498 bufsize = args.outlen + 2;