Searched refs:rl (Results 1 - 25 of 51) sorted by relevance

123

/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Ddebug.c39 * @rl:
45 void ntfs_debug_runlist_dump(const runlist_element *rl) argument
53 if (!rl) {
59 LCN lcn = (rl + i)->lcn;
67 (long long)rl[i].vcn, lcn_str[idx],
68 (long long)rl[i].length,
69 rl[i].length ? "" : " (runlist end)");
72 (long long)rl[i].vcn, (long long)rl[i].lcn,
73 (long long)rl[
[all...]
H A Drunlist.c90 * @rl: original runlist
91 * @old_size: number of runlist elements in the original runlist @rl
104 static runlist_element *ntfs_rl_realloc(runlist_element *rl, int old_size, argument
110 return rl;
111 return realloc(rl, new_size);
123 runlist_element *ntfs_rl_extend(ntfs_attr *na, runlist_element *rl, argument
130 if (na->rl && rl) {
131 irl = (int)(rl - na->rl);
748 runlist_element *rl; local
789 runlist_element *rl; /* The output runlist. */ local
1037 ntfs_rl_vcn_to_lcn(const runlist_element *rl, const VCN vcn) argument
1096 ntfs_rl_pread(const ntfs_volume *vol, const runlist_element *rl, const s64 pos, s64 count, void *b) argument
1185 ntfs_rl_pwrite(const ntfs_volume *vol, const runlist_element *rl, s64 ofs, const s64 pos, s64 count, void *b) argument
1309 ntfs_get_size_for_mapping_pairs(const ntfs_volume *vol, const runlist_element *rl, const VCN start_vcn, int max_size) argument
1472 ntfs_mapping_pairs_build(const ntfs_volume *vol, u8 *dst, const int dst_len, const runlist_element *rl, const VCN start_vcn, runlist_element const **stop_rl) argument
1626 runlist *rl; local
1700 ntfs_rl_sparse(runlist *rl) argument
1729 ntfs_rl_get_compressed_size(ntfs_volume *vol, runlist *rl) argument
1773 test_rl_dump_runlist(const runlist_element *rl) argument
[all...]
H A Ddebug.h34 extern void ntfs_debug_runlist_dump(const struct _runlist_element *rl);
36 static __inline__ void ntfs_debug_runlist_dump(const struct _runlist_element *rl __attribute__((unused))) {}
H A Drunlist.h52 extern runlist_element *ntfs_rl_extend(ntfs_attr *na, runlist_element *rl,
55 extern LCN ntfs_rl_vcn_to_lcn(const runlist_element *rl, const VCN vcn);
57 extern s64 ntfs_rl_pread(const ntfs_volume *vol, const runlist_element *rl,
59 extern s64 ntfs_rl_pwrite(const ntfs_volume *vol, const runlist_element *rl,
71 const runlist_element *rl, const VCN start_vcn, int max_size);
77 const int dst_len, const runlist_element *rl,
82 extern int ntfs_rl_sparse(runlist *rl);
83 extern s64 ntfs_rl_get_compressed_size(ntfs_volume *vol, runlist *rl);
H A Dlcnalloc.c243 runlist *rl = NULL, *trl; local
266 rl = ntfs_malloc(0x1000);
267 if (rl) {
268 rl[0].vcn = start_vcn;
269 rl[0].lcn = LCN_RL_NOT_MAPPED;
270 rl[0].length = 0;
359 trl = realloc(rl, rlsize);
365 rl = trl;
389 rl[rlpos - 1].length = ++prev_run_len;
392 rl[rlpo
576 ntfs_cluster_free_from_rl(ntfs_volume *vol, runlist *rl) argument
666 runlist *rl; local
[all...]
H A Dattrib.c151 runlist *rl; local
198 rl = ntfs_mapping_pairs_decompress(vol, a, NULL);
199 if (!rl) {
215 for (i = 0, total = 0; rl[i].length; i++) {
216 if (total + (rl[i].length << vol->cluster_size_bits) >=
225 * rl[i].length << vol->cluster_size_bits, do the
233 intbuf = ntfs_malloc(rl[i].length << vol->cluster_size_bits);
235 free(rl);
249 r = ntfs_pread(vol->dev, rl[i].lcn <<
250 vol->cluster_size_bits, rl[
576 runlist_element *rl; local
608 runlist_element *rl; local
704 runlist_element *rl; local
853 runlist_element *rl; local
916 runlist_element *rl; local
1224 ntfs_attr_fill_hole(ntfs_attr *na, s64 count, s64 *ofs, runlist_element **rl, VCN *update_from) argument
1437 runlist_element *rl = *prl; local
1598 runlist_element *rl = *prl; local
1768 runlist_element *rl; local
2315 runlist_element *rl; local
4734 runlist *rl; local
6107 runlist *rl, *rln; local
[all...]
H A Dcompress.c504 static BOOL ntfs_is_cb_compressed(ntfs_attr *na, runlist_element *rl, argument
513 cb_clusters -= rl->length - (cb_start_vcn - rl->vcn);
516 rl++;
518 if (rl->lcn < LCN_HOLE || !rl->length) {
519 cb_start_vcn = rl->vcn;
520 rl = ntfs_attr_find_vcn(na, rl->vcn);
521 if (!rl || r
569 runlist_element *rl; local
826 read_clusters(ntfs_volume *vol, const runlist_element *rl, s64 offs, u32 to_read, char *inbuf) argument
868 write_clusters(ntfs_volume *vol, const runlist_element *rl, s64 offs, s32 to_write, const char *outbuf) argument
913 ntfs_comp_set(ntfs_attr *na, runlist_element *rl, s64 offs, u32 insz, const char *inbuf) argument
1012 valid_compressed_run(ntfs_attr *na, runlist_element *rl, BOOL fullcheck, const char *text) argument
1076 ntfs_compress_overwr_free(ntfs_attr *na, runlist_element *rl, s32 usedcnt, s32 freecnt, VCN *update_from) argument
1288 ntfs_compress_free(ntfs_attr *na, runlist_element *rl, s64 used, s64 reserved, BOOL appending, VCN *update_from) argument
1425 ntfs_read_append(ntfs_attr *na, const runlist_element *rl, s64 offs, u32 compsz, s32 pos, BOOL appending, char *outbuf, s64 to_write, const void *b) argument
1469 ntfs_flush(ntfs_attr *na, runlist_element *rl, s64 offs, const char *outbuf, s32 count, BOOL compress, BOOL appending, VCN *update_from) argument
[all...]
H A Dlcnalloc.h44 extern int ntfs_cluster_free_from_rl(ntfs_volume *vol, runlist *rl);
H A Dmft.c651 runlist_element *rl, *rl2 = NULL; /* silence compiler warning */ local
666 rl = ntfs_attr_find_vcn(mftbmp_na, (mftbmp_na->allocated_size - 1) >>
668 if (!rl || !rl->length || rl->lcn < 0) {
671 if (rl)
675 lcn = rl->lcn + rl->length;
677 rl2 = ntfs_cluster_alloc(vol, rl[1].vcn, 1, lcn, DATA_ZONE);
683 rl
973 runlist_element *rl, *rl2; local
[all...]
/haiku-fatelf/src/libs/x86emu/
H A Dfpu.c99 int mod, rl, rh; local
104 FETCH_DECODE_MODRM(mod, rh, rl);
107 DECODE_PRINTINSTR32(x86emu_fpu_op_d9_tab, mod, rh, rl);
110 DECODE_PRINTF(x86emu_fpu_op_d9_tab1[(rh << 3) + rl]);
115 destoffset = decode_rm00_address(rl);
119 destoffset = decode_rm01_address(rl);
123 destoffset = decode_rm10_address(rl);
127 stkelem = (u8) rl;
148 switch (rl) {
160 switch (rl) {
332 int mod, rl, rh; local
417 int mod, rl, rh; local
549 int mod, rl, rh; local
663 int mod, rl, rh; local
773 int mod, rl, rh; local
896 int mod, rl, rh; local
[all...]
H A Dops2.c207 int mod, rl, rh; local
284 FETCH_DECODE_MODRM(mod, rh, rl);
287 destoffset = decode_rm00_address(rl);
292 destoffset = decode_rm01_address(rl);
297 destoffset = decode_rm10_address(rl);
302 destreg = DECODE_RM_BYTE_REGISTER(rl);
363 int mod, rl, rh; local
369 FETCH_DECODE_MODRM(mod, rh, rl);
376 srcoffset = decode_rm00_address(rl);
389 srcoffset = decode_rm00_address(rl);
489 int mod, rl, rh; local
631 int mod, rl, rh; local
786 int mod, rl, rh; local
930 int mod, rl, rh; local
1072 int mod, rl, rh; local
1197 int mod, rl, rh; local
1387 int mod, rh, rl; local
1437 int mod, rl, rh; local
1581 int mod, rh, rl; local
1631 int mod, rh, rl; local
1681 int mod, rl, rh; local
1802 int mod, rl, rh; local
1859 int mod, rl, rh; local
2114 int mod, rl, rh; local
2258 int mod, rl, rh; local
2387 int mod, rl, rh; local
2516 int mod, rl, rh; local
2637 int mod, rl, rh; local
[all...]
H A Dops.c114 int mod, rl, rh; local
121 FETCH_DECODE_MODRM(mod, rh, rl);
124 destoffset = decode_rm00_address(rl);
134 destoffset = decode_rm01_address(rl);
144 destoffset = decode_rm10_address(rl);
154 destreg = DECODE_RM_BYTE_REGISTER(rl);
173 int mod, rl, rh; local
178 FETCH_DECODE_MODRM(mod, rh, rl);
185 destoffset = decode_rm00_address(rl);
198 destoffset = decode_rm00_address(rl);
298 int mod, rl, rh; local
354 int mod, rl, rh; local
552 int mod, rl, rh; local
611 int mod, rl, rh; local
736 int mod, rl, rh; local
792 int mod, rl, rh; local
988 int mod, rl, rh; local
1047 int mod, rl, rh; local
1172 int mod, rl, rh; local
1228 int mod, rl, rh; local
1426 int mod, rl, rh; local
1485 int mod, rl, rh; local
1610 int mod, rl, rh; local
1666 int mod, rl, rh; local
1864 int mod, rl, rh; local
1927 int mod, rl, rh; local
2052 int mod, rl, rh; local
2108 int mod, rl, rh; local
2310 int mod, rl, rh; local
2369 int mod, rl, rh; local
2494 int mod, rl, rh; local
2550 int mod, rl, rh; local
2748 int mod, rl, rh; local
2807 int mod, rl, rh; local
2932 int mod, rl, rh; local
2988 int mod, rl, rh; local
3186 int mod, rl, rh; local
3242 int mod, rl, rh; local
3361 int mod, rl, rh; local
3417 int mod, rl, rh; local
4598 int mod, rl, rh; local
4838 int mod, rl, rh; local
5516 int mod, rl, rh; local
5647 int mod, rl, rh; local
5838 int mod, rl, rh; local
5965 int mod, rl, rh; local
6135 int mod, rl, rh; local
6191 int mod, rl, rh; local
6310 int mod, rl, rh; local
6378 int mod, rl, rh; local
6521 int mod, rl, rh; local
6573 int mod, rl, rh; local
6680 int mod, rl, rh; local
6736 int mod, rl, rh; local
6855 int mod, rl, rh; local
6911 int mod, rl, rh; local
6993 int mod, rl, rh; local
7055 int mod, rl, rh; local
8674 int mod, rl, rh; local
8785 int mod, rl, rh; local
8981 int mod, rh, rl; local
9031 int mod, rh, rl; local
9081 int mod, rl, rh; local
9137 int mod, rl, rh; local
9438 int mod, rl, rh; local
9533 int mod, rl, rh; local
9686 int mod, rl, rh; local
9783 int mod, rl, rh; local
10464 int mod, rl, rh; local
10749 int mod, rl, rh; local
11529 int mod, rh, rl; local
11647 int mod, rh, rl; local
[all...]
/haiku-fatelf/src/bin/bash/lib/readline/examples/
H A DMakefile19 EXECUTABLES = fileman rltest rl
29 rl: rl.o
30 $(CC) $(LDFLAGS) -o $@ rl.o -lreadline -ltermcap
43 rl.o: rl.c
/haiku-fatelf/headers/libs/x86emu/x86emu/
H A Dfpu_regs.h110 #define DECODE_PRINTINSTR32(t,mod,rh,rl) \
112 #define DECODE_PRINTINSTR256(t,mod,rh,rl) \
113 DECODE_PRINTF(t[(mod<<6)+(rh<<3)+(rl)]);
115 #define DECODE_PRINTINSTR32(t,mod,rh,rl)
116 #define DECODE_PRINTINSTR256(t,mod,rh,rl)
H A Ddecode.h46 #define FETCH_DECODE_MODRM(mod,rh,rl) fetch_decode_modrm(&mod,&rh,&rl)
/haiku-fatelf/src/add-ons/kernel/file_systems/netfs/server/
H A DNodeMonitor.cpp28 struct rlimit rl; local
29 rl.rlim_cur = fCurrentNodeMonitorLimit;
30 rl.rlim_max = RLIM_SAVED_MAX;
31 setrlimit(RLIMIT_NOVMON, &rl);
127 struct rlimit rl; local
128 rl.rlim_cur = newLimit;
129 rl.rlim_max = RLIM_SAVED_MAX;
130 if (setrlimit(RLIMIT_NOVMON, &rl) < 0)
H A DFDManager.cpp40 struct rlimit rl; local
41 rl.rlim_cur = fFDLimit;
42 rl.rlim_max = RLIM_SAVED_MAX;
43 if (setrlimit(RLIMIT_NOFILE, &rl) < 0)
228 struct rlimit rl; local
229 rl.rlim_cur = newLimit;
230 rl.rlim_max = RLIM_SAVED_MAX;
231 if (setrlimit(RLIMIT_NOFILE, &rl) < 0)
/haiku-fatelf/src/bin/gdb/readline/
H A Dundo.c176 UNDO_LIST *rl; local
178 for (rl = rl_undo_list; rl; rl = rl->next)
180 if (rl->what == type)
182 rl->start = start;
183 rl->end = end;
/haiku-fatelf/src/system/libroot/os/arch/x86/
H A Dcompatibility.c35 struct rlimit rl; local
38 rl.rlim_cur = num;
39 rl.rlim_max = RLIM_SAVED_MAX;
40 if (setrlimit(RLIMIT_NOVMON, &rl) < 0)
49 struct rlimit rl; local
52 rl.rlim_cur = num;
53 rl.rlim_max = RLIM_SAVED_MAX;
54 if (setrlimit(RLIMIT_NOFILE, &rl) < 0)
/haiku-fatelf/src/bin/gdb/readline/examples/
H A DMakefile.in52 EXECUTABLES = fileman rltest rl rlcat rlversion histexamp
53 OBJECTS = fileman.o rltest.o rl.o rlversion.o histexamp.o
58 rl: rl.o $(READLINE_LIB)
59 $(CC) $(LDFLAGS) -o $@ rl.o -lreadline $(TERMCAP_LIB)
86 rl.o: rl.c
92 rl.o: $(top_srcdir)/readline.h
/haiku-fatelf/src/bin/bash/lib/readline/
H A Dundo.c236 UNDO_LIST *rl; local
238 for (rl = rl_undo_list; rl; rl = rl->next)
240 if (rl->what == type)
242 rl->start = start;
243 rl->end = end;
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_mutex_init/
H A D5-1.c105 struct rlimit rl; local
156 rl.rlim_max=1024*1024*64;
157 rl.rlim_cur=1024*1024*64;
158 if ((ret = setrlimit(RLIMIT_AS, &rl)))
/haiku-fatelf/src/add-ons/kernel/drivers/network/rtl8139/pci/
H A Dglue.c10 HAIKU_FBSD_DRIVER_GLUE(rtl8139, rl, pci);
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_init/
H A D4-1.c105 struct rlimit rl; local
161 rl.rlim_max=1024*1024*64;
162 rl.rlim_cur=1024*1024*64;
163 if ((ret = setrlimit(RLIMIT_AS, &rl)))
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/stress/threads/pthread_cond_init/
H A Ds-c.c101 struct rlimit rl; local
118 rl.rlim_max=1024 * 1024 * 32 * SCALABILITY_FACTOR;
119 rl.rlim_cur=rl.rlim_max;
120 if ((ret = setrlimit(RLIMIT_AS, &rl)))
123 output(";Memory is now limited to %dMb\n", rl.rlim_max >> 20);

Completed in 400 milliseconds

123