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

12345

/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ia64/sn/fakeprom/
H A Dfpmem.h50 #define BankSizeBytes(bsize) ((bsize<6) ? (1<<((bsize-1)+SN1_BANK_SIZE_SHIFT)) :\
51 (1<<((bsize-9)+MBSHIFT)))
74 #define BankPresent(bsize) (bsize<6)
75 #define BankSizeBytes(bsize) (BankPresent(bsize) ? 1UL<<((bsize)+SN2_BANK_SIZE_SHIFT) : 0)
/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
29 (*bsize) = 512; /* This value should be ignored */
H A Ddfree.c26 static void disk_norm(BOOL small_query, SMB_BIG_UINT *bsize,SMB_BIG_UINT *dfree,SMB_BIG_UINT *dsize) argument
32 maxdisksize = ((maxdisksize*1024)/(*bsize))*1024;
39 while (*dfree > WORDMAX || *dsize > WORDMAX || *bsize < 512) {
42 *bsize *= 2;
47 if (*bsize > (WORDMAX*512)) {
48 *bsize = (WORDMAX*512);
66 SMB_BIG_UINT *bsize,SMB_BIG_UINT *dfree,SMB_BIG_UINT *dsize)
75 (*bsize) = 512;
104 *bsize = STR_TO_SMB_BIG_UINT(p, NULL);
106 *bsize
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 Dntquotas.c26 static SMB_BIG_UINT limit_nt2unix(SMB_BIG_UINT in, SMB_BIG_UINT bsize) argument
30 ret = (SMB_BIG_UINT)(in/bsize);
46 static SMB_BIG_UINT limit_unix2nt(SMB_BIG_UINT in, SMB_BIG_UINT bsize) argument
50 ret = (SMB_BIG_UINT)(in*bsize);
104 qt->usedspace = (SMB_BIG_UINT)D.curblocks*D.bsize;
105 qt->softlim = limit_unix2nt(D.softlimit, D.bsize);
106 qt->hardlim = limit_unix2nt(D.hardlimit, D.bsize);
125 D.bsize = (SMB_BIG_UINT)QUOTABLOCK_SIZE;
127 D.softlimit = limit_nt2unix(qt->softlim,D.bsize);
128 D.hardlimit = limit_nt2unix(qt->hardlim,D.bsize);
[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);
68 SMB_BIG_UINT bsize; member in struct:_LINUX_SMB_DISK_QUOTA
69 SMB_BIG_UINT hardlimit; /* In bsize units. */
70 SMB_BIG_UINT softlimit; /* In bsize units. */
71 SMB_BIG_UINT curblocks; /* In bsize units. */
96 dp->bsize = (SMB_BIG_UINT)512;
126 dp->bsize = (SMB_BIG_UINT)QUOTABLOCK_SIZE;
152 dp->bsize = (SMB_BIG_UINT)QUOTABLOCK_SIZE;
158 dp->curblocks = ((SMB_BIG_UINT)D.dqb_curspace) / dp->bsize;
182 dp->bsize
197 disk_quotas(const char *path, SMB_BIG_UINT *bsize, SMB_BIG_UINT *dfree, SMB_BIG_UINT *dsize) argument
295 disk_quotas(const char *path, SMB_BIG_UINT *bsize, SMB_BIG_UINT *dfree, SMB_BIG_UINT *dsize) argument
456 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...]
/asus-wl-520gu-7.0.1.45/src/router/samba/source/lib/
H A Dsysquotas_linux.c39 SMB_BIG_UINT bsize = (SMB_BIG_UINT)QUOTABLOCK_SIZE; local
85 dp->bsize = bsize;
108 SMB_BIG_UINT bsize = (SMB_BIG_UINT)QUOTABLOCK_SIZE; local
112 if (bsize == dp->bsize) {
118 D.dqb_bsoftlimit = (dp->softlimit*dp->bsize)/bsize;
119 D.dqb_bhardlimit = (dp->hardlimit*dp->bsize)/bsize;
173 SMB_BIG_UINT bsize = (SMB_BIG_UINT)QUOTABLOCK_SIZE; local
242 SMB_BIG_UINT bsize = (SMB_BIG_UINT)QUOTABLOCK_SIZE; local
307 SMB_BIG_UINT bsize = (SMB_BIG_UINT)QUOTABLOCK_SIZE; local
376 SMB_BIG_UINT bsize = (SMB_BIG_UINT)QUOTABLOCK_SIZE; local
[all...]
H A Dsysquotas_4A.c87 SMB_BIG_UINT bsize = (SMB_BIG_UINT)QUOTABLOCK_SIZE; local
159 dp->bsize = bsize;
182 SMB_BIG_UINT bsize = (SMB_BIG_UINT)QUOTABLOCK_SIZE; local
186 if (bsize == dp->bsize) {
192 D.dqb_bsoftlimit = (dp->softlimit*dp->bsize)/bsize;
193 D.dqb_bhardlimit = (dp->hardlimit*dp->bsize)/bsize;
[all...]
H A Dsysquotas_xfs.c78 SMB_BIG_UINT bsize = (SMB_BIG_UINT)BBSIZE; local
146 dp->bsize = bsize;
165 SMB_BIG_UINT bsize = (SMB_BIG_UINT)BBSIZE; local
176 if (bsize == dp->bsize) {
182 D.d_blk_softlimit = (dp->softlimit*dp->bsize)/bsize;
183 D.d_blk_hardlimit = (dp->hardlimit*dp->bsize)/bsize;
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/freevxfs/
H A Dvxfs_olt.c59 vxfs_oblock(struct super_block *sbp, daddr_t block, u_long bsize) argument
61 if (sbp->s_blocksize % bsize)
63 return (block * (sbp->s_blocksize / bsize));
70 * @bsize: blocksize of the filesystem
80 vxfs_read_olt(struct super_block *sbp, u_long bsize) argument
88 bp = sb_bread(sbp, vxfs_oblock(sbp, infp->vsi_oltext, bsize));
H A Dvxfs_lookup.c74 u_long bsize = ip->i_sb->s_blocksize; local
75 return (ip->i_size + bsize - 1) & ~(bsize - 1);
117 u_long bsize = ip->i_sb->s_blocksize; local
139 baddr = kaddr + (block * bsize);
140 limit = baddr + bsize - VXFS_DIRLEN(1);
242 u_long bsize = sbp->s_blocksize; local
286 baddr = kaddr + (block * bsize);
287 limit = baddr + bsize - VXFS_DIRLEN(1);
H A Dvxfs_super.c144 u_long bsize; local
153 bsize = sb_min_blocksize(sbp, BLOCK_SIZE);
154 if (!bsize) {
199 if (vxfs_read_olt(sbp, bsize)) {
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dnfs_fs_sb.h18 unsigned int bsize; /* server block size */ member in struct:nfs_server
H A Dnfs_mount.h39 unsigned int bsize; /* 3 */ member in struct:nfs_mount_data
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dnfs_fs_sb.h18 unsigned int bsize; /* server block size */ member in struct:nfs_server
H A Dnfs_mount.h39 unsigned int bsize; /* 3 */ member in struct:nfs_mount_data
H A Dsquashfs_fs_sb.h63 char *block_list, char **block_p, unsigned int *bsize);
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/misc/
H A Dfindsuper.c191 unsigned long long bsize, grpsize; local
231 bsize = 1 << (ext2.s_log_block_size + 10);
232 grpsize = bsize * ext2.s_blocks_per_group;
240 if (ext2.s_block_group_nr == 0 || bsize == 1024)
249 sk + ext2.s_blocks_count * bsize -
251 jnl_copy ? "*" : " ", ext2.s_blocks_count, bsize,
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/jfs/
H A Djfs_mount.c326 s32 bsize; local
343 bsize = le32_to_cpu(j_sb->s_bsize);
345 if (bsize != PSIZE) {
360 AIM_bytesize = lengthPXD(&(j_sb->s_aim2)) * bsize;
362 AIT_bytesize = lengthPXD(&(j_sb->s_ait2)) * bsize;
363 AIM_byte_addr = addressPXD(&(j_sb->s_aim2)) * bsize;
364 AIT_byte_addr = addressPXD(&(j_sb->s_ait2)) * bsize;
366 fsckwsp_addr = addressPXD(&(j_sb->s_fsckpxd)) * bsize;
398 sbi->bsize = bsize;
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/affs/
H A Dfile.c517 u32 bidx, boff, bsize; local
524 bsize = AFFS_SB->s_data_blksize;
526 bidx = tmp / bsize;
527 boff = tmp % bsize;
533 tmp = min(bsize - boff, to - from);
534 if (from + tmp > to || tmp > bsize)
551 u32 size, bsize; local
555 bsize = AFFS_SB->s_data_blksize;
558 bidx = size / bsize;
559 boff = size % bsize;
679 u32 bidx, boff, bsize; local
[all...]
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/zlib/
H A Dzutil.c130 ulg bsize = (ulg)items*size; local
135 if (bsize < 65520L) {
136 buf = farmalloc(bsize);
139 buf = farmalloc(bsize + 16L);
/asus-wl-520gu-7.0.1.45/src/linux/linux/scripts/squashfs/
H A Dsquashfs_fs_sb.h63 char *block_list, char **block_p, unsigned int *bsize);
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/nfs/
H A Dinode.c193 nfs_block_bits(unsigned long bsize, unsigned char *nrbitsp) argument
196 if ((bsize & (bsize - 1)) || nrbitsp) {
199 for (nrbits = 31; nrbits && !(bsize & (1 << nrbits)); nrbits--)
201 bsize = 1 << nrbits;
206 return bsize;
223 nfs_block_size(unsigned long bsize, unsigned char *nrbitsp) argument
225 if (bsize < 1024)
226 bsize = NFS_DEF_FILE_IO_BUFFER_SIZE;
227 else if (bsize >
[all...]
/asus-wl-520gu-7.0.1.45/src/router/samba/source/include/
H A Dsysquotas.h62 SMB_BIG_UINT bsize; member in struct:_SMB_DISK_QUOTA
63 SMB_BIG_UINT hardlimit; /* In bsize units. */
64 SMB_BIG_UINT softlimit; /* In bsize units. */
65 SMB_BIG_UINT curblocks; /* In bsize units. */
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-alpha/
H A Da.out.h30 __u64 bsize; member in struct:aouthdr
67 #define a_bss ah.bsize
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-alpha/
H A Da.out.h30 __u64 bsize; member in struct:aouthdr
67 #define a_bss ah.bsize

Completed in 117 milliseconds

12345