Searched refs:ctx (Results 1 – 4 of 4) sorted by relevance
| /cmd/lwip/ |
| A D | ping.c | 47 ctx->alive = true; in ping_recv() 62 if (!ctx->pcb) in ping_raw_init() 65 raw_recv(ctx->pcb, ping_recv, ctx); in ping_raw_init() 73 if (ctx->pcb) in ping_raw_stop() 102 raw_sendto(ctx->pcb, p, &ctx->target); in ping_send_icmp() 112 ctx->seq_num++; in ping_send() 137 ctx.target = *addr; in ping_loop() 139 ping_send(&ctx); in ping_loop() 143 if (ctx.alive) in ping_loop() 152 ping_raw_stop(&ctx); in ping_loop() [all …]
|
| /cmd/ |
| A D | pxe.c | 38 if (ctx->use_ipv6) { in do_get_tftp() 45 if (do_tftpb(ctx->cmdtp, 0, num_args, tftp_argv)) in do_get_tftp() 51 ctx->pxe_file_size = *sizep; in do_get_tftp() 139 struct pxe_context ctx; in pxe_get() local 166 if (pxe_uuid_path(&ctx, pxefile_addr_r) > 0 || in pxe_get() 167 pxe_mac_path(&ctx, pxefile_addr_r) > 0 || in pxe_get() 180 pxe_destroy_ctx(&ctx); in pxe_get() 190 *sizep = ctx.pxe_file_size; in pxe_get() 191 pxe_destroy_ctx(&ctx); in pxe_get() 267 struct pxe_context ctx; in do_pxe_boot() local [all …]
|
| A D | blkmap.c | 48 err = blkmap_map_linear(ctx->dev, ctx->blknr, ctx->blkcnt, in do_blkmap_map_linear() 52 argv[1], ldevnum, ctx->blknr, err); in do_blkmap_map_linear() 58 ctx->blknr, ctx->blkcnt, lblknr, argv[1], ldevnum); in do_blkmap_map_linear() 76 err = blkmap_map_pmem(ctx->dev, ctx->blknr, ctx->blkcnt, addr, in do_blkmap_map_mem() 85 ctx->blknr, ctx->blkcnt, (unsigned long long)addr); in do_blkmap_map_mem() 100 struct map_ctx ctx; in do_blkmap_map() local 105 ctx.dev = blkmap_from_label(argv[1]); in do_blkmap_map() 106 if (!ctx.dev) { in do_blkmap_map() 111 ctx.blknr = hextoul(argv[2], NULL); in do_blkmap_map() 112 ctx.blkcnt = hextoul(argv[3], NULL); in do_blkmap_map() [all …]
|
| A D | sysboot.c | 25 static int sysboot_read_file(struct pxe_context *ctx, const char *file_path, in sysboot_read_file() argument 29 struct sysboot_info *info = ctx->userdata; in sysboot_read_file() 55 struct pxe_context ctx; in do_sysboot() local 108 if (pxe_setup_ctx(&ctx, cmdtp, sysboot_read_file, &info, true, in do_sysboot() 114 if (get_pxe_file(&ctx, filename, pxefile_addr_r) in do_sysboot() 117 pxe_destroy_ctx(&ctx); in do_sysboot() 121 ret = pxe_process(&ctx, pxefile_addr_r, prompt); in do_sysboot() 122 pxe_destroy_ctx(&ctx); in do_sysboot()
|
Completed in 20 milliseconds