Home
last modified time | relevance | path

Searched refs:lr (Results 1 – 25 of 290) sorted by relevance

12345678910>>...12

/freebsd/contrib/libarchive/libarchive_fe/
H A Dline_reader.c59 struct lafe_line_reader *lr; in lafe_line_reader()
61 lr = calloc(1, sizeof(*lr)); in lafe_line_reader() local
62 if (lr == NULL) in lafe_line_reader()
65 lr->nullSeparator = nullSeparator; in lafe_line_reader()
66 lr->pathname = strdup(pathname); in lafe_line_reader()
69 lr->f = stdin; in lafe_line_reader()
71 lr->f = fopen(pathname, "r"); in lafe_line_reader()
72 if (lr->f == NULL) in lafe_line_reader()
74 lr in lafe_line_reader()
83 lafe_line_reader_find_eol(struct lafe_line_reader * lr) lafe_line_reader_find_eol() argument
92 lafe_line_reader_next(struct lafe_line_reader * lr) lafe_line_reader_next() argument
163 lafe_line_reader_free(struct lafe_line_reader * lr) lafe_line_reader_free() argument
[all...]
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb_il.c68 const _lr_create_t *lr = &lrc->lr_create; in zil_prt_rec_create() local
69 time_t crtime = lr->lr_crtime[0]; in zil_prt_rec_create()
73 name = (char *)(lr + 1); in zil_prt_rec_create()
75 if (lr->lr_common.lrc_txtype == TX_CREATE_ATTR || in zil_prt_rec_create()
76 lr->lr_common.lrc_txtype == TX_MKDIR_ATTR) { in zil_prt_rec_create()
77 lrattr = (lr_attr_t *)(lr + 1); in zil_prt_rec_create()
90 tab_prefix, (u_longlong_t)lr->lr_doid, in zil_prt_rec_create()
91 (u_longlong_t)LR_FOID_GET_OBJ(lr->lr_foid), in zil_prt_rec_create()
92 (u_longlong_t)LR_FOID_GET_SLOTS(lr->lr_foid), in zil_prt_rec_create()
93 (longlong_t)lr->lr_mode); in zil_prt_rec_create()
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzfs_replay.c296 _lr_create_t *lr = &lracl->lr_create; in zfs_replay_create_acl() local
312 ASSERT3U(lr->lr_common.lrc_reclen, >=, sizeof (*lracl)); in zfs_replay_create_acl()
314 txtype = (lr->lr_common.lrc_txtype & ~TX_CI); in zfs_replay_create_acl()
335 if ((error = zfs_zget(zfsvfs, lr->lr_doid, &dzp)) != 0) in zfs_replay_create_acl()
338 objid = LR_FOID_GET_OBJ(lr->lr_foid); in zfs_replay_create_acl()
339 dnodesize = LR_FOID_GET_SLOTS(lr->lr_foid) << DNODE_SHIFT; in zfs_replay_create_acl()
343 lr->lr_mode, lr->lr_uid, lr->lr_gid, lr->lr_rdev, objid); in zfs_replay_create_acl()
353 ZFS_TIME_DECODE(&xva.xva_vattr.va_ctime, lr->lr_crtime); in zfs_replay_create_acl()
354 xva.xva_vattr.va_nblocks = lr->lr_gen; in zfs_replay_create_acl()
361 if (lr->lr_common.lrc_txtype & TX_CI) in zfs_replay_create_acl()
[all …]
H A Dzfs_rlock.c161 zfs_locked_range_t *lr; in zfs_rangelock_enter_writer() local
194 lr = avl_find(tree, new, &where); in zfs_rangelock_enter_writer()
195 if (lr != NULL) in zfs_rangelock_enter_writer()
198 lr = avl_nearest(tree, where, AVL_AFTER); in zfs_rangelock_enter_writer()
199 if (lr != NULL && in zfs_rangelock_enter_writer()
200 lr->lr_offset < new->lr_offset + new->lr_length) in zfs_rangelock_enter_writer()
203 lr = avl_nearest(tree, where, AVL_BEFORE); in zfs_rangelock_enter_writer()
204 if (lr != NULL && in zfs_rangelock_enter_writer()
205 lr->lr_offset + lr->lr_length > new->lr_offset) in zfs_rangelock_enter_writer()
213 if (!lr->lr_write_wanted) { in zfs_rangelock_enter_writer()
[all …]
H A Dzfs_log.c303 _lr_create_t *lr; in zfs_log_create() local
345 lr = (_lr_create_t *)&itx->itx_lr; in zfs_log_create()
346 lr->lr_doid = dzp->z_id; in zfs_log_create()
347 lr->lr_foid = zp->z_id; in zfs_log_create()
349 LR_FOID_SET_SLOTS(lr->lr_foid, zp->z_dnodesize >> DNODE_SHIFT); in zfs_log_create()
350 lr->lr_mode = zp->z_mode; in zfs_log_create()
352 lr->lr_uid = (uint64_t)KUID_TO_SUID(ZTOUID(zp)); in zfs_log_create()
354 lr->lr_uid = fuidp->z_fuid_owner; in zfs_log_create()
357 lr->lr_gid = (uint64_t)KGID_TO_SGID(ZTOGID(zp)); in zfs_log_create()
359 lr->lr_gid = fuidp->z_fuid_group; in zfs_log_create()
[all …]
H A Dzvol.c447 lr_truncate_t *lr = arg2; in zvol_replay_truncate() local
450 ASSERT3U(lr->lr_common.lrc_reclen, >=, sizeof (*lr)); in zvol_replay_truncate()
453 byteswap_uint64_array(lr, sizeof (*lr)); in zvol_replay_truncate()
455 offset = lr->lr_offset; in zvol_replay_truncate()
456 length = lr->lr_length; in zvol_replay_truncate()
481 lr_write_t *lr = arg2; in zvol_replay_write() local
483 char *data = (char *)(lr + 1); /* data follows lr_write_t */ in zvol_replay_write()
488 ASSERT3U(lr->lr_common.lrc_reclen, >=, sizeof (*lr)); in zvol_replay_write()
491 byteswap_uint64_array(lr, sizeof (*lr)); in zvol_replay_write()
493 offset = lr->lr_offset; in zvol_replay_write()
[all …]
/freebsd/lib/libc/arm/string/
H A Dmemmove.S66 stmdb sp!, {r0, lr} /* memmove() returns dest addr */
85 ldmia r1!, {r3, r4, r12, lr}
86 stmia r0!, {r3, r4, r12, lr}
87 ldmia r1!, {r3, r4, r12, lr}
88 stmia r0!, {r3, r4, r12, lr}
94 ldmiage r1!, {r3, r4, r12, lr} /* blat a remaining 16 bytes */
95 stmiage r0!, {r3, r4, r12, lr}
105 ldmiage r1!, {r3, r12, lr}
106 stmiage r0!, {r3, r12, lr}
165 ldr lr, [r1], #4
[all …]
H A Dmemcpy.S138 bxeq lr /* Return now if done */
163 bxeq lr /* Return now if done */
190 bxeq lr /* Return now if done */
194 bxeq lr /* Return now if done */
203 bx lr
243 bxeq lr /* Return now if done */
282 bxeq lr /* Return now if done */
321 bxeq lr /* Return now if done */
338 bxeq lr
346 bx lr
[all …]
/freebsd/sys/crypto/openssl/arm/
H A Darmv4cpuid.S25 bx lr
27 stmdb sp!,{r4,r5,r6,lr}
44 ldmia sp!,{r4,r5,r6,lr}
45 tst lr,#1
46 moveq pc,lr
47 .word 0xe12fff1e @ bx lr
82 bx lr
84 tst lr,#1
85 moveq pc,lr
86 .word 0xe12fff1e @ bx lr
[all …]
/freebsd/sys/netinet6/
H A Din6_fib_algo.c129 struct lradix6_data *lr; in lradix6_init() local
134 lr = malloc(sizeof(struct lradix6_data), M_RTABLE, M_NOWAIT | M_ZERO); in lradix6_init()
135 if (lr == NULL || !rn_inithead((void **)&lr->rnh, OFF_LEN_INET6)) in lradix6_init()
144 lr->mem = mem; in lradix6_init()
145 lr->radix_mem = (void *)roundup2((uintptr_t)mem, CACHE_LINE_SIZE); in lradix6_init()
146 lr->alloc_items = count; in lradix6_init()
147 lr->fd = fd; in lradix6_init()
149 *_data = lr; in lradix6_init()
157 struct lradix6_data *lr = (struct lradix6_data *)_data; in lradix6_destroy() local
159 if (lr->rnh != NULL) in lradix6_destroy()
[all …]
/freebsd/sys/arm/arm/
H A Dblockio.S63 stmfd sp!, {fp, ip, lr, pc}
116 stmfd sp!, {fp, ip, lr, pc}
168 movle pc, lr
216 movle pc, lr
279 movle pc, lr
291 stmfd sp!, {r4,r5,lr}
296 ldr lr, [r0]
298 orr r3, r3, lr, lsl #16
302 ldr lr, [r0]
304 orr r4, r4, lr, lsl #16
[all …]
H A Dexception.S81 str lr, [sp, #-4]!; /* Push the return address */ \
102 ldr lr, [sp], #4; /* Pull the return address */ \
114 mov r0, lr; /* Save xxx32 r14 */ \
126 str lr, [sp, #-4]!; /* Push SVC lr */ \
152 ldmia sp, {sp, lr, pc}^ /* Restore lr and exit */
207 movs pc, lr /* Return to userland. */
236 sub lr, lr, #4 /* Adjust the lr. Transition to scv32 */
238 adr lr, exception_exit /* Return from handler via standard */
252 sub lr, lr, #8 /* Adjust the lr. Transition to scv32 */
254 adr lr, exception_exit /* Exception exit routine */
[all …]
/freebsd/crypto/openssl/crypto/des/asm/
H A Dcrypt586.pl170 local($l,$r,$tt,$lr)=@_;
178 if ($lr != 3)
180 if (($lr-3) < 0)
181 { &rotr($tt, 3-$lr); }
182 else { &rotl($tt, $lr-3); }
184 if ($lr != 2)
186 if (($lr-2) < 0)
187 { &rotr($r, 2-$lr); }
188 else { &rotl($r, $lr-2); }
194 local($l,$r,$tt,$lr)=@_;
[all …]
H A Ddes-586.pl278 local($l,$r,$tt,$lr)=@_;
286 if ($lr != 3)
288 if (($lr-3) < 0)
289 { &rotr($tt, 3-$lr); }
290 else { &rotl($tt, $lr-3); }
292 if ($lr != 2)
294 if (($lr-2) < 0)
295 { &rotr($r, 2-$lr); }
296 else { &rotl($r, $lr-2); }
302 local($l,$r,$tt,$lr)=@_;
[all …]
/freebsd/sys/netinet/
H A Din_fib_algo.c561 struct lradix4_data *lr; in lradix4_init() local
566 lr = malloc(sizeof(struct lradix4_data), M_RTABLE, M_NOWAIT | M_ZERO); in lradix4_init()
567 if (lr == NULL || !rn_inithead((void **)&lr->rnh, OFF_LEN_INET)) in lradix4_init()
573 lr->mem = malloc(sz, M_RTABLE, M_NOWAIT | M_ZERO); in lradix4_init()
574 if (lr->mem == NULL) in lradix4_init()
577 lr->rt_base = (char *)roundup2((uintptr_t)lr->mem, CACHE_LINE_SIZE); in lradix4_init()
578 lr->alloc_items = count; in lradix4_init()
579 lr->fd = fd; in lradix4_init()
581 *_data = lr; in lradix4_init()
589 struct lradix4_data *lr = (struct lradix4_data *)_data; in lradix4_destroy() local
[all …]
/freebsd/stand/uboot/arch/arm/
H A Dstart.S46 push {r0, r1, r9, lr}
65 pop {r0, r1, r9, lr}
80 mov r8, lr
82 mov lr, r8
88 mov pc, lr
106 str lr, [ip, #16]
111 ldr lr, =return_from_syscall
117 ldr lr, [ip, #16]
121 mov pc, lr
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/hexagon/
H A Dcommon_entry_exit_abi2.S52 jumpr lr
67 jumpr lr
79 jumpr lr
90 jumpr lr
98 jumpr lr
105 jumpr lr
128 jumpr lr
144 jumpr lr
157 jumpr lr
170 jumpr lr
[all …]
H A Dcommon_entry_exit_abi1.S51 jumpr lr
69 jumpr lr
81 lr = memw(fp+#4) define
87 jumpr lr
101 jumpr lr
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors_vfork_arm.inc.S12 push {r4, lr}
14 pop {r4, lr}
15 str lr, [r0]
22 mov lr, pc
36 ldr lr, [r0]
39 mov pc, lr
/freebsd/sys/powerpc/powerpc/
H A Ddb_trace.c96 { "lr", DB_OFFSET(lr), db_frame },
134 db_addr_t stackframe, lr, *args; in db_backtrace() local
187 lr = *(db_addr_t *)(stackframe + 16) - 4; in db_backtrace()
189 lr = *(db_addr_t *)(stackframe + 4) - 4; in db_backtrace()
191 if ((lr & 3) || (lr < 0x100)) { in db_backtrace()
192 db_printf("saved LR(0x%zx) is invalid.", lr); in db_backtrace()
208 if ((lr + CALLOFFSET == (db_addr_t) &trapexit) || in db_backtrace()
209 (lr + CALLOFFSET == (db_addr_t) &asttrapexit)) { in db_backtrace()
266 lr = (db_addr_t) tf->srr0; in db_backtrace()
267 db_printsym(lr, DB_STGY_ANY); in db_backtrace()
[all …]
/freebsd/contrib/llvm-project/libunwind/src/
H A DUnwindRegistersRestore.S729 mov lr, r3 @ restore pc into lr
732 @ Use lr as base so that r0 can be restored.
733 mov lr, r0
736 @ . the pc (r15) and lr (r14) cannot both be in the list in an LDM instruction
737 ldm lr, {r0-r12}
738 ldr sp, [lr, #52]
739 ldr lr, [lr, #60] @ restore pc into lr
743 mov r12, lr
746 JMP(lr)
/freebsd/contrib/arm-optimized-routines/string/arm/
H A Dasmdefs.h132 pacbti ip, lr, sp
134 pac ip, lr, sp
150 push {r\first-r\last, ip, lr}
165 push {r\first-r\last, lr}
180 push {r\first, ip, lr}
195 push {r\first, lr}
211 push {ip, lr}
224 push {lr}
252 pop {r\first-r\last, ip, lr}
265 pop {r\first-r\last, lr}
[all …]
/freebsd/lib/libutil/
H A Dlogin_class.c76 struct login_res *lr; in setclassresources() local
81 for (lr = resources; lr->what != NULL; ++lr) { in setclassresources()
96 if (getrlimit(lr->why, &rlim) != 0) in setclassresources()
97 syslog(LOG_ERR, "getting %s resource limit: %m", lr->what); in setclassresources()
104 sprintf(name_cur, "%s-cur", lr->what); in setclassresources()
105 sprintf(name_max, "%s-max", lr->what); in setclassresources()
107 rcur = (*lr->who)(lc, lr->what, rcur, rcur); in setclassresources()
108 rmax = (*lr->who)(lc, lr->what, rmax, rmax); in setclassresources()
109 rlim.rlim_cur = (*lr->who)(lc, name_cur, rcur, rcur); in setclassresources()
110 rlim.rlim_max = (*lr->who)(lc, name_max, rmax, rmax); in setclassresources()
[all …]
/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.c1943 ztest_log_create(ztest_ds_t *zd, dmu_tx_t *tx, lr_create_t *lr) in ztest_log_create() argument
1945 char *name = (char *)&lr->lr_data[0]; /* name follows lr */ in ztest_log_create()
1952 itx = zil_itx_create(TX_CREATE, sizeof (*lr) + namesize); in ztest_log_create()
1953 memcpy(&itx->itx_lr + 1, &lr->lr_create.lr_common + 1, in ztest_log_create()
1954 sizeof (*lr) + namesize - sizeof (lr_t)); in ztest_log_create()
1960 ztest_log_remove(ztest_ds_t *zd, dmu_tx_t *tx, lr_remove_t *lr, uint64_t object) in ztest_log_remove() argument
1962 char *name = (char *)&lr->lr_data[0]; /* name follows lr */ in ztest_log_remove()
1969 itx = zil_itx_create(TX_REMOVE, sizeof (*lr) + namesize); in ztest_log_remove()
1970 memcpy(&itx->itx_lr + 1, &lr->lr_common + 1, in ztest_log_remove()
1971 sizeof (*lr) + namesize - sizeof (lr_t)); in ztest_log_remove()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/arm/
H A Dswitch8.S33 ldrb ip, [lr, #-1] // get first byte in table
36 ldrsblo r0, [lr, r0] // get indexed byte out of table
37 ldrsbhs r0, [lr, ip] // if out of range, use last entry in table
38 add ip, lr, r0, lsl #1 // compute label = lr + element*2

12345678910>>...12