/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_rlock.c | 178 if (lr != NULL) in rangelock_enter_writer() 182 if (lr != NULL && in rangelock_enter_writer() 188 lr->lr_offset + lr->lr_length > new->lr_offset) in rangelock_enter_writer() 216 if (lr->lr_proxy) in rangelock_proxify() 223 lr->lr_count = 0; in rangelock_proxify() 248 ASSERT3U(off, <, lr->lr_offset + lr->lr_length); in rangelock_split() 255 rear->lr_length = lr->lr_offset + lr->lr_length - off; in rangelock_split() 279 lr->lr_count = 1; in rangelock_new_proxy() 528 ASSERT3U(lr->lr_offset + lr->lr_length, ==, in rangelock_exit_reader() 559 ASSERT(lr->lr_type == RL_WRITER || lr->lr_type == RL_READER); in rangelock_exit() [all …]
|
H A D | zfs_replay.c | 324 lr->lr_mode, lr->lr_uid, lr->lr_gid, lr->lr_rdev, objid); in zfs_replay_create_acl() 351 lr->lr_uid, lr->lr_gid); in zfs_replay_create_acl() 371 lr->lr_uid, lr->lr_gid); in zfs_replay_create_acl() 383 lr->lr_uid, lr->lr_gid); in zfs_replay_create_acl() 402 lr->lr_uid, lr->lr_gid); in zfs_replay_create_acl() 458 lr->lr_mode, lr->lr_uid, lr->lr_gid, lr->lr_rdev, objid); in zfs_replay_create() 491 lr->lr_uid, lr->lr_gid); in zfs_replay_create() 502 lr->lr_uid, lr->lr_gid); in zfs_replay_create() 520 lr->lr_uid, lr->lr_gid); in zfs_replay_create() 825 lr->lr_uid, lr->lr_gid, 0, lr->lr_foid); in zfs_replay_setattr() [all …]
|
H A D | zfs_log.c | 252 lr_create_t *lr; in zfs_log_create() local 315 lr->lr_rdev = 0; in zfs_log_create() 367 lr_remove_t *lr; in zfs_log_remove() local 402 lr_link_t *lr; in zfs_log_link() local 425 lr_create_t *lr; in zfs_log_symlink() local 457 lr_rename_t *lr; in zfs_log_rename() local 507 lr_write_t *lr; in zfs_log_write() local 531 lr->lr_blkoff = 0; in zfs_log_write() 555 lr_truncate_t *lr; in zfs_log_truncate() local 578 lr_setattr_t *lr; in zfs_log_setattr() local [all …]
|
H A D | zvol.c | 385 byteswap_uint64_array(lr, sizeof (*lr)); in zvol_replay_truncate() 410 byteswap_uint64_array(lr, sizeof (*lr)); in zvol_replay_write() 1081 lr_write_t *lr; in zvol_log_write() local 1105 lr->lr_blkoff = 0; in zvol_log_write() 1273 rangelock_exit(lr); in zvol_strategy() 1380 rangelock_exit(lr); in zvol_read() 1441 rangelock_exit(lr); in zvol_write() 1588 lr_truncate_t *lr; in zvol_log_truncate() local 1597 lr->lr_offset = off; in zvol_log_truncate() 1598 lr->lr_length = len; in zvol_log_truncate() [all …]
|
H A D | zil.c | 236 char *lr = (char *)(zilc + 1); in zil_read_log_block() local 244 bcopy(lr, dst, len); in zil_read_log_block() 249 char *lr = abuf->b_data; in zil_read_log_block() local 260 bcopy(lr, dst, zilc->zc_nused); in zil_read_log_block() 379 lr_t *lr = (lr_t *)lrp; in zil_parse() local 380 reclen = lr->lrc_reclen; in zil_parse() 382 if (lr->lrc_seq > claim_lr_seq) in zil_parse() 389 max_lr_seq = lr->lrc_seq; in zil_parse() 494 blkptr_t *bp = &lr->lr_blkptr; in zil_free_log_record() 3291 (u_longlong_t)lr->lrc_seq, in zil_replay_error() [all …]
|
/illumos-gate/usr/src/cmd/zdb/ |
H A D | zdb_il.c | 92 lr->lr_mode); in zil_prt_rec_create() 95 tab_prefix, lr->lr_uid, lr->lr_gid, lr->lr_gen, lr->lr_rdev); in zil_prt_rec_create() 105 (u_longlong_t)lr->lr_doid, (char *)(lr + 1)); in zil_prt_rec_remove() 112 lr_link_t *lr = arg; in zil_prt_rec_link() local 115 (u_longlong_t)lr->lr_doid, (u_longlong_t)lr->lr_link_obj, in zil_prt_rec_link() 128 (u_longlong_t)lr->lr_sdoid, (u_longlong_t)lr->lr_tdoid); in zil_prt_rec_rename() 159 (u_longlong_t)lr->lr_foid, (u_longlong_t)lr->lr_offset, in zil_prt_rec_write() 197 abd_copy_from_buf(data, lr + 1, lr->lr_length); in zil_prt_rec_write() 217 (u_longlong_t)lr->lr_foid, (longlong_t)lr->lr_offset, in zil_prt_rec_truncate() 230 (u_longlong_t)lr->lr_foid, (u_longlong_t)lr->lr_mask); in zil_prt_rec_setattr() [all …]
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | abandon.c | 113 LDAPRequest *lr = NULL; in do_abandon() local 138 for ( lr = ld->ld_requests; lr != NULL; lr = lr->lr_next ) { in do_abandon() 165 for ( lr = ld->ld_requests; lr != NULL; lr = lr->lr_next ) { in do_abandon() 170 (void)do_abandon( ld, msgid, lr->lr_msgid, in do_abandon() 176 if ( lr != NULL ) { in do_abandon() 182 if ( lr->lr_status != LDAP_REQST_INPROGRESS ) { in do_abandon() 219 if ( lr != NULL ) { in do_abandon() 220 sb = lr->lr_conn->lconn_sb; in do_abandon() 232 if ( lr != NULL ) { in do_abandon() 234 nsldapi_free_connection( ld, lr->lr_conn, NULL, NULL, in do_abandon() [all …]
|
H A D | result.c | 558 lr = NULL; 575 ( lr == NULL ) ? id : lr->lr_origid ); 646 merge_error_info( ld, lr->lr_parent, lr ); 648 lr = lr->lr_parent; 670 lr->lr_res_errno, lr->lr_res_error ? lr->lr_res_error : "", 671 lr->lr_res_matched ? lr->lr_res_matched : "" ); 970 lr->lr_msgid, lr->lr_res_errno, 0 ); 972 lr->lr_res_error ? lr->lr_res_error : "", 973 lr->lr_res_matched ? lr->lr_res_matched : "", 0 ); 995 (long)lr->lr_res_msgtype, lr->lr_res_errno, [all …]
|
H A D | request.c | 269 lr->lr_origid = lr->lr_msgid; in nsldapi_send_server_request() 274 lr->lr_next->lr_prev = lr; in nsldapi_send_server_request() 689 for ( ; lr != NULL; lr = lr->lr_next ) { in nsldapi_dump_requests_and_responses() 691 lr->lr_msgid, lr->lr_origid, ( lr->lr_status == in nsldapi_dump_requests_and_responses() 699 lr->lr_outrefcnt, lr->lr_parentcnt ); in nsldapi_dump_requests_and_responses() 739 lr, lr->lr_origid, lr->lr_msgid ); in nsldapi_free_request() 758 lr->lr_prev->lr_next = lr->lr_next; in nsldapi_free_request() 762 lr->lr_next->lr_prev = lr->lr_prev; in nsldapi_free_request() 1225 for ( lr = ld->ld_requests; lr != NULL; lr = lr->lr_next ) { in nsldapi_find_request_by_msgid() 1231 return( lr ); in nsldapi_find_request_by_msgid() [all …]
|
H A D | unbind.c | 81 LDAPRequest *lr, *nextlr; in ldap_ld_free() local 90 for ( lr = ld->ld_requests; lr != NULL; lr = nextlr ) { in ldap_ld_free() 91 nextlr = lr->lr_next; in ldap_ld_free() 92 nsldapi_free_request( ld, lr, 0 ); in ldap_ld_free()
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_locking_andx.c | 259 struct lreq *lr; in smb_com_locking_andx() local 334 lr = &lrv_ul[i]; in smb_com_locking_andx() 337 &tmp_pid, &lr->off, &lr->len); in smb_com_locking_andx() 363 lr = lrv_lk; in smb_com_locking_andx() 365 result = smb_lock_range_cancel(sr, lr->off, lr->len, lr->pid); in smb_com_locking_andx() 379 lr = &lrv_ul[i]; in smb_com_locking_andx() 381 result = smb_unlock_range(sr, lr->off, lr->len, lr->pid); in smb_com_locking_andx() 389 lr = &lrv_lk[i]; in smb_com_locking_andx() 391 result = smb_lock_range(sr, lr->off, lr->len, lr->pid, in smb_com_locking_andx() 399 lr = &lrv_lk[i]; in smb_com_locking_andx() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | avl.c | 184 node->lr[0] = NULL; in mkNode() 185 node->lr[1] = NULL; in mkNode() 262 if (node->lr[0] != NULL && node->lr[1] != NULL) { in remove_sm() 273 replacement->lr[0] = node->lr[0]; in remove_sm() 274 replacement->lr[1] = node->lr[1]; in remove_sm() 288 *p = node->lr[0]; in remove_sm() 290 *p = node->lr[1]; in remove_sm() 364 node->lr[side] = child->lr[opposite]; in balance() 375 node->lr[side] = grandchild->lr[opposite]; in balance() 376 child->lr[opposite] = grandchild->lr[side]; in balance() [all …]
|
/illumos-gate/usr/src/cmd/ztest/ |
H A D | ztest.c | 1597 dmu_read(zd->zd_os, lr->lr_foid, lr->lr_offset, lr->lr_length, in ztest_log_write() 1663 byteswap_uint64_array(lr, sizeof (*lr)); in ztest_replay_create() 1688 lr->lrz_type, lr->lrz_bonustype, in ztest_replay_create() 1692 lr->lrz_type, lr->lrz_bonustype, in ztest_replay_create() 1698 lr->lrz_type, 0, lr->lrz_bonustype, in ztest_replay_create() 1933 rl = ztest_range_lock(zd, lr->lr_foid, lr->lr_offset, lr->lr_length, in ztest_replay_truncate() 1938 dmu_tx_hold_free(tx, lr->lr_foid, lr->lr_offset, lr->lr_length); in ztest_replay_truncate() 2344 lr = ztest_lr_alloc(sizeof (*lr), NULL); in ztest_truncate() 2352 ztest_lr_free(lr, sizeof (*lr), NULL); in ztest_truncate() 2363 lr = ztest_lr_alloc(sizeof (*lr), NULL); in ztest_setattr() [all …]
|
/illumos-gate/usr/src/lib/libnsl/netdir/ |
H A D | netdir.c | 214 char *lr; /* routines to try */ in __classic_netdir_getbyname() local 219 lr = *((tp->nc_lookups) + i); in __classic_netdir_getbyname() 343 char *lr; /* routines to try */ in __classic_netdir_getbyaddr() local 348 lr = *((tp->nc_lookups) + i); in __classic_netdir_getbyaddr() 400 char *lr; /* routines to try */ in netdir_options() local 416 lr = *((tp->nc_lookups) + i); in netdir_options() 418 if (strcmp(lr, t->tr_name) == 0) in netdir_options() 452 char *lr; /* routines to try */ in uaddr2taddr() local 465 lr = *((tp->nc_lookups) + i); in uaddr2taddr() 510 char *lr; /* routines to try */ in taddr2uaddr() local [all …]
|
/illumos-gate/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) { 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 817 lr = i; in complex() [all …]
|
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/ |
H A D | sbd_zvol.c | 157 locked_range_t *lr; in sbd_zvol_alloc_read_bufs() local 173 lr = rangelock_enter(sl->sl_zvol_rl_hdl, offset, len, RL_READER); in sbd_zvol_alloc_read_bufs() 179 rangelock_exit(lr); in sbd_zvol_alloc_read_bufs() 341 locked_range_t *lr; in sbd_zvol_rele_write_bufs() local 349 lr = rangelock_enter(sl->sl_zvol_rl_hdl, offset, len, RL_WRITER); in sbd_zvol_rele_write_bufs() 357 rangelock_exit(lr); in sbd_zvol_rele_write_bufs() 381 rangelock_exit(lr); in sbd_zvol_rele_write_bufs() 406 locked_range_t *lr = rangelock_enter(sl->sl_zvol_rl_hdl, offset, len, in sbd_zvol_copy_read() local 409 rangelock_exit(lr); in sbd_zvol_copy_read() 436 locked_range_t *lr = rangelock_enter(sl->sl_zvol_rl_hdl, offset, len, in sbd_zvol_copy_write() local [all …]
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | doupdate.c | 790 cost(int fr, int lr) in cost() argument 810 for (cc = 1, ++lr, nr = fr+1; nr <= lr; ++nr, ++cc) { in cost() 820 for (--lr, or = fr; or <= lr; ++or) { in cost() 850 return (LC(lr + 1, lr + 1).cost); in cost() 867 script(int fr, int lr) in script() argument 872 i = j = lr + 1; in script() 936 int i, j, lr; in complex() local 946 lr = i; in complex() 955 (void) cost(fr, lr); in complex() 956 script(fr, lr); in complex() [all …]
|
/illumos-gate/usr/src/test/util-tests/tests/dis/risc-v/ |
H A D | 64.rv64a.s | 26 lr.d s0, (s1) 27 lr.d.aq s1, (s2) 28 lr.d.rl s2, (s3) 29 lr.d.aqrl s3, (s4)
|
H A D | tst.rv32a.s | 26 lr.w s0, (s1) 27 lr.w.aq s1, (s2) 28 lr.w.rl s2, (s3) 29 lr.w.aqrl s3, (s4)
|
H A D | 64.rv64a.out | 1 libdis_test: 2f b4 04 10 lr.d s0,(s1) 2 libdis_test+0x4: af 34 09 14 lr.d.aq s1,(s2) 3 libdis_test+0x8: 2f b9 09 12 lr.d.rl s2,(s3) 4 libdis_test+0xc: af 39 0a 16 lr.d.aqrl s3,(s4)
|
H A D | tst.rv32a.out | 1 libdis_test: 2f a4 04 10 lr.w s0,(s1) 2 libdis_test+0x4: af 24 09 14 lr.w.aq s1,(s2) 3 libdis_test+0x8: 2f a9 09 12 lr.w.rl s2,(s3) 4 libdis_test+0xc: af 29 0a 16 lr.w.aqrl s3,(s4)
|
/illumos-gate/usr/src/cmd/nvmeadm/ |
H A D | nvmeadm_print.c | 2216 nvme_lba_range_t *lr; in nvme_print_feat_lba_range() local 2224 lr = buf; in nvme_print_feat_lba_range() 2254 lr[i].lr_nlb, NULL, NULL); in nvme_print_feat_lba_range() 2258 lr[i].lr_guid[0], lr[i].lr_guid[1], in nvme_print_feat_lba_range() 2259 lr[i].lr_guid[2], lr[i].lr_guid[3], in nvme_print_feat_lba_range() 2260 lr[i].lr_guid[4], lr[i].lr_guid[5], in nvme_print_feat_lba_range() 2261 lr[i].lr_guid[6], lr[i].lr_guid[7], in nvme_print_feat_lba_range() 2262 lr[i].lr_guid[8], lr[i].lr_guid[9], in nvme_print_feat_lba_range() 2263 lr[i].lr_guid[10], lr[i].lr_guid[11], in nvme_print_feat_lba_range() 2264 lr[i].lr_guid[12], lr[i].lr_guid[13], in nvme_print_feat_lba_range() [all …]
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/lmrc/ |
H A D | lmrc_raid.c | 169 lmrc_ld_raid_t *lr = lmrc_ld_raid_get(ld, rm); in lmrc_sync_raidmap_again() local 171 ASSERT(lr != NULL); in lmrc_sync_raidmap_again() 173 ld_sync[ld].lt_tgtid = lr->lr_target_id; in lmrc_sync_raidmap_again() 174 ld_sync[ld].lt_seqnum = lr->lr_seq_num; in lmrc_sync_raidmap_again() 326 lmrc_ld_raid_t *lr = lmrc_ld_raid_get(ld_id, lmrc->l_raidmap); in lmrc_ld_tm_capable() local 328 if (lr->lr_cap.lc_tm_cap != 0) in lmrc_ld_tm_capable()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_log.c | 474 struct lr_alloc lr; in log_file_create() local 483 lr.next = lr.prev = &lr; in log_file_create() 484 lr.lr_flags = 0; in log_file_create() 485 lr.log_record = loghdr; in log_file_create() 486 lr.size = loghdr_len; in log_file_create() 487 lr.alloc_cache = NULL; in log_file_create() 488 lr.exi = NULL; in log_file_create() 489 lr.lb = NULL; in log_file_create() 493 error = nfslog_write_logrecords(logfile, &lr, 1); in log_file_create()
|
/illumos-gate/usr/src/cmd/tail/tests/ |
H A D | tailtests.sh | 170 o=`printf "a\nb\nc\nd\ne\nf\ng\nh\ni\nj\nk\nl\nm\nn\no\n" | $PROG +10lr` 174 o=`printf "a\nb\nc\nd\ne\nf\ng\nh\ni\nj\nk\nl\nm\nn\no\n" | $PROG -10lr` 206 o=`printf "a\nb\nc\nd\ne\nf\ng\nh\ni\nj\nk\nl\nm\nn\no\n" | $PROG +lr` 214 o=`printf "a\nb\nc\nd\ne\nf\ng\nh\ni\nj\nk\nl\nm\nn\no\n" | $PROG -lr`
|