Searched refs:offs (Results 1 - 12 of 12) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dcompress.h33 s64 offs, s64 to_write, s64 rounded,
38 s64 offs, VCN *update_from);
H A Dea.c248 size_t offs; local
258 offs = 0;
263 while (ok && (offs < size)) {
264 p_ea = (const EA_ATTR*)&value[offs];
265 nextoffs = offs + le32_to_cpu(p_ea->next_entry_offset);
267 ok = (nextoffs > offs)
272 && ((offs + offsetof(EA_ATTR,name)
276 && ((offs + offsetof(EA_ATTR,name)
293 offs = nextoffs;
H A Dcompress.c283 int offs; /* offset to best match */ local
342 offs = pctx->rel;
348 q = (~offs << (16 - bp_cur)) + (j - i - 3);
388 q = (~offs << (16 - bp_cur)) +
859 " inode %lld offs 0x%llx\n",
919 " inode %lld offs 0x%llx\n",
982 s64 offs, u32 to_read, char *inbuf)
1000 count -= offs;
1001 xpos += offs;
1024 s64 offs, s3
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
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
1670 ntfs_compressed_pwrite(ntfs_attr *na, runlist_element *wrl, s64 wpos, s64 offs, s64 to_write, s64 rounded, const void *b, int compressed_part, VCN *update_from) argument
1873 ntfs_compressed_close(ntfs_attr *na, runlist_element *wrl, s64 offs, VCN *update_from) argument
[all...]
H A Dreparse.c472 unsigned int offs; local
495 offs = le16_to_cpu(mount_point_data->subst_name_offset);
501 + offs + lth)) > size))
512 offs = le16_to_cpu(symlink_data->subst_name_offset);
516 + offs + lth)) > size)
789 unsigned int offs; local
814 offs = le16_to_cpu(mount_point_data->subst_name_offset);
818 (ntfschar*)&mount_point_data->path_buffer[offs],
826 offs = le16_to_cpu(symlink_data->subst_name_offset);
828 p = (ntfschar*)&symlink_data->path_buffer[offs];
[all...]
H A Dxattrs.c239 static int basicread(void *fileid, char *buf, size_t size, off_t offs __attribute__((unused)))
249 static int localread(void *fileid, char *buf, size_t size, off_t offs) argument
252 AT_UNNAMED, 0, buf, size, offs));
363 off_t offs; local
368 offs = 0;
373 item = getmappingitem(reader, fileid, &offs,
H A Dsecurity.c93 le16 offs; member in struct:SII
111 le16 offs; member in struct:SDH
444 static int entersecurity_stuff(ntfs_volume *vol, off_t offs) argument
458 STREAM_SDS, 4, stuff, STUFFSZ, offs);
461 offs += STUFFSZ;
486 le32 hash, le32 keyid, off_t offs, int gap)
513 phsds->offset = cpu_to_le64(offs);
517 offs - gap);
520 offs - gap + ALIGN_SDS_BLOCK);
532 4, offs
484 entersecurity_data(ntfs_volume *vol, const SECURITY_DESCRIPTOR_RELATIVE *attr, s64 attrsz, le32 hash, le32 keyid, off_t offs, int gap) argument
549 entersecurity_indexes(ntfs_volume *vol, s64 attrsz, le32 hash, le32 keyid, off_t offs) argument
641 off_t offs; local
841 s64 offs; local
1822 s64 offs; local
4303 localread(void *fileid, char *buf, size_t size, off_t offs) argument
[all...]
H A Dacls.c1141 int offs; local
1179 offs = pxdesc->firstdef;
1180 previous = pacl->ace[offs].tag;
1181 previousid = pacl->ace[offs].id;
1182 for (i=offs+1; i<offs+pxdesc->defcnt; i++) {
2107 char *secattr, int offs, const struct POSIX_SECURITY *pxdesc,
2148 pacl = (ACL*)&secattr[offs];
2275 pdace = (ACCESS_DENIED_ACE*) &secattr[offs + pos];
2346 pgace = (ACCESS_ALLOWED_ACE*)&secattr[offs
2106 buildacls_posix(struct MAPPING* const mapping[], char *secattr, int offs, const struct POSIX_SECURITY *pxdesc, int isdir, const SID *usid, const SID *gsid) argument
2444 buildacls(char *secattr, int offs, mode_t mode, int isdir, const SID * usid, const SID * gsid) argument
4297 off_t offs; local
[all...]
H A Dattrib.c2832 ptrdiff_t offs; local
2867 offs = p2n(a) - p2n(ctx->mrec);
2868 space = le32_to_cpu(ctx->mrec->bytes_in_use) - offs;
2869 if ((offs < 0)
3074 ptrdiff_t offs; local
3323 offs = p2n(a) - p2n(ctx->mrec);
3324 space = le32_to_cpu(ctx->mrec->bytes_in_use) - offs;
3325 if (offs < 0)
/haiku/src/system/boot/platform/amiga_m68k/
H A Drom_calls.h39 #define LP0(offs, rt, name, bt, bn) \
47 __asm volatile ("move.l %%a6,%%sp@-\n\tmove.l %[libbase],%%a6\n\tjsr %%a6@(-"#offs":W)\n\tmove.l %%sp@+,%%a6" \
55 #define LP0NR(offs, name, bt, bn) \
63 __asm volatile ("move.l %%a6,%%sp@-\n\tmove.l %[libbase],%%a6\n\tjsr %%a6@(-"#offs":W)\n\tmove.l %%sp@+,%%a6" \
70 #define LP1(offs, rt, name, t1, v1, r1, bt, bn) \
80 __asm volatile ("move.l %%a6,%%sp@-\n\tmove.l %[libbase],%%a6\n\tjsr %%a6@(-"#offs":W)\n\tmove.l %%sp@+,%%a6" \
88 #define LP1NR(offs, name, t1, v1, r1, bt, bn) \
98 __asm volatile ("move.l %%a6,%%sp@-\n\tmove.l %[libbase],%%a6\n\tjsr %%a6@(-"#offs":W)\n\tmove.l %%sp@+,%%a6" \
106 #define LP1A5(offs, rt, name, t1, v1, r1, bt, bn) \
116 __asm volatile ("exg d7,a5\n\tmove.l %%a6,%%sp@-\n\tmove.l %[libbase],%%a6\n\tjsr %%a6@(-"#offs"
[all...]
/haiku/src/add-ons/kernel/drivers/audio/cmedia/
H A Dpcm.c1569 uint32 offs; local
1600 if ((offs = addr-(uint32)port->card->low_phys) < port->wr_size) {
1609 port->wr_time = st-(offs&(port->config.play_buf_size/2-1))*250000LL/(int64)port->config.sample_rate;
1663 uint32 offs; local
1682 if ((offs = addr-port->config.play_buf_size-(uint32)port->card->low_phys) < port->rd_size) {
1698 port->next_rd_time = st-(offs&(port->config.rec_buf_size/2-1))*1000000LL/(int64)port->config.sample_rate;
/haiku/src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/
H A Dif_iwx.c1707 int offs, err = 0; local
1712 for (offs = 0; offs < dwords; offs++)
1713 vals[offs] = le32toh(IWX_READ(sc, IWX_HBUS_TARG_MEM_RDAT));
1724 int offs; local
1730 for (offs = 0; offs < dwords; offs++) {
1731 uint32_t val = vals ? vals[offs]
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/
H A Dif_iwm.c1099 int offs, err = 0; local
1104 for (offs = 0; offs < dwords; offs++)
1105 vals[offs] = IWM_READ(sc, IWM_HBUS_TARG_MEM_RDAT);
1116 int offs; local
1122 for (offs = 0; offs < dwords; offs++) {
1123 uint32_t val = vals ? vals[offs]
[all...]

Completed in 386 milliseconds