/titanic_41/usr/src/cmd/zdb/ |
H A D | zdb_il.c | 60 zil_prt_rec_create(zilog_t *zilog, int txtype, lr_create_t *lr) in zil_prt_rec_create() argument 62 time_t crtime = lr->lr_crtime[0]; in zil_prt_rec_create() 66 name = (char *)(lr + 1); in zil_prt_rec_create() 68 if (lr->lr_common.lrc_txtype == TX_CREATE_ATTR || in zil_prt_rec_create() 69 lr->lr_common.lrc_txtype == TX_MKDIR_ATTR) { in zil_prt_rec_create() 70 lrattr = (lr_attr_t *)(lr + 1); in zil_prt_rec_create() 83 (u_longlong_t)lr->lr_doid, (u_longlong_t)lr->lr_foid, in zil_prt_rec_create() 84 (longlong_t)lr->lr_mode); in zil_prt_rec_create() 86 (u_longlong_t)lr->lr_uid, (u_longlong_t)lr->lr_gid, in zil_prt_rec_create() 87 (u_longlong_t)lr->lr_gen, (u_longlong_t)lr->lr_rdev); in zil_prt_rec_create() [all …]
|
/titanic_41/usr/src/uts/common/fs/zfs/ |
H A D | zfs_replay.c | 72 zfs_replay_error(zfsvfs_t *zfsvfs, lr_t *lr, boolean_t byteswap) in zfs_replay_error() argument 269 lr_create_t *lr = (lr_create_t *)lracl; in zfs_replay_create_acl() local 282 txtype = (lr->lr_common.lrc_txtype & ~TX_CI); in zfs_replay_create_acl() 302 if ((error = zfs_zget(zfsvfs, lr->lr_doid, &dzp)) != 0) in zfs_replay_create_acl() 307 lr->lr_mode, lr->lr_uid, lr->lr_gid, lr->lr_rdev, lr->lr_foid); in zfs_replay_create_acl() 316 ZFS_TIME_DECODE(&xva.xva_vattr.va_ctime, lr->lr_crtime); in zfs_replay_create_acl() 317 xva.xva_vattr.va_nblocks = lr->lr_gen; in zfs_replay_create_acl() 319 error = dmu_object_info(zfsvfs->z_os, lr->lr_foid, NULL); in zfs_replay_create_acl() 323 if (lr->lr_common.lrc_txtype & TX_CI) in zfs_replay_create_acl() 332 lr->lr_uid, lr->lr_gid); in zfs_replay_create_acl() [all …]
|
H A D | zfs_log.c | 239 lr_create_t *lr; in zfs_log_create() local 268 txsize = sizeof (*lr) + namesize + fuidsz + xvatsize; in zfs_log_create() 269 lrsize = sizeof (*lr); in zfs_log_create() 279 lr = (lr_create_t *)&itx->itx_lr; in zfs_log_create() 280 lr->lr_doid = dzp->z_id; in zfs_log_create() 281 lr->lr_foid = zp->z_id; in zfs_log_create() 282 lr->lr_mode = zp->z_mode; in zfs_log_create() 284 lr->lr_uid = (uint64_t)zp->z_uid; in zfs_log_create() 286 lr->lr_uid = fuidp->z_fuid_owner; in zfs_log_create() 289 lr->lr_gid = (uint64_t)zp->z_gid; in zfs_log_create() [all …]
|
H A D | zil.c | 216 char *lr = (char *)(zilc + 1); in zil_read_log_block() local 224 bcopy(lr, dst, len); in zil_read_log_block() 229 char *lr = abuf->b_data; in zil_read_log_block() local 231 zil_chain_t *zilc = (zil_chain_t *)(lr + size) - 1; in zil_read_log_block() 240 bcopy(lr, dst, zilc->zc_nused); in zil_read_log_block() 256 zil_read_log_data(zilog_t *zilog, const lr_write_t *lr, void *wbuf) in zil_read_log_data() argument 259 const blkptr_t *bp = &lr->lr_blkptr; in zil_read_log_data() 267 bzero(wbuf, MAX(BP_GET_LSIZE(bp), lr->lr_length)); in zil_read_log_data() 274 SET_BOOKMARK(&zb, dmu_objset_id(zilog->zl_os), lr->lr_foid, in zil_read_log_data() 275 ZB_ZIL_LEVEL, lr->lr_offset / BP_GET_LSIZE(bp)); in zil_read_log_data() [all …]
|
H A D | zvol.c | 154 static int zvol_get_data(void *arg, lr_write_t *lr, char *buf, zio_t *zio); 369 zvol_replay_truncate(zvol_state_t *zv, lr_truncate_t *lr, boolean_t byteswap) in zvol_replay_truncate() argument 374 byteswap_uint64_array(lr, sizeof (*lr)); in zvol_replay_truncate() 376 offset = lr->lr_offset; in zvol_replay_truncate() 377 length = lr->lr_length; in zvol_replay_truncate() 387 zvol_replay_write(zvol_state_t *zv, lr_write_t *lr, boolean_t byteswap) in zvol_replay_write() argument 390 char *data = (char *)(lr + 1); /* data follows lr_write_t */ in zvol_replay_write() 396 byteswap_uint64_array(lr, sizeof (*lr)); in zvol_replay_write() 398 offset = lr->lr_offset; in zvol_replay_write() 399 length = lr->lr_length; in zvol_replay_write() [all …]
|
H A D | dmu_traverse.c | 99 lr_write_t *lr = (lr_write_t *)lrc; in traverse_zil_record() local 100 blkptr_t *bp = &lr->lr_blkptr; in traverse_zil_record() 109 SET_BOOKMARK(&zb, td->td_objset, lr->lr_foid, in traverse_zil_record() 110 ZB_ZIL_LEVEL, lr->lr_offset / BP_GET_LSIZE(bp)); in traverse_zil_record()
|
H A D | dsl_scan.c | 496 lr_write_t *lr = (lr_write_t *)lrc; in dsl_scan_zil_record() local 497 blkptr_t *bp = &lr->lr_blkptr; in dsl_scan_zil_record() 513 lr->lr_foid, ZB_ZIL_LEVEL, in dsl_scan_zil_record() 514 lr->lr_offset / BP_GET_LSIZE(bp)); in dsl_scan_zil_record()
|
H A D | zfs_vnops.c | 1071 zfs_get_data(void *arg, lr_write_t *lr, char *buf, zio_t *zio) in zfs_get_data() argument 1076 uint64_t object = lr->lr_foid; in zfs_get_data() 1077 uint64_t offset = lr->lr_offset; in zfs_get_data() 1078 uint64_t size = lr->lr_length; in zfs_get_data() 1079 blkptr_t *bp = &lr->lr_blkptr; in zfs_get_data() 1143 if (lr->lr_offset >= zp->z_size) in zfs_get_data() 1168 error = dmu_sync(zio, lr->lr_common.lrc_txg, in zfs_get_data() 1170 ASSERT(error || lr->lr_length <= zp->z_blksz); in zfs_get_data() 1182 lr->lr_common.lrc_txtype = TX_WRITE2; in zfs_get_data()
|
/titanic_41/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_mn_changelog.c | 54 static int mdmn_log_it(set_t, md_error_t *, mdmn_changelog_record_t *lr); 68 dump_rec(char *fn_name, mdmn_changelog_record_t *lr) in dump_rec() argument 71 "msglen %d\n", fn_name, lr->lr_selfid, lr->lr_class, in dump_rec() 72 lr->lr_flags, lr->lr_msglen); in dump_rec() 75 dump_rec_od(char *fn_name, mdmn_changelog_record_od_t *lr) in dump_rec_od() argument 78 "msglen %d\n", fn_name, lr->lr_selfid, lr->lr_class, in dump_rec_od() 79 lr->lr_flags, lr->lr_msglen); in dump_rec_od() 233 mdmn_changelog_record_t *lr; in mdmn_reset_changelog() local 249 lr = &mdmn_changelog[setno][lrc]; in mdmn_reset_changelog() 250 Free(lr->lr_msg.msg_event_data); in mdmn_reset_changelog() [all …]
|
H A D | meta_set.c | 5721 mdmn_changelog_record_t *lr; in meta_mnsync_diskset_mddbs() local 5726 lr = mdmn_get_changelogrec(sp->setno, class); in meta_mnsync_diskset_mddbs() 5727 if ((lr->lr_flags & MD_MN_LR_INUSE) == 0) { in meta_mnsync_diskset_mddbs() 5734 MSGID_ELEMS(lr->lr_msg.msg_msgid)); in meta_mnsync_diskset_mddbs() 5737 lr->lr_msg.msg_setno, in meta_mnsync_diskset_mddbs() 5738 lr->lr_msg.msg_type, in meta_mnsync_diskset_mddbs() 5739 lr->lr_msg.msg_flags | MD_MSGF_REPLAY_MSG | in meta_mnsync_diskset_mddbs() 5741 lr->lr_msg.msg_recipient, in meta_mnsync_diskset_mddbs() 5742 lr->lr_msg.msg_event_data, in meta_mnsync_diskset_mddbs() 5743 lr->lr_msg.msg_event_size, in meta_mnsync_diskset_mddbs() [all …]
|
/titanic_41/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | abandon.c | 115 LDAPRequest *lr = NULL; in do_abandon() local 140 for ( lr = ld->ld_requests; lr != NULL; lr = lr->lr_next ) { in do_abandon() 141 if ( lr->lr_msgid == msgid ) { /* this message */ in do_abandon() 142 if ( origid == msgid && lr->lr_parent != NULL ) { in do_abandon() 147 if ( lr->lr_status == LDAP_REQST_INPROGRESS ) { in do_abandon() 155 if ( lr->lr_origid == msgid ) { /* child: abandon it */ in do_abandon() 156 (void)do_abandon( ld, msgid, lr->lr_msgid, in do_abandon() 167 for ( lr = ld->ld_requests; lr != NULL; lr = lr->lr_next ) { in do_abandon() 168 if ( lr->lr_msgid == msgid ) { /* this message */ in do_abandon() 171 if ( lr->lr_origid == msgid ) { /* child: abandon it */ in do_abandon() [all …]
|
H A D | result.c | 54 static void check_for_refs( LDAP *ld, LDAPRequest *lr, BerElement *ber, 56 static int build_result_ber( LDAP *ld, BerElement **berp, LDAPRequest *lr ); 57 static void merge_error_info( LDAP *ld, LDAPRequest *parentr, LDAPRequest *lr ); 166 LDAPRequest *lr; in check_response_queue() local 223 || (( lr = nsldapi_find_request_by_msgid( ld, lm->lm_msgid )) in check_response_queue() 224 != NULL && lr->lr_outrefcnt > 0 )) { in check_response_queue() 282 LDAPRequest *lr; local 316 if (( lr = nsldapi_find_request_by_msgid( ld, msgid )) 324 if ( lr->lr_conn != NULL && 325 lr->lr_conn->lconn_status == LDAP_CONNST_DEAD ) { [all …]
|
H A D | request.c | 48 static int chase_one_referral( LDAP *ld, LDAPRequest *lr, LDAPRequest *origreq, 158 LDAPRequest *lr; in nsldapi_send_server_request() local 235 if (( lr = (LDAPRequest *)NSLDAPI_CALLOC( 1, sizeof( LDAPRequest ))) == in nsldapi_send_server_request() 238 if ( lr != NULL ) { in nsldapi_send_server_request() 239 NSLDAPI_FREE( lr ); in nsldapi_send_server_request() 251 lr->lr_binddn = bindreqdn; in nsldapi_send_server_request() 252 lr->lr_msgid = msgid; in nsldapi_send_server_request() 253 lr->lr_status = LDAP_REQST_INPROGRESS; in nsldapi_send_server_request() 254 lr->lr_res_errno = LDAP_SUCCESS; /* optimistic */ in nsldapi_send_server_request() 255 lr->lr_ber = ber; in nsldapi_send_server_request() [all …]
|
H A D | unbind.c | 83 LDAPRequest *lr, *nextlr; in ldap_ld_free() local 92 for ( lr = ld->ld_requests; lr != NULL; lr = nextlr ) { in ldap_ld_free() 93 nextlr = lr->lr_next; in ldap_ld_free() 94 nsldapi_free_request( ld, lr, 0 ); in ldap_ld_free()
|
H A D | ldap-int.h | 731 void nsldapi_free_request( LDAP *ld, LDAPRequest *lr, int free_conn ); 737 int nsldapi_chase_v2_referrals( LDAP *ld, LDAPRequest *lr, char **errstrp, 739 int nsldapi_chase_v3_refs( LDAP *ld, LDAPRequest *lr, char **refs,
|
/titanic_41/usr/src/cmd/ztest/ |
H A D | ztest.c | 1311 ztest_log_create(ztest_ds_t *zd, dmu_tx_t *tx, lr_create_t *lr) in ztest_log_create() argument 1313 char *name = (void *)(lr + 1); /* name follows lr */ in ztest_log_create() 1320 itx = zil_itx_create(TX_CREATE, sizeof (*lr) + namesize); in ztest_log_create() 1321 bcopy(&lr->lr_common + 1, &itx->itx_lr + 1, in ztest_log_create() 1322 sizeof (*lr) + namesize - sizeof (lr_t)); in ztest_log_create() 1328 ztest_log_remove(ztest_ds_t *zd, dmu_tx_t *tx, lr_remove_t *lr, uint64_t object) in ztest_log_remove() argument 1330 char *name = (void *)(lr + 1); /* name follows lr */ in ztest_log_remove() 1337 itx = zil_itx_create(TX_REMOVE, sizeof (*lr) + namesize); in ztest_log_remove() 1338 bcopy(&lr->lr_common + 1, &itx->itx_lr + 1, in ztest_log_remove() 1339 sizeof (*lr) + namesize - sizeof (lr_t)); in ztest_log_remove() [all …]
|
/titanic_41/usr/src/lib/libnsl/netdir/ |
H A D | netdir.c | 216 char *lr; /* routines to try */ in __classic_netdir_getbyname() local 221 lr = *((tp->nc_lookups) + i); in __classic_netdir_getbyname() 223 if (strcmp(lr, t->tr_name) == 0) { in __classic_netdir_getbyname() 237 if ((t = load_xlate(lr)) != NULL) { in __classic_netdir_getbyname() 345 char *lr; /* routines to try */ in __classic_netdir_getbyaddr() local 350 lr = *((tp->nc_lookups) + i); in __classic_netdir_getbyaddr() 352 if (strcmp(lr, t->tr_name) == 0) { in __classic_netdir_getbyaddr() 365 if ((t = load_xlate(lr)) != NULL) { in __classic_netdir_getbyaddr() 402 char *lr; /* routines to try */ in netdir_options() local 418 lr = *((tp->nc_lookups) + i); in netdir_options() [all …]
|
/titanic_41/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | doupdate.c | 656 cost(fr, lr) in cost() argument 657 int fr, lr; in cost() 675 for (cc = 1, ++lr, nr = fr+1; nr <= lr; ++nr, ++cc) { 685 for (--lr, or = fr; or <= lr; ++or) { 686 for (nr = fr; nr <= lr; ++nr) { 721 return LC(lr+1,lr+1).cost; 738 script(fr, lr) in script() argument 739 int fr, lr; in script() 744 i = j = lr + 1; 807 int i, j, lr; in complex() local [all …]
|
/titanic_41/usr/src/cmd/nvmeadm/ |
H A D | nvmeadm_print.c | 915 nvme_lba_range_t *lr; in nvme_print_feat_lba_range() local 923 lr = buf; in nvme_print_feat_lba_range() 933 if (verbose == 0 && lr[i].lr_nlb == 0) in nvme_print_feat_lba_range() 937 if (lr[i].lr_type < ARRAYSIZE(lba_range_types)) in nvme_print_feat_lba_range() 939 lba_range_types[lr[i].lr_type], 0); in nvme_print_feat_lba_range() 942 lr[i].lr_type, NULL, NULL); in nvme_print_feat_lba_range() 945 lr[i].lr_attr.lr_write, "yes", "no"); in nvme_print_feat_lba_range() 947 lr[i].lr_attr.lr_hidden, "yes", "no"); in nvme_print_feat_lba_range() 949 lr[i].lr_slba, NULL, NULL); in nvme_print_feat_lba_range() 951 lr[i].lr_nlb, NULL, NULL); in nvme_print_feat_lba_range() [all …]
|
/titanic_41/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | doupdate.c | 792 cost(int fr, int lr) in cost() argument 812 for (cc = 1, ++lr, nr = fr+1; nr <= lr; ++nr, ++cc) { in cost() 822 for (--lr, or = fr; or <= lr; ++or) { in cost() 823 for (nr = fr; nr <= lr; ++nr) { in cost() 852 return (LC(lr + 1, lr + 1).cost); in cost() 869 script(int fr, int lr) in script() argument 874 i = j = lr + 1; in script() 938 int i, j, lr; in complex() local 948 lr = i; in complex() 957 (void) cost(fr, lr); in complex() [all …]
|
/titanic_41/usr/src/uts/common/fs/nfs/ |
H A D | nfs_log.c | 470 struct lr_alloc lr; in log_file_create() local 479 lr.next = lr.prev = &lr; in log_file_create() 480 lr.lr_flags = 0; in log_file_create() 481 lr.log_record = loghdr; in log_file_create() 482 lr.size = loghdr_len; in log_file_create() 483 lr.alloc_cache = NULL; in log_file_create() 484 lr.exi = NULL; in log_file_create() 485 lr.lb = NULL; in log_file_create() 489 error = nfslog_write_logrecords(logfile, &lr, 1); in log_file_create()
|
/titanic_41/usr/src/uts/common/fs/zfs/sys/ |
H A D | zil.h | 379 typedef int zil_parse_lr_func_t(zilog_t *zilog, lr_t *lr, void *arg, 382 typedef int zil_get_data_t(void *arg, lr_write_t *lr, char *dbuf, zio_t *zio);
|
/titanic_41/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_mr.c | 354 mpt_entry.lr = 1; in hermon_mr_register_shared() 567 mpt_entry.lr = 1; in hermon_mr_alloc_fmr() 1301 mpt_entry.lr = 1; in hermon_mw_alloc() 1699 mpt_entry.lr = 1; in hermon_mr_common_reg() 1929 mpt_entry.lr = 1; in hermon_dma_mr_register() 2098 mpt_entry.lr = 1; in hermon_mr_alloc_lkey() 2188 mpt_entry.lr = 1; in hermon_mr_fexch_mpt_init() 2613 mpt_entry.lr = 1; in hermon_mr_common_rereg()
|
/titanic_41/usr/src/cmd/csh/ |
H A D | sh.parse.c | 661 goto lr; in freesyn() 667 lr: in freesyn()
|
/titanic_41/usr/src/uts/common/io/ath/ |
H A D | ath_main.c | 1103 int32_t sr, lr, nacked = 0; in ath_tx_processq() local 1151 lr = ts->ts_longretry; in ath_tx_processq() 1153 asc->asc_stats.ast_tx_longretry += lr; in ath_tx_processq() 1169 an->an_tx_retr += sr + lr; in ath_tx_processq()
|