Searched refs:dsize (Results 1 - 25 of 110) sorted by relevance

12345

/asus-wl-520gu-7.0.1.45/src/router/samba/source/smbd/
H A Dnoquotas.c27 BOOL disk_quotas(const char *path,SMB_BIG_UINT *bsize,SMB_BIG_UINT *dfree,SMB_BIG_UINT *dsize) argument
34 (*dsize) = (SMB_BIG_UINT)-1;
H A Ddfree.c26 static void disk_norm(BOOL small_query, SMB_BIG_UINT *bsize,SMB_BIG_UINT *dfree,SMB_BIG_UINT *dsize) argument
33 if (*dsize > maxdisksize) *dsize = maxdisksize;
39 while (*dfree > WORDMAX || *dsize > WORDMAX || *bsize < 512) {
41 *dsize /= 2;
49 if (*dsize > WORDMAX)
50 *dsize = WORDMAX;
66 SMB_BIG_UINT *bsize,SMB_BIG_UINT *dfree,SMB_BIG_UINT *dsize)
74 (*dfree) = (*dsize) = 0;
96 *dsize
65 disk_free(const char *path, BOOL small_query, SMB_BIG_UINT *bsize,SMB_BIG_UINT *dfree,SMB_BIG_UINT *dsize) argument
160 sys_disk_free(const char *path, BOOL small_query, SMB_BIG_UINT *bsize,SMB_BIG_UINT *dfree,SMB_BIG_UINT *dsize) argument
[all...]
H A Dquotas.c49 BOOL disk_quotas_vxfs(const pstring name, char *path, SMB_BIG_UINT *bsize, SMB_BIG_UINT *dfree, SMB_BIG_UINT *dsize);
197 BOOL disk_quotas(const char *path, SMB_BIG_UINT *bsize, SMB_BIG_UINT *dfree, SMB_BIG_UINT *dsize) argument
258 *dsize =D.curblocks;
273 *dsize = D.curblocks;
280 *dsize = D.softlimit;
295 BOOL disk_quotas(const char *path, SMB_BIG_UINT *bsize, SMB_BIG_UINT *dfree, SMB_BIG_UINT *dsize) argument
374 *dsize = request.qf_entry.user_q.f_use ;
376 if ( *dfree < *dsize )
379 *dfree -= *dsize ;
456 static BOOL nfs_quotas(char *nfspath, uid_t euser_id, SMB_BIG_UINT *bsize, SMB_BIG_UINT *dfree, SMB_BIG_UINT *dsize) argument
576 disk_quotas(const char *path, SMB_BIG_UINT *bsize, SMB_BIG_UINT *dfree, SMB_BIG_UINT *dsize) argument
736 disk_quotas(const char *path, SMB_BIG_UINT *bsize, SMB_BIG_UINT *dfree, SMB_BIG_UINT *dsize) argument
802 disk_quotas(const char *path, SMB_BIG_UINT *bsize, SMB_BIG_UINT *dfree, SMB_BIG_UINT *dsize) argument
940 disk_quotas(const char *path, SMB_BIG_UINT *bsize, SMB_BIG_UINT *dfree, SMB_BIG_UINT *dsize) argument
1095 disk_quotas_vxfs(const pstring name, char *path, SMB_BIG_UINT *bsize, SMB_BIG_UINT *dfree, SMB_BIG_UINT *dsize) argument
1176 disk_quotas(const char *path,SMB_BIG_UINT *bsize,SMB_BIG_UINT *dfree,SMB_BIG_UINT *dsize) argument
1194 disk_quotas(const char *path,SMB_BIG_UINT *bsize,SMB_BIG_UINT *dfree,SMB_BIG_UINT *dsize) argument
[all...]
H A Dsession.c67 data.dsize = 0;
73 key.dsize = strlen(keystr)+1;
95 key.dsize = strlen(keystr)+1;
132 data.dsize = sizeof(sessionid);
167 key.dsize = strlen(vuser->session_keystr)+1;
171 if (dbuf.dsize != sizeof(sessionid))
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/isdn/hisax/
H A Drawhdlc.h23 int make_raw_hdlc_data(u_char *src, u_int slen, u_char *dst, u_int dsize);
26 u_char *src, u_int slen, u_char *dst, u_int dsize);
H A Dst5481_hdlc.h53 unsigned char *dst, int dsize);
60 unsigned char *dst,int dsize);
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/jffs2/
H A Dread.c72 D1(printk(KERN_DEBUG "Node read from %08x: node_crc %08x, calculated CRC %08x. dsize %x, csize %x, offset %x, buf %p\n", fd->raw->flash_offset & ~3, ri->node_crc, crc, ri->dsize, ri->csize, ri->offset, buf));
78 /* There was a bug where we wrote hole nodes out with csize/dsize
80 if (ri->compr == JFFS2_COMPR_ZERO && !ri->dsize && ri->csize) {
81 ri->dsize = ri->csize;
85 D1(if(ofs + len > ri->dsize) {
86 printk(KERN_WARNING "jffs2_read_dnode() asked for %d bytes at %d from %d-byte node\n", len, ofs, ri->dsize);
103 if (ri->compr == JFFS2_COMPR_NONE && len == ri->dsize) {
113 if (len < ri->dsize) {
114 decomprbuf = kmalloc(ri->dsize, GFP_KERNE
[all...]
/asus-wl-520gu-7.0.1.45/src/router/samba/source/tdb/
H A Dtdbtest.c64 gkey.dsize = key.dsize;
69 if (gd.dsize != d.dsize) fatal("data sizes differ");
70 if (memcmp(gd.dptr, d.dptr, d.dsize)) {
85 key.dsize = gkey.dsize;
90 if (d.dsize != gd.dsize) fatal("data sizes differ");
91 if (memcmp(d.dptr, gd.dptr, gd.dsize)) {
[all...]
H A Dtdbtool.c211 key.dsize = strlen(k)+1;
213 dbuf.dsize = strlen(d)+1;
232 key.dsize = strlen(k)+1;
234 dbuf.dsize = strlen(d)+1;
255 key.dsize = strlen(k)+1;
260 key.dsize = strlen(k);
269 /* printf("%s : %*.*s\n", k, (int)dbuf.dsize, (int)dbuf.dsize, dbuf.dptr); */
288 key.dsize = strlen(k)+1;
313 key.dsize
[all...]
H A Dtdb.c330 for (value = 0x238F13AF * key->dsize, i=0; i < key->dsize; i++)
995 if (!TDB_DEAD(r) && hash==r->full_hash && key.dsize==r->key_len) {
1003 if (memcmp(key.dptr, k, key.dsize) == 0) {
1082 if (rec.rec_len < key.dsize + dbuf.dsize + sizeof(tdb_off)) {
1088 dbuf.dptr, dbuf.dsize) == -1)
1091 if (dbuf.dsize != rec.data_len) {
1093 rec.data_len = dbuf.dsize;
1104 * zero pptr and zero dsize
[all...]
/asus-wl-520gu-7.0.1.45/src/router/samba/source/lib/
H A Dgencache.c121 keybuf.dsize = strlen(keystr)+1;
123 databuf.dsize = strlen(valstr)+1;
174 keybuf.dsize = strlen(keystr)+1;
176 databuf.dsize = strlen(datastr)+1;
213 keybuf.dsize = strlen(keystr)+1;
246 keybuf.dsize = strlen(keystr)+1;
250 if (databuf.dptr && databuf.dsize > TIMEOUT_LEN) {
251 char* entry_buf = strndup(databuf.dptr, databuf.dsize);
256 (databuf.dsize - TIMEOUT_LEN));
323 keystr = strndup(node->node_key.dptr, node->node_key.dsize);
[all...]
H A Dfsusage.c41 results are returned in *dfree and *dsize, in 512 byte units
43 int sys_fsusage(const char *path, SMB_BIG_UINT *dfree, SMB_BIG_UINT *dsize) argument
60 (*dsize) = CONVERT_BLOCKS (fsd.fd_req.btot);
142 (*dsize) = CONVERT_BLOCKS (fsd.f_blocks);
/asus-wl-520gu-7.0.1.45/src/router/samba/source/printing/
H A Dprinting_db.c165 if (data.dsize % 8) {
180 for( i = 0; i < data.dsize; i += 8) {
188 while ((i < data.dsize) && ((IVAL(data.dptr, i + 4) == 0) || !process_exists(pid))) {
196 if (data.dsize - i > 8)
197 memmove( &data.dptr[i], &data.dptr[i+8], data.dsize - i - 8);
198 data.dsize -= 8;
H A Dprinting.c71 key.dsize = sizeof(jinfo);
73 if (data.dptr && data.dsize == sizeof(uint16)) {
87 data.dsize = sizeof(rap_jobid);
107 key.dsize = sizeof(rap_jobid);
109 if (data.dptr && data.dsize == 8) {
140 key.dsize = sizeof(jinfo);
142 if (!data.dptr || (data.dsize != sizeof(uint16))) {
155 data.dsize = sizeof(rap_jobid);
239 ret.dsize = sizeof(j);
319 if ( unpack_pjob( ret.dptr, ret.dsize,
1918 SMB_BIG_UINT dspace, dsize; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/lib/ext2fs/
H A Dtdbtool.c216 key.dsize = keylen;
218 dbuf.dsize = datalen;
240 key.dsize = keylen;
242 dbuf.dsize = datalen;
262 key.dsize = keylen;
287 key.dsize = keylen;
310 key.dsize = keylen;
339 printf("\nkey %d bytes\n", (int)key.dsize);
340 print_asc((const char *)key.dptr, key.dsize);
341 printf("\ndata %d bytes\n", (int)dbuf.dsize);
[all...]
/asus-wl-520gu-7.0.1.45/src/router/samba/source/libsmb/
H A Dsamlogon_cache.c84 key.dsize = strlen(key.dptr) - 1; /* keys are not NULL terminated */
95 key.dsize = strlen(key.dptr) - 1; /* keys are not NULL terminated */
143 data.dsize = prs_offset( &ps );
177 key.dsize = strlen(keystr)+1;
186 prs_give_memory( &ps, data.dptr, data.dsize, True );
H A Dunexpected.c67 kbuf.dsize = sizeof(key);
69 dbuf.dsize = len;
127 p = parse_packet(dbuf.dptr, dbuf.dsize, match_type);
/asus-wl-520gu-7.0.1.45/src/router/samba/source/locking/
H A Dbrlock.c78 kbuf.dsize = sizeof(key);
202 count = dbuf.dsize / sizeof(*locks);
231 } else if (count < (dbuf.dsize / sizeof(*locks))) {
232 dbuf.dsize = count * sizeof(*locks);
344 count = dbuf.dsize / sizeof(*locks);
363 tp = Realloc(dbuf.dptr, dbuf.dsize + sizeof(*locks));
370 memcpy(dbuf.dptr + dbuf.dsize, &lock, sizeof(lock));
371 dbuf.dsize += sizeof(lock);
375 qsort(dbuf.dptr, dbuf.dsize/sizeof(lock), sizeof(lock), lock_compare);
449 count = dbuf.dsize / sizeo
[all...]
/asus-wl-520gu-7.0.1.45/src/router/ppp/pppd/
H A Dtdb.c167 value = 0x238F13AF * key->dsize;
168 for (i=0; i < key->dsize; i++) {
559 if (hash == rec->full_hash && key.dsize == rec->key_len) {
568 if (memcmp(key.dptr, k, key.dsize) == 0) {
637 if (rec.rec_len < key.dsize + dbuf.dsize)
641 dbuf.dptr, dbuf.dsize) == -1)
644 if (dbuf.dsize != rec.data_len) {
646 rec.data_len = dbuf.dsize;
681 ret.dsize
[all...]
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/
H A Dtdb.c167 value = 0x238F13AF * key->dsize;
168 for (i=0; i < key->dsize; i++) {
565 if (hash == rec->full_hash && key.dsize == rec->key_len) {
574 if (memcmp(key.dptr, k, key.dsize) == 0) {
643 if (rec.rec_len < key.dsize + dbuf.dsize)
647 dbuf.dptr, dbuf.dsize) == -1)
650 if (dbuf.dsize != rec.data_len) {
652 rec.data_len = dbuf.dsize;
687 ret.dsize
[all...]
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/pppd/
H A Dtdb.c167 value = 0x238F13AF * key->dsize;
168 for (i=0; i < key->dsize; i++) {
565 if (hash == rec->full_hash && key.dsize == rec->key_len) {
574 if (memcmp(key.dptr, k, key.dsize) == 0) {
643 if (rec.rec_len < key.dsize + dbuf.dsize)
647 dbuf.dptr, dbuf.dsize) == -1)
650 if (dbuf.dsize != rec.data_len) {
652 rec.data_len = dbuf.dsize;
687 ret.dsize
[all...]
/asus-wl-520gu-7.0.1.45/src/router/samba/source/passdb/
H A Dpdb_tdb.c113 while ((tdb_state->key.dsize != 0) && (strncmp(tdb_state->key.dptr, prefix, prefixlen))) {
136 if (!init_sam_from_buffer(user, (unsigned char *)data.dptr, data.dsize)) {
179 key.dsize = strlen(keystr) + 1;
216 if (!init_sam_from_buffer(user, (unsigned char *)data.dptr, data.dsize)) {
251 key.dsize = strlen (keystr) + 1;
310 key.dsize = strlen (keystr) + 1;
327 key.dsize = strlen (keystr) + 1;
388 if ((data.dsize=init_buffer_from_sam (&buf, newpwd, False)) == -1) {
403 key.dsize = strlen(keystr) + 1;
415 data.dsize
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-alpha/
H A Da.out.h29 __u64 dsize; member in struct:aouthdr
66 #define a_data ah.dsize
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-alpha/
H A Da.out.h29 __u64 dsize; member in struct:aouthdr
66 #define a_data ah.dsize
/asus-wl-520gu-7.0.1.45/src/router/samba/source/python/
H A Dpy_tdb.c139 if (!PyArg_Parse(key, "s#", &krec.dptr, &krec.dsize))
150 result = PyString_FromStringAndSize(drec.dptr, drec.dsize);
160 if (!PyArg_Parse(key, "s#", &krec.dptr, &krec.dsize)) {
186 if (!PyArg_Parse(value, "s#", &drec.dptr, &drec.dsize)) {
226 if (!PyArg_ParseTuple(args, "s#", &key.dptr, &key.dsize))
246 PyString_FromStringAndSize(key.dptr, key.dsize));
282 return Py_BuildValue("s#", key.dptr, key.dsize);
295 if (!PyArg_Parse(py_oldkey, "s#", &oldkey.dptr, &oldkey.dsize))
300 return Py_BuildValue("s#", key.dptr, key.dsize);
368 &(*keys)[i].dsize);
[all...]

Completed in 137 milliseconds

12345