Searched refs:ofs (Results 1 - 25 of 767) sorted by relevance

1234567891011>>

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/librpc/ndr/
H A Dsid.c29 int i, ofs, maxlen; local
51 ofs = snprintf(ret, maxlen, "S-%u-%lu",
55 ofs += snprintf(ret + ofs, maxlen - ofs, "-%lu", (unsigned long)sid->sub_auths[i]);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source3/librpc/ndr/
H A Dsid.c29 int i, ofs, maxlen; local
51 ofs = snprintf(ret, maxlen, "S-%u-%lu",
55 ofs += snprintf(ret + ofs, maxlen - ofs, "-%lu", (unsigned long)sid->sub_auths[i]);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source3/librpc/ndr/
H A Dsid.c29 int i, ofs, maxlen; local
51 ofs = snprintf(ret, maxlen, "S-%u-%lu",
55 ofs += snprintf(ret + ofs, maxlen - ofs, "-%lu", (unsigned long)sid->sub_auths[i]);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.0.25b/source/lib/replace/
H A Drepdir_getdents.c63 int nbytes, ofs; member in struct:dir_buf
93 d->ofs = 0;
104 if (d->ofs >= d->nbytes) {
107 d->ofs = 0;
109 if (d->ofs >= d->nbytes) {
112 de = (struct dirent *)&d->buf[d->ofs];
113 d->ofs += de->d_reclen;
120 if (d->ofs >= d->nbytes) {
122 d->ofs = 0;
130 return d->seekpos + d->ofs;
133 seekdir(DIR *dir, long ofs) argument
[all...]
H A Drepdir_getdirentries.c65 int nbytes, ofs; member in struct:dir_buf
95 d->ofs = 0;
106 if (d->ofs >= d->nbytes) {
110 d->ofs = 0;
112 if (d->ofs >= d->nbytes) {
115 de = (struct dirent *)&d->buf[d->ofs];
116 d->ofs += de->d_reclen;
127 if (d->ofs >= d->nbytes) {
129 d->ofs = 0;
137 return d->seekpos + d->ofs;
141 seekdir(DIR *dir, long ofs) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/lib/replace/
H A Drepdir_getdents.c62 int nbytes, ofs; member in struct:dir_buf
92 d->ofs = 0;
103 if (d->ofs >= d->nbytes) {
106 d->ofs = 0;
108 if (d->ofs >= d->nbytes) {
111 de = (struct dirent *)&d->buf[d->ofs];
112 d->ofs += de->d_reclen;
119 if (d->ofs >= d->nbytes) {
121 d->ofs = 0;
129 return d->seekpos + d->ofs;
132 seekdir(DIR *dir, long ofs) argument
[all...]
H A Drepdir_getdirentries.c64 int nbytes, ofs; member in struct:dir_buf
94 d->ofs = 0;
105 if (d->ofs >= d->nbytes) {
109 d->ofs = 0;
111 if (d->ofs >= d->nbytes) {
114 de = (struct dirent *)&d->buf[d->ofs];
115 d->ofs += de->d_reclen;
126 if (d->ofs >= d->nbytes) {
128 d->ofs = 0;
136 return d->seekpos + d->ofs;
140 seekdir(DIR *dir, long ofs) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.0.25b/source/lib/replace/
H A Drepdir_getdents.c63 int nbytes, ofs; member in struct:dir_buf
93 d->ofs = 0;
104 if (d->ofs >= d->nbytes) {
107 d->ofs = 0;
109 if (d->ofs >= d->nbytes) {
112 de = (struct dirent *)&d->buf[d->ofs];
113 d->ofs += de->d_reclen;
120 if (d->ofs >= d->nbytes) {
122 d->ofs = 0;
130 return d->seekpos + d->ofs;
133 seekdir(DIR *dir, long ofs) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/lib/replace/
H A Drepdir_getdents.c62 int nbytes, ofs; member in struct:dir_buf
92 d->ofs = 0;
103 if (d->ofs >= d->nbytes) {
106 d->ofs = 0;
108 if (d->ofs >= d->nbytes) {
111 de = (struct dirent *)&d->buf[d->ofs];
112 d->ofs += de->d_reclen;
119 if (d->ofs >= d->nbytes) {
121 d->ofs = 0;
129 return d->seekpos + d->ofs;
132 seekdir(DIR *dir, long ofs) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.0.25b/source/lib/replace/
H A Drepdir_getdents.c63 int nbytes, ofs; member in struct:dir_buf
93 d->ofs = 0;
104 if (d->ofs >= d->nbytes) {
107 d->ofs = 0;
109 if (d->ofs >= d->nbytes) {
112 de = (struct dirent *)&d->buf[d->ofs];
113 d->ofs += de->d_reclen;
120 if (d->ofs >= d->nbytes) {
122 d->ofs = 0;
130 return d->seekpos + d->ofs;
133 seekdir(DIR *dir, long ofs) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/lib/replace/
H A Drepdir_getdents.c62 int nbytes, ofs; member in struct:dir_buf
92 d->ofs = 0;
103 if (d->ofs >= d->nbytes) {
106 d->ofs = 0;
108 if (d->ofs >= d->nbytes) {
111 de = (struct dirent *)&d->buf[d->ofs];
112 d->ofs += de->d_reclen;
119 if (d->ofs >= d->nbytes) {
121 d->ofs = 0;
129 return d->seekpos + d->ofs;
132 seekdir(DIR *dir, long ofs) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/logfs/
H A Ddev_mtd.c14 #define PAGE_OFS(ofs) ((ofs) & (PAGE_SIZE-1))
16 static int mtd_read(struct super_block *sb, loff_t ofs, size_t len, void *buf) argument
22 ret = mtd->read(mtd, ofs, len, &retlen, buf);
34 static int mtd_write(struct super_block *sb, loff_t ofs, size_t len, void *buf) argument
45 BUG_ON((ofs >= mtd->size) || (len > mtd->size - ofs));
46 BUG_ON(ofs != (ofs >> super->s_writeshift) << super->s_writeshift);
48 page_start = ofs
70 mtd_erase_mapping(struct super_block *sb, loff_t ofs, size_t len) argument
87 mtd_erase(struct super_block *sb, loff_t ofs, size_t len, int ensure_write) argument
145 mtd_find_first_sb(struct super_block *sb, u64 *ofs) argument
165 mtd_find_last_sb(struct super_block *sb, u64 *ofs) argument
186 __mtd_writeseg(struct super_block *sb, u64 ofs, pgoff_t index, size_t nr_pages) argument
208 mtd_writeseg(struct super_block *sb, u64 ofs, size_t len) argument
237 mtd_can_write_buf(struct super_block *sb, u64 ofs) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/logfs/
H A Ddev_mtd.c14 #define PAGE_OFS(ofs) ((ofs) & (PAGE_SIZE-1))
16 static int mtd_read(struct super_block *sb, loff_t ofs, size_t len, void *buf) argument
22 ret = mtd->read(mtd, ofs, len, &retlen, buf);
34 static int mtd_write(struct super_block *sb, loff_t ofs, size_t len, void *buf) argument
45 BUG_ON((ofs >= mtd->size) || (len > mtd->size - ofs));
46 BUG_ON(ofs != (ofs >> super->s_writeshift) << super->s_writeshift);
48 page_start = ofs
70 mtd_erase_mapping(struct super_block *sb, loff_t ofs, size_t len) argument
87 mtd_erase(struct super_block *sb, loff_t ofs, size_t len, int ensure_write) argument
145 mtd_find_first_sb(struct super_block *sb, u64 *ofs) argument
165 mtd_find_last_sb(struct super_block *sb, u64 *ofs) argument
186 __mtd_writeseg(struct super_block *sb, u64 ofs, pgoff_t index, size_t nr_pages) argument
208 mtd_writeseg(struct super_block *sb, u64 ofs, size_t len) argument
237 mtd_can_write_buf(struct super_block *sb, u64 ofs) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source4/libcli/smb2/
H A Dnotify.c64 uint32_t ofs, i; local
82 for (ofs=0; blob.length - ofs > 12; ) {
83 uint32_t next = IVAL(blob.data, ofs);
85 if (next == 0 || (ofs + next) >= blob.length) break;
86 ofs += next;
95 for (i=ofs=0; i<io->out.num_changes; i++) {
96 io->out.changes[i].action = IVAL(blob.data, ofs+4);
99 ofs+8, ofs
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source4/libcli/smb2/
H A Dnotify.c64 uint32_t ofs, i; local
82 for (ofs=0; blob.length - ofs > 12; ) {
83 uint32_t next = IVAL(blob.data, ofs);
85 if (next == 0 || (ofs + next) >= blob.length) break;
86 ofs += next;
95 for (i=ofs=0; i<io->out.num_changes; i++) {
96 io->out.changes[i].action = IVAL(blob.data, ofs+4);
99 ofs+8, ofs
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source4/libcli/smb2/
H A Dnotify.c64 uint32_t ofs, i; local
82 for (ofs=0; blob.length - ofs > 12; ) {
83 uint32_t next = IVAL(blob.data, ofs);
85 if (next == 0 || (ofs + next) >= blob.length) break;
86 ofs += next;
95 for (i=ofs=0; i<io->out.num_changes; i++) {
96 io->out.changes[i].action = IVAL(blob.data, ofs+4);
99 ofs+8, ofs
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.0.25b/source/lib/
H A Drepdir.c65 int nbytes, ofs; member in struct:dir_buf
92 d->ofs = 0;
107 if (d->ofs >= d->nbytes) {
119 d->ofs = 0;
121 if (d->ofs >= d->nbytes) {
124 de = (SMB_STRUCT_DIRENT *)&d->buf[d->ofs];
125 d->ofs += de->d_reclen;
136 if (d->ofs >= d->nbytes) {
142 d->ofs = 0;
150 return d->seekpos + d->ofs;
154 seekdir64(SMB_STRUCT_DIR *dir, long ofs) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/security/selinux/ss/
H A Debitmap.h44 unsigned int ofs; local
47 ofs = find_first_bit((*n)->maps, EBITMAP_SIZE);
48 if (ofs < EBITMAP_SIZE)
49 return (*n)->startbit + ofs;
63 unsigned int ofs; local
65 ofs = find_next_bit((*n)->maps, EBITMAP_SIZE, bit - (*n)->startbit + 1);
66 if (ofs < EBITMAP_SIZE)
67 return ofs + (*n)->startbit;
70 ofs = find_first_bit((*n)->maps, EBITMAP_SIZE);
71 if (ofs < EBITMAP_SIZ
86 unsigned int ofs = EBITMAP_NODE_OFFSET(n, bit); local
98 unsigned int ofs = EBITMAP_NODE_OFFSET(n, bit); local
108 unsigned int ofs = EBITMAP_NODE_OFFSET(n, bit); local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/security/selinux/ss/
H A Debitmap.h44 unsigned int ofs; local
47 ofs = find_first_bit((*n)->maps, EBITMAP_SIZE);
48 if (ofs < EBITMAP_SIZE)
49 return (*n)->startbit + ofs;
63 unsigned int ofs; local
65 ofs = find_next_bit((*n)->maps, EBITMAP_SIZE, bit - (*n)->startbit + 1);
66 if (ofs < EBITMAP_SIZE)
67 return ofs + (*n)->startbit;
70 ofs = find_first_bit((*n)->maps, EBITMAP_SIZE);
71 if (ofs < EBITMAP_SIZ
86 unsigned int ofs = EBITMAP_NODE_OFFSET(n, bit); local
98 unsigned int ofs = EBITMAP_NODE_OFFSET(n, bit); local
108 unsigned int ofs = EBITMAP_NODE_OFFSET(n, bit); local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.0.25b/source/lib/
H A Drepdir.c65 int nbytes, ofs; member in struct:dir_buf
92 d->ofs = 0;
107 if (d->ofs >= d->nbytes) {
119 d->ofs = 0;
121 if (d->ofs >= d->nbytes) {
124 de = (SMB_STRUCT_DIRENT *)&d->buf[d->ofs];
125 d->ofs += de->d_reclen;
136 if (d->ofs >= d->nbytes) {
142 d->ofs = 0;
150 return d->seekpos + d->ofs;
154 seekdir64(SMB_STRUCT_DIR *dir, long ofs) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.0.25b/source/lib/
H A Drepdir.c65 int nbytes, ofs; member in struct:dir_buf
92 d->ofs = 0;
107 if (d->ofs >= d->nbytes) {
119 d->ofs = 0;
121 if (d->ofs >= d->nbytes) {
124 de = (SMB_STRUCT_DIRENT *)&d->buf[d->ofs];
125 d->ofs += de->d_reclen;
136 if (d->ofs >= d->nbytes) {
142 d->ofs = 0;
150 return d->seekpos + d->ofs;
154 seekdir64(SMB_STRUCT_DIR *dir, long ofs) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/jffs2/
H A Dscan.c40 /* These helper functions _must_ increase ofs and also do the dirty/used space accounting.
45 struct jffs2_raw_inode *ri, uint32_t ofs, struct jffs2_summary *s);
47 struct jffs2_raw_dirent *rd, uint32_t ofs, struct jffs2_summary *s);
282 uint32_t ofs, uint32_t len)
287 ret = jffs2_flash_read(c, ofs, len, &retlen, buf);
289 D1(printk(KERN_WARNING "mtd->read(0x%x bytes from 0x%x) returned %d\n", len, ofs, ret));
293 D1(printk(KERN_WARNING "Read at 0x%x gave only 0x%zx bytes\n", ofs, retlen));
320 struct jffs2_raw_xattr *rx, uint32_t ofs,
330 ofs, je32_to_cpu(rx->node_crc), crc);
343 ofs, je32_to_cp
281 jffs2_fill_scan_buf(struct jffs2_sb_info *c, void *buf, uint32_t ofs, uint32_t len) argument
319 jffs2_scan_xattr_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, struct jffs2_raw_xattr *rx, uint32_t ofs, struct jffs2_summary *s) argument
375 jffs2_scan_xref_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, struct jffs2_raw_xref *rr, uint32_t ofs, struct jffs2_summary *s) argument
438 uint32_t ofs, prevofs; local
950 jffs2_scan_inode_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, struct jffs2_raw_inode *ri, uint32_t ofs, struct jffs2_summary *s) argument
1005 jffs2_scan_dirent_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, struct jffs2_raw_dirent *rd, uint32_t ofs, struct jffs2_summary *s) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/jffs2/
H A Dscan.c40 /* These helper functions _must_ increase ofs and also do the dirty/used space accounting.
45 struct jffs2_raw_inode *ri, uint32_t ofs, struct jffs2_summary *s);
47 struct jffs2_raw_dirent *rd, uint32_t ofs, struct jffs2_summary *s);
282 uint32_t ofs, uint32_t len)
287 ret = jffs2_flash_read(c, ofs, len, &retlen, buf);
289 D1(printk(KERN_WARNING "mtd->read(0x%x bytes from 0x%x) returned %d\n", len, ofs, ret));
293 D1(printk(KERN_WARNING "Read at 0x%x gave only 0x%zx bytes\n", ofs, retlen));
320 struct jffs2_raw_xattr *rx, uint32_t ofs,
330 ofs, je32_to_cpu(rx->node_crc), crc);
343 ofs, je32_to_cp
281 jffs2_fill_scan_buf(struct jffs2_sb_info *c, void *buf, uint32_t ofs, uint32_t len) argument
319 jffs2_scan_xattr_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, struct jffs2_raw_xattr *rx, uint32_t ofs, struct jffs2_summary *s) argument
375 jffs2_scan_xref_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, struct jffs2_raw_xref *rr, uint32_t ofs, struct jffs2_summary *s) argument
438 uint32_t ofs, prevofs; local
950 jffs2_scan_inode_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, struct jffs2_raw_inode *ri, uint32_t ofs, struct jffs2_summary *s) argument
1005 jffs2_scan_dirent_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, struct jffs2_raw_dirent *rd, uint32_t ofs, struct jffs2_summary *s) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/xtensa/variants/fsf/include/variant/
H A Dtie-asm.h37 .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL
38 xchal_sa_start \continue, \ofs
52 .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL
53 xchal_sa_start \continue, \ofs
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/xtensa/variants/fsf/include/variant/
H A Dtie-asm.h37 .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL
38 xchal_sa_start \continue, \ofs
52 .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL
53 xchal_sa_start \continue, \ofs

Completed in 156 milliseconds

1234567891011>>