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

12

/haiku/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
1054 ntfs_rl_vcn_to_lcn(const runlist_element *rl, const VCN vcn) argument
1113 ntfs_rl_pread(const ntfs_volume *vol, const runlist_element *rl, const s64 pos, s64 count, void *b) argument
1202 ntfs_rl_pwrite(const ntfs_volume *vol, const runlist_element *rl, s64 ofs, const s64 pos, s64 count, void *b) argument
1326 ntfs_get_size_for_mapping_pairs(const ntfs_volume *vol, const runlist_element *rl, const VCN start_vcn, int max_size) argument
1489 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
1643 runlist *rl; local
1717 ntfs_rl_sparse(runlist *rl) argument
1746 ntfs_rl_get_compressed_size(ntfs_volume *vol, runlist *rl) argument
1790 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;
391 rl[rlpos - 1].length = ++prev_run_len;
394 rl[rlpo
578 ntfs_cluster_free_from_rl(ntfs_volume *vol, runlist *rl) argument
669 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) >=
226 * rl[i].length << vol->cluster_size_bits, do the
241 if (rl[i].length < intlth)
242 intlth = rl[i].length;
246 free(rl);
261 rl[
630 runlist_element *rl; local
660 runlist_element *rl; local
775 runlist_element *rl; local
930 runlist_element *rl; local
993 runlist_element *rl; local
1301 ntfs_attr_fill_hole(ntfs_attr *na, s64 count, s64 *ofs, runlist_element **rl, VCN *update_from) argument
1522 runlist_element *rl = *prl; local
1684 runlist_element *rl = *prl; local
1856 runlist_element *rl; local
2434 runlist_element *rl; local
5111 runlist *rl; local
6506 runlist *rl, *rln; local
[all...]
H A Dlcnalloc.h44 extern int ntfs_cluster_free_from_rl(ntfs_volume *vol, runlist *rl);
H A Dcompress.c650 static BOOL ntfs_is_cb_compressed(ntfs_attr *na, runlist_element *rl, argument
659 cb_clusters -= rl->length - (cb_start_vcn - rl->vcn);
662 rl++;
664 if (rl->lcn < LCN_HOLE || !rl->length) {
665 cb_start_vcn = rl->vcn;
666 rl = ntfs_attr_find_vcn(na, rl->vcn);
667 if (!rl || r
715 runlist_element *rl; local
981 read_clusters(ntfs_volume *vol, const runlist_element *rl, s64 offs, u32 to_read, char *inbuf) argument
1023 write_clusters(ntfs_volume *vol, const runlist_element *rl, s64 offs, s32 to_write, const char *outbuf) argument
1068 ntfs_comp_set(ntfs_attr *na, runlist_element *rl, s64 offs, u32 insz, const char *inbuf) argument
1168 valid_compressed_run(ntfs_attr *na, runlist_element *rl, BOOL fullcheck, const char *text) argument
1232 ntfs_compress_overwr_free(ntfs_attr *na, runlist_element *rl, s32 usedcnt, s32 freecnt, VCN *update_from) argument
1444 ntfs_compress_free(ntfs_attr *na, runlist_element *rl, s64 used, s64 reserved, BOOL appending, VCN *update_from) argument
1582 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
1626 ntfs_flush(ntfs_attr *na, runlist_element *rl, s64 offs, char *outbuf, s32 count, BOOL compress, BOOL appending, VCN *update_from) argument
[all...]
H A Dmft.c720 runlist_element *rl, *rl2 = NULL; /* silence compiler warning */ local
735 rl = ntfs_attr_find_vcn(mftbmp_na, (mftbmp_na->allocated_size - 1) >>
737 if (!rl || !rl->length || rl->lcn < 0) {
740 if (rl)
744 lcn = rl->lcn + rl->length;
746 rl2 = ntfs_cluster_alloc(vol, rl[1].vcn, 1, lcn, DATA_ZONE);
752 rl
1042 runlist_element *rl, *rl2; local
[all...]
H A Dinode.c587 runlist_element *rl; local
616 rl = vol->mft_na->rl;
617 if (rl) {
618 while (rl->length
619 && ((rl->vcn + rl->length) <= extent_vcn))
620 rl++;
622 if (!rl || (rl
[all...]
/haiku/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/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/src/system/libroot/os/arch/x86/
H A Dcompatibility.c37 struct rlimit rl; local
40 rl.rlim_cur = num;
41 rl.rlim_max = RLIM_SAVED_MAX;
42 if (setrlimit(RLIMIT_NOVMON, &rl) < 0)
51 struct rlimit rl; local
54 rl.rlim_cur = num;
55 rl.rlim_max = RLIM_SAVED_MAX;
56 if (setrlimit(RLIMIT_NOFILE, &rl) < 0)
/haiku/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/src/add-ons/kernel/drivers/network/ether/rtl8139/
H A Dglue.c8 #include <dev/rl/if_rlreg.h>
10 HAIKU_FBSD_DRIVER_GLUE(rtl8139, rl, pci);
/haiku/src/add-ons/kernel/drivers/network/ether/rtl81xx/
H A Dglue.c14 #include <dev/rl/if_rlreg.h>
/haiku/src/kits/tracker/
H A DFilePanel.cpp68 struct rlimit rl; local
69 rl.rlim_cur = 512;
70 rl.rlim_max = RLIM_SAVED_MAX;
71 setrlimit(RLIMIT_NOFILE, &rl);
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dmkntfs.c580 * ntfs_rlwrite - Write to disk the clusters contained in the runlist @rl
584 * If the @rl specifies a completely sparse file, @val is allowed to be NULL.
593 static s64 ntfs_rlwrite(struct ntfs_device *dev, const runlist *rl, argument
606 for (i = 0; rl[i].length; i++) {
607 length = rl[i].length * g_vol->cluster_size;
609 if (rl[i].lcn == -1) {
626 if (dev->d_ops->seek(dev, rl[i].lcn * g_vol->cluster_size,
739 static void deallocate_scattered_clusters(const runlist *rl) argument
743 if (!rl)
745 /* Iterate over all runs in the runlist @rl
771 runlist *rl = NULL, *rlt; local
1128 insert_positioned_attr_in_mft_record(MFT_RECORD *m, const ATTR_TYPES type, const char *name, u32 name_len, const IGNORE_CASE_BOOL ic, const ATTR_FLAGS flags, const runlist *rl, const u8 *val, const s64 val_len) argument
1328 runlist *rl = NULL; local
1885 add_attr_data_positioned(MFT_RECORD *m, const char *name, const u32 name_len, const IGNORE_CASE_BOOL ic, const ATTR_FLAGS flags, const runlist *rl, const u8 *val, const s64 val_len) argument
2098 add_attr_bitmap_positioned(MFT_RECORD *m, const char *name, const u32 name_len, const IGNORE_CASE_BOOL ic, const runlist *rl, const u8 *bitmap, const u32 bitmap_len) argument
4770 runlist *rl = ntfs_mapping_pairs_decompress(g_vol, a, NULL); local
[all...]
/haiku/src/apps/installer/
H A DCopyEngine.cpp71 struct rlimit rl; local
72 rl.rlim_cur = 512;
73 rl.rlim_max = RLIM_SAVED_MAX;
74 setrlimit(RLIMIT_NOFILE, &rl);
/haiku/src/add-ons/kernel/drivers/network/ether/rtl8139/dev/mii/
H A Drlphy.c59 #include <dev/rl/if_rlreg.h>
90 * re(4) and rl(4) fake up a return value of all zeros.
125 if (mii_dev_mac_match(dev, "rl") || mii_dev_mac_match(dev, "re"))
/haiku/src/add-ons/kernel/drivers/network/ether/rtl81xx/dev/mii/
H A Drlphy.c59 #include <dev/rl/if_rlreg.h>
90 * re(4) and rl(4) fake up a return value of all zeros.
125 if (mii_dev_mac_match(dev, "rl") || mii_dev_mac_match(dev, "re"))

Completed in 225 milliseconds

12