Home
last modified time | relevance | path

Searched refs:id_str (Results 1 – 7 of 7) sorted by relevance

/openbmc/u-boot/cmd/
H A Dpcmcia.c199 uchar id_str[MAX_IDENT_CHARS]; in identify() local
208 t = id_str; in identify()
218 if (t == &id_str[MAX_IDENT_CHARS-1]) { in identify()
228 while (--t > id_str) { in identify()
234 puts ((char *)id_str); in identify()
239 if (strcmp((char *)*card, (char *)id_str) == 0) { /* found! */ in identify()
/openbmc/qemu/block/
H A Dqcow2-snapshot.c40 g_free(s->snapshots[i].id_str); in qcow2_free_single_snapshot()
199 sn->id_str = g_malloc(id_str_size + 1); in qcow2_do_read_snapshots()
200 ret = bdrv_co_pread(bs->file, offset, id_str_size, sn->id_str, 0); in qcow2_do_read_snapshots()
206 sn->id_str[id_str_size] = '\0'; in qcow2_do_read_snapshots()
292 offset += strlen(sn->id_str); in qcow2_write_snapshots()
346 id_str_size = strlen(sn->id_str); in qcow2_write_snapshots()
381 ret = bdrv_pwrite(bs->file, offset, id_str_size, sn->id_str, 0); in qcow2_write_snapshots()
577 char *id_str, int id_str_size) in find_new_snapshot_id() argument
586 id = strtoul(sn->id_str, NULL, 10); in find_new_snapshot_id()
590 snprintf(id_str, id_str_size, "%lu", id_max + 1); in find_new_snapshot_id()
[all …]
H A Dsnapshot.c122 if (!strcmp(sn->id_str, id) && !strcmp(sn->name, name)) { in bdrv_snapshot_find_by_id_and_name()
131 if (!strcmp(sn->id_str, id)) { in bdrv_snapshot_find_by_id_and_name()
592 ret = bdrv_snapshot_delete(bs, snapshot->id_str, in bdrv_all_delete_snapshot()
H A Drbd.c1682 if (sn_info->id_str[0] != '\0' && in qemu_rbd_snap_create()
1683 strcmp(sn_info->id_str, sn_info->name) != 0) { in qemu_rbd_snap_create()
1687 if (strlen(sn_info->name) >= sizeof(sn_info->id_str)) { in qemu_rbd_snap_create()
1764 pstrcpy(sn_info->id_str, sizeof(sn_info->id_str), snap_name); in qemu_rbd_snap_list()
/openbmc/openbmc/poky/meta/lib/oe/
H A Dlsb.py120 id_str = '{0}-{1}'.format(distro_id, release)
122 id_str = distro_id
123 return id_str.replace(' ','-').replace('/','-')
/openbmc/u-boot/disk/
H A Dpart_iso.h126 char id_str[0x1C]; /* Ident String of sectionr */ member
/openbmc/qemu/include/block/
H A Dsnapshot.h38 char id_str[128]; /* unique snapshot id */ member