Searched refs:atpos (Results 1 – 2 of 2) sorted by relevance
/freebsd/sbin/bectl/ |
H A D | bectl.c | 202 char *atpos, *bootenv, *snapname; in bectl_cmd_create() local 234 if ((atpos = strchr(bootenv, '@')) != NULL) { in bectl_cmd_create() 239 *atpos++ = '\0'; in bectl_cmd_create() 240 err = be_snapshot(be, bootenv, atpos, recursive, NULL); in bectl_cmd_create() 267 if (atpos != NULL) in bectl_cmd_create() 270 atpos, bootenv); in bectl_cmd_create()
|
/freebsd/lib/libbe/ |
H A D | be.c | 223 char *atpos; in be_should_promote_clones() local 238 atpos = strchr(zfs_get_name(zfs_hdl), '@'); in be_should_promote_clones() 239 return (strcmp(atpos + 1, bdd->snapname) == 0); in be_should_promote_clones()
|