/illumos-gate/usr/src/lib/libbe/common/ |
H A D | be_rename.c | 67 be_transaction_data_t bt = { 0 }; local 80 if (nvlist_lookup_string(be_attrs, BE_ATTR_ORIG_BE_NAME, &bt.obe_name) 89 if (nvlist_lookup_string(be_attrs, BE_ATTR_NEW_BE_NAME, &bt.nbe_name) 108 if (strncmp(bt.obe_name, cbt.obe_name, 109 MAX(strlen(bt.obe_name), strlen(cbt.obe_name))) == 0) { 118 if (!be_valid_be_name(bt.obe_name)) { 120 "invalid BE name %s\n"), bt.obe_name); 126 if (!be_valid_be_name(bt.nbe_name)) { 128 bt.nbe_name); 134 if ((zret = zpool_iter(g_zfs, be_find_zpool_callback, &bt)) [all...] |
H A D | be_snapshot.c | 253 be_transaction_data_t bt = { 0 }; local 265 if ((ret = be_find_current_be(&bt)) != BE_SUCCESS) { 281 bt.obe_name = obe_name; 283 if (!be_valid_be_name(bt.obe_name)) { 285 "invalid BE name %s\n"), bt.obe_name); 291 if (nvlist_lookup_string(be_attrs, BE_ATTR_SNAP_NAME, &bt.obe_snap_name) 299 if ((zphp = zpool_open(g_zfs, bt.obe_zpool)) == NULL) { 301 "open rpool (%s): %s\n"), bt.obe_zpool, 305 zret = be_find_zpool_callback(zphp, &bt); 308 if ((zret = zpool_iter(g_zfs, be_find_zpool_callback, &bt)) 403 be_transaction_data_t bt = { 0 }; local 629 be_transaction_data_t bt = { 0 }; local [all...] |
H A D | be_list.c | 218 be_transaction_data_t bt = { 0 }; local 230 if (be_find_current_be(&bt) != BE_SUCCESS) { 238 (void) strncpy(cb.current_be, bt.obe_name, 240 rpool = bt.obe_zpool;
|
H A D | be_activate.c | 149 be_transaction_data_t bt = { 0 }; local 165 &bt.obe_name); 173 &bt.obe_zpool); 181 &bt.obe_root_ds); 192 ret = be_do_installboot(&bt, flags); 410 be_transaction_data_t bt = { 0 }; local 412 if ((ret = be_find_current_be(&bt)) != BE_SUCCESS) { 416 if ((ret = _be_activate(bt.obe_name)) != BE_SUCCESS) { 418 "activate %s\n"), bt.obe_name); 610 * bt 623 be_get_grub_vers(be_transaction_data_t *bt, char **cur_vers, char **new_vers) argument 1014 be_do_copy_grub_cap(be_transaction_data_t *bt) argument 1149 be_is_install_needed(be_transaction_data_t *bt, boolean_t *update) argument 1212 be_do_installboot(be_transaction_data_t *bt, uint16_t flags) argument [all...] |
H A D | be_create.c | 105 be_transaction_data_t bt = { 0 }; local 123 if (nvlist_lookup_string(be_attrs, BE_ATTR_NEW_BE_NAME, &bt.nbe_name) 131 if (!be_valid_be_name(bt.nbe_name)) { 133 bt.nbe_name); 138 if (nvlist_lookup_string(be_attrs, BE_ATTR_NEW_BE_POOL, &bt.nbe_zpool) 178 if ((zlp = zpool_open(g_zfs, bt.nbe_zpool)) == NULL) { 180 "find existing zpool (%s): %s\n"), bt.nbe_zpool, 190 if (!be_create_container_ds(bt.nbe_zpool)) 196 if ((zret = zpool_iter(g_zfs, be_exists_callback, bt.nbe_name)) > 0) { 198 bt 383 be_transaction_data_t bt = { 0 }; local 605 be_transaction_data_t bt = { 0 }; local 1226 be_transaction_data_t *bt = data; local 1906 be_transaction_data_t bt = { 0 }; local 2275 be_transaction_data_t *bt = data; local 2396 be_transaction_data_t *bt = data; local 2936 be_prep_clone_send_fs(zfs_handle_t *zhp, be_transaction_data_t *bt, char *clone_ds, int clone_ds_len) argument [all...] |
H A D | be_mount.c | 251 be_transaction_data_t bt = { 0 }; local 264 /* Set be_name as obe_name in bt structure */ 265 bt.obe_name = be_name; 268 if ((err = zpool_iter(g_zfs, be_find_zpool_callback, &bt)) == 0) { 270 "find zpool for BE (%s)\n"), bt.obe_name); 279 be_make_root_ds(bt.obe_zpool, bt.obe_name, obe_root_ds, 281 bt.obe_root_ds = obe_root_ds; 284 if ((zhp = zfs_open(g_zfs, bt.obe_root_ds, ZFS_TYPE_FILESYSTEM)) == 287 "open BE root dataset (%s): %s\n"), bt 420 be_transaction_data_t bt = { 0 }; local [all...] |
H A D | be_utils.c | 114 be_transaction_data_t bt = {0}; local 128 ret = be_find_current_be(&bt); 154 if (strcmp(node->be_rpool, bt.obe_zpool) != 0) 284 free(bt.obe_name); 285 free(bt.obe_root_ds); 286 free(bt.obe_zpool); 287 free(bt.obe_snap_name); 288 free(bt.obe_altroot); 2644 be_find_current_be(be_transaction_data_t *bt) argument 2649 bt)) 2683 be_transaction_data_t *bt = data; local 2774 be_transaction_data_t *bt = data; local [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/sun4u/hostbridge/ |
H A D | hb_sun4u.c | 41 int bt; local 45 bt = *hbc = 1; 49 bt++; 58 if (bt % *hbc != 0) { 64 *bph = bt / *hbc; 67 topo_mod_dprintf(mod, "%d buses total.\n", bt);
|
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/ |
H A D | printfuncs.c | 110 char *bt; local 116 bt = basetype_of(e); 119 if (li == 1 && (strcmp(bt, "char") == 0)) {
|
/illumos-gate/usr/src/cmd/format/ |
H A D | defect.c | 75 struct bt_bad *bt; local 174 for (bt = badmap.bt_bad; bt - badmap.bt_bad < NDKBAD; bt++) { 175 if (bt->bt_cyl < 0) 177 if (bt->bt_trksec < 0) 179 head = bt->bt_trksec >> 8; 180 if ((bt->bt_cyl >= pcyl) || (head >= nhead) || 181 ((bt->bt_trksec & 0xff) >= sectors(head))) { 194 for (bt [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | bptree.c | 66 bptree_phys_t *bt; local 78 bt = db->db_data; 79 bt->bt_begin = 0; 80 bt->bt_end = 0; 81 bt->bt_bytes = 0; 82 bt->bt_comp = 0; 83 bt->bt_uncomp = 0; 93 bptree_phys_t *bt; local 96 bt = db->db_data; 97 ASSERT3U(bt 110 bptree_phys_t *bt; local 125 bptree_phys_t *bt; local [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/ |
H A D | rc_file.c | 479 krb5_timestamp bt; local 515 bt = 1; 519 bt = kn->value.i32; 525 return (bt);
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | walkstack.c | 401 backtrace_t *bt = (backtrace_t *)arg; local 403 if (bt->bt_actcount >= bt->bt_maxcount) 406 bt->bt_buffer[bt->bt_actcount++] = (void *)pc; 418 backtrace_t bt; local 421 bt.bt_buffer = buffer; 422 bt.bt_maxcount = count; 423 bt.bt_actcount = 0; 428 (void) walkcontext(&u, callback, &bt); [all...] |
/illumos-gate/usr/src/common/bzip2/ |
H A D | compress.c | 242 Int32 v, t, i, j, gs, ge, totc, bt, bc, iter; local 400 bc = 999999999; bt = -1; 402 if (cost[t] < bc) { bc = cost[t]; bt = t; }; 404 fave[bt]++; 405 s->selector[nSelectors] = bt; 414 # define BZ_ITUR(nn) s->rfreq[bt][ mtfv[gs+(nn)] ]++ 432 s->rfreq[bt][ mtfv[i] ]++;
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_log.c | 322 nscd_cfg_bitmap_t bt; local 364 bt = *(nscd_cfg_bitmap_t *)data; 365 if (_nscd_cfg_bitmap_valid(bt, NSCD_LOG_ALL) == 0) 374 bt = *(nscd_cfg_bitmap_t *)data; 375 if (_nscd_cfg_bitmap_valid(bt, NSCD_LOG_LEVEL_ALL) == 0)
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | mime.c | 112 int bt; local 326 bt = MBT_FINAL; 330 bt = mimeboundary(buf, boundaries); 331 if (bt != MBT_NOTSEP) 340 bt = MBT_FINAL; 341 while (bt != MBT_FINAL) 357 bt = mime8to7(mci, hdr, e, boundaries, flags, 359 if (bt == SM_IO_EOF) 374 bt = mimeboundary(buf, boundaries); 375 if (bt ! 755 static int bt = MBT_SYNTAX; /* boundary type of next SM_IO_EOF */ local [all...] |
/illumos-gate/usr/src/boot/sys/boot/arm/ixp425/boot2/ |
H A D | boot2.c | 120 const char *bt; local 126 bt = board_init(); 128 printf("FreeBSD ARM (%s) boot2 v%d.%d\n", bt, 0, 4);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | leaky_subr.c | 544 kmem_buftag_lite_t bt; local 555 mdb_vread(&bt, sizeof (bt), 558 caller = bt.bt_history[0];
|
/illumos-gate/usr/src/lib/libast/common/regex/ |
H A D | regcomp.c | 1030 int bt; local 1088 bt = COLL_range_uc; 1090 bt = COLL_range_lc; 1092 bt = COLL_range; 1147 ce->typ = bt == et ? bt : COLL_range;
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | xec.c | 1890 clock_t bt; local 1906 bt = times(&before); 1918 bt = 0; 1929 at = times(&after) - bt;
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_smb.c | 1742 uint8_t wc, bt; local 1798 md_get_uint8(mdp, &bt); 1808 if (bt != SMB_DT_VARIABLE)
|
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | backend.c | 519 backend_is_upgraded(backend_tx_t *bt) argument 521 if (bt->bt_type == BACKEND_TYPE_NONPERSIST)
|
/illumos-gate/usr/src/uts/common/io/iwh/ |
H A D | iwh.c | 4293 iwh_bt_cmd_t bt; local 4315 * configure bt coexistence 4317 (void) memset(&bt, 0, sizeof (bt)); 4318 bt.flags = 3; 4319 bt.lead_time = 0xaa; 4320 bt.max_kill = 1; 4321 err = iwh_cmd(sc, REPLY_BT_CONFIG, &bt, 4322 sizeof (bt), 0); 4325 "failed to configurate bt coexistenc [all...] |
/illumos-gate/usr/src/uts/common/io/iwp/ |
H A D | iwp.c | 4091 iwp_bt_cmd_t bt; local 4111 * configure bt coexistence 4113 (void) memset(&bt, 0, sizeof (bt)); 4114 bt.flags = 3; 4115 bt.lead_time = 0xaa; 4116 bt.max_kill = 1; 4117 err = iwp_cmd(sc, REPLY_BT_CONFIG, &bt, 4118 sizeof (bt), 0); 4121 "failed to configurate bt coexistenc [all...] |
/illumos-gate/usr/src/cmd/svc/svccfg/ |
H A D | svccfg_xml.c | 3207 lxml_get_instance(entity_t *service, xmlNodePtr inst, bundle_type_t bt, argument 3235 if (bt == SVCCFG_MANIFEST) {
|