Home
last modified time | relevance | path

Searched full:lr (Results 1 – 25 of 751) sorted by relevance

12345678910>>...31

/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/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.c37 * lr = rangelock_enter(zp, off, len, lock_type);
38 * rangelock_reduce(lr, off, len); // optional
39 * rangelock_exit(lr);
161 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()
[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 …]
/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()
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()
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()
96 (u_longlong_t)lr->lr_uid, (u_longlong_t)lr->lr_gid, in zil_prt_rec_create()
97 (u_longlong_t)lr->lr_gen, (u_longlong_t)lr->lr_rdev); in zil_prt_rec_create()
[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 …]
H A Daes-armv4.S177 stmdb sp!,{r1,r4-r12,lr}
273 ldmia sp!,{r4,r5,r6,r7,r8,r9,r10,r11,r12,lr}
274 tst lr,#1
275 moveq pc,lr @ be binary compatible with V4, yet
283 str lr,[sp,#-4]! @ push lr
291 mov lr,#255
293 and r7,lr,r0
294 and r8,lr,r0,lsr#8
295 and r9,lr,r0,lsr#16
299 and r7,lr,r1,lsr#16 @ i0
[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/crypto/openssl/crypto/
H A Darmv4cpuid.pl48 bx lr
50 stmdb sp!,{r4-r6,lr}
67 ldmia sp!,{r4-r6,lr}
68 tst lr,#1
69 moveq pc,lr
70 .word 0xe12fff1e @ bx lr
105 bx lr
107 tst lr,#1
108 moveq pc,lr
109 .word 0xe12fff1e @ bx lr
[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.S78 * Since the current mode is used, the SVC lr field is not defined.
82 str lr, [sp, #-4]!; /* Push the return address */ \
93 * Since the current mode is used, the SVC lr field is ignored.
103 ldr lr, [sp], #4; /* Pull the return address */ \
110 * stored. The SVC lr field is used to store the previous value of
111 * lr in SVC mode.
115 mov r0, lr; /* Save xxx32 r14 */ \
127 str lr, [sp, #-4]!; /* Push SVC lr */ \
142 * This should be used when the SVC lr register needs to be restored on
153 ldmia sp, {sp, lr, pc}^ /* Restore lr and exit */
[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/contrib/arm-optimized-routines/string/arm/
H A Dasmdefs.h77 * - push_lr - Determines whether to push lr to the stack on function entry.
91 * prologue push_ip=1, push_lr=1 -> push {ip, lr}
132 pacbti ip, lr, sp
134 pac ip, lr, sp
149 /* Case 1: push register range, ip and lr registers. */
150 push {r\first-r\last, ip, lr}
164 /* Case 3: push register range and lr register. */
165 push {r\first-r\last, lr}
179 /* Case 5: push single GP register plus ip and lr registers. */
180 push {r\first, ip, lr}
[all …]
/freebsd/crypto/openssl/crypto/aes/asm/
H A Daes-armv4.pl208 stmdb sp!,{r1,r4-r12,lr}
304 ldmia sp!,{r4-r12,lr}
305 tst lr,#1
306 moveq pc,lr @ be binary compatible with V4, yet
307 bx lr @ interoperable with Thumb ISA:-)
314 str lr,[sp,#-4]! @ push lr
322 mov lr,#255
324 and $i1,lr,$s0
325 and $i2,lr,$s0,lsr#8
326 and $i3,lr,$s0,lsr#16
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/hexagon/
H A Dcommon_entry_exit_abi2.S37 // The compiler knows that the __save_* functions clobber LR. No other
52 jumpr lr
67 jumpr lr
79 jumpr lr
90 jumpr lr
98 jumpr lr
105 jumpr lr
109 // For each of the *_before_tailcall functions, jumpr lr is executed in parallel
110 // with deallocframe. That way, the return gets the old value of lr, which is
111 // where these functions need to return, and at the same time, lr gets the value
[all …]
H A Dcommon_entry_exit_abi1.S40 // The compiler knows that the __save_* functions clobber LR. No other
51 jumpr lr
58 // For each of the *_before_tailcall functions, jumpr lr is executed in parallel
59 // with deallocframe. That way, the return gets the old value of lr, which is
60 // where these functions need to return, and at the same time, lr gets the value
69 jumpr lr
76 // Here we use the extra load bandwidth to restore LR early, allowing the return
81 lr = memw(fp+#4) define
87 jumpr lr
101 jumpr lr
H A Dcommon_entry_exit_legacy.S42 // The compiler knows that the __save_* functions clobber LR. No other
60 jumpr lr
67 // For each of the *_before_sibcall functions, jumpr lr is executed in parallel
68 // with deallocframe. That way, the return gets the old value of lr, which is
69 // where these functions need to return, and at the same time, lr gets the value
103 jumpr lr
110 // Here we use the extra load bandwidth to restore LR early, allowing the return
125 lr = memw(fp+#4) define
131 jumpr lr
155 jumpr lr
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLiveIntervalCalc.h29 /// Extend the live range of @p LR to reach all uses of Reg.
31 /// If @p LR is a main range, or if @p LI is null, then all uses must be
32 /// jointly dominated by the definitions from @p LR. If @p LR is a subrange
34 /// all uses must be jointly dominated by the definitions from @p LR
35 /// together with definitions of other lanes where @p LR becomes undefined
37 /// If @p LR is a main range, the @p LaneMask should be set to ~0, i.e.
39 void extendToUses(LiveRange &LR, Register Reg, LaneBitmask LaneMask,
48 void createDeadDefs(LiveRange &LR, Register Reg);
50 /// Extend the live range of @p LR to reach all uses of Reg.
54 void extendToUses(LiveRange &LR, MCRegister PhysReg) { in extendToUses() argument
[all …]
/freebsd/stand/uboot/arch/arm/
H A Dstart.S46 push {r0, r1, r9, lr}
65 pop {r0, r1, r9, lr}
73 str r8, [ip, #0] /* old gd pointer (use to hold lr) */
80 mov r8, lr
82 mov lr, r8
88 mov pc, lr
102 /* Save caller's lr, r8 and r9 */
106 str lr, [ip, #16]
111 ldr lr, =return_from_syscall
115 /* Restore loader's r8, r9 and lr */
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors_vfork_arm.inc.S11 // Save LR in the off-stack spill area.
12 push {r4, lr}
14 pop {r4, lr}
15 str lr, [r0]
22 mov lr, pc
34 // Restore LR.
36 ldr lr, [r0]
39 mov pc, lr
/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 …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveRangeUtils.h21 /// corresponding segments of a primary live range \p LR to a list of newly
23 /// LR to 0 meaning it should stay or to 1..N meaning it should go to a specific
26 static void DistributeRange(LiveRangeT &LR, LiveRangeT *SplitLRs[], in DistributeRange() argument
29 typename LiveRangeT::iterator J = LR.begin(), E = LR.end(); in DistributeRange()
40 LR.segments.erase(J, E); in DistributeRange()
43 unsigned j = 0, e = LR.getNumValNums(); in DistributeRange()
47 VNInfo *VNI = LR.getValNumInfo(i); in DistributeRange()
53 LR.valnos[j++] = VNI; in DistributeRange()
56 LR.valnos.resize(j); in DistributeRange()
/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/contrib/llvm-project/compiler-rt/lib/builtins/arm/
H A Dswitch8.S16 // function uses the return address in lr to find the start of the table.
21 // the distance from lr to the label, thus making the tables PIC.
29 // from lr to the target label.
33 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>>...31