Displaying 20 results from an estimated 88 matches for "sbi".
Did you mean:
abi
2003 Nov 05
6
[PATCH] Link breaks for large NR_CPUS
...Tue Nov 4 07:19:37 2003
@@ -20,6 +20,7 @@
#include <linux/module.h>
#include <linux/string.h>
#include <linux/slab.h>
+#include <linux/vmalloc.h>
#include <linux/init.h>
#include <linux/blkdev.h>
#include <linux/parser.h>
@@ -145,7 +146,7 @@
kfree(sbi->s_debts);
brelse (sbi->s_sbh);
sb->s_fs_info = NULL;
- kfree(sbi);
+ vfree(sbi);
return;
}
@@ -571,7 +572,7 @@
int db_count;
int i, j;
- sbi = kmalloc(sizeof(*sbi), GFP_KERNEL);
+ sbi = vmalloc(sizeof(*sbi));
if (!sbi)
return -ENOMEM;
sb->s_fs_info = sbi;
diff -Nr...
2009 Jun 29
1
wine/RosettaStone breakage from recent kernel commit
...-- a/fs/isofs/dir.c
+++ b/fs/isofs/dir.c
@@ -195,9 +195,8 @@ static int do_isofs_readdir(struct inode *inode, struct file *filp,
* Do not report hidden files if so instructed, or associated
* files unless instructed to do so
*/
- if ((sbi->s_hide == 'y' &&
- (de->flags[-sbi->s_high_sierra] & 1)) ||
- (sbi->s_showassoc =='n' &&
+ if ((sbi->s_hide && (de->flags[-sbi->s_high_sierra] & 1)) ||
+...
2004 Jan 07
3
smbpasswd -w account
Hi,
I've setup Samba NT based networks with OpenLDAP database.
But to make sambas operations works fetching data to LDAP, it should have
an account on LDAP that able to write some objects, such as passwords
(when changing passwd) or object creation (when registering or joining to
directory) .The scope of this account is strong enough to any containers
on the directory, such as
2005 Mar 25
1
[PATCH] kfree() NULL pointer cleanups - no need to check - fs/ext3/
...r) {
switch(type) {
case ACL_TYPE_ACCESS:
--- linux-2.6.12-rc1-mm3-orig/fs/ext3/super.c 2005-03-25 15:28:59.000000000 +0100
+++ linux-2.6.12-rc1-mm3/fs/ext3/super.c 2005-03-25 22:42:53.000000000 +0100
@@ -395,10 +395,8 @@ static void ext3_put_super (struct super
percpu_counter_destroy(&sbi->s_dirs_counter);
brelse(sbi->s_sbh);
#ifdef CONFIG_QUOTA
- for (i = 0; i < MAXQUOTAS; i++) {
- if (sbi->s_qf_names[i])
- kfree(sbi->s_qf_names[i]);
- }
+ for (i = 0; i < MAXQUOTAS; i++)
+ kfree(sbi->s_qf_names[i]);
#endif
/* Debugging code just in case the in-memor...
2011 Jun 30
2
Points but no lines in qplot.
...HDFC.Bank 18031100000
9 2008 HDFC.Bank 27393400000
10 2009 HDFC.Bank 85769900000
11 2005 PNB NA
12 2006 PNB NA
13 2007 PNB 75137300000
14 2008 PNB 109035900000
15 2009 PNB 118837700000
16 2005 SBI 232442700000
17 2006 SBI 461432100000
18 2007 SBI 623252100000
19 2008 SBI 857680000000
20 2009 SBI 929450000000
21 2005 ICICI.HFC 23557565000
22 2006 ICICI.HFC 32154003000
23 2007 ICICI.HFC 37469402000
24 2008 ICICI.HFC 3467554800...
2004 Sep 01
0
Re: linux newbie (arya sby)
here are some sites
http://pupa.da.ru/imq/tc_tutorial.htm
http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm
Dominic
On Wed, 2004-09-01 at 06:14, lartc-request@mailman.ds9a.nl wrote:
> Send LARTC mailing list submissions to
> lartc@mailman.ds9a.nl
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mailman.ds9a.nl/mailman/listinfo/lartc
> or, via email,
2017 Aug 27
1
[PATCH] ext4: Fix 64bit feature
...n inode_type[d_file_type];
}
-/*
- * get the group's descriptor of group_num
- */
-static const struct ext2_group_desc *
-ext2_get_group_desc(struct fs_info *fs, uint32_t group_num)
+static const void *__ext2_get_group_desc(struct fs_info *fs, uint32_t group_num)
{
struct ext2_sb_info *sbi = EXT2_SB(fs);
uint32_t desc_block, desc_index;
- const struct ext2_group_desc *desc_data_block;
+ uint8_t *p;
if (group_num >= sbi->s_groups_count) {
printf ("ext2_get_group_desc"
"block_group >= groups_count - "
"block_group = %d, groups...
2014 May 29
0
[PATCH 2/2] core/fs: Add support for Unix File system 1/2.
...>name_length);
+ dirent->d_name[dir->name_length] = '\0';
+
+ file->offset += dir->dir_entry_len; /* Update for next reading */
+
+ return 0;
+}
+
+static inline struct ufs_sb_info *
+set_ufs_info(struct ufs_super_block *sb, int ufs_type)
+{
+ struct ufs_sb_info *sbi;
+
+ sbi = malloc(sizeof *sbi);
+ if (!sbi)
+ malloc_error("ufs_sb_info structure");
+
+ /* Setting up UFS-dependent info */
+ if (ufs_type == UFS1) {
+ sbi->inode_size = sizeof (struct ufs1_inode);
+ sbi->groups_count = sb->ufs1.nr_frags / sb->frags_per_cg;
+ sbi-...
2013 Jul 12
1
[PATCH 001/001] core/fs: Add support to Unix File system 1/2.
...>name_length);
+ dirent->d_name[dir->name_length] = '\0';
+
+ file->offset += dir->dir_entry_len; /* Update for next reading */
+
+ return 0;
+}
+
+static inline struct ufs_sb_info *
+set_ufs_info(struct ufs_super_block *sb, int ufs_type)
+{
+ struct ufs_sb_info *sbi;
+
+ sbi = malloc(sizeof *sbi);
+ if (!sbi)
+ malloc_error("ufs_sb_info structure");
+
+ /* Setting up UFS-dependent info */
+ if (ufs_type == UFS1) {
+ sbi->inode_size = sizeof (struct ufs1_inode);
+ sbi->groups_count = sb->ufs1.nr_frags / sb->frags_per_cg;
+ sbi-...
2009 Sep 16
2
I want to get a reference to this time series object
I'm trying to get a reference to this object in C
SWX.RET[1:6,c("SBI,"SPI","SII")]
While i am able to access and use a plain SWX.RET object, I'm getting
confused on how to create an object with the array subscripts like above.
Here is what I tried to do. It doesn't work because "[" is obviously not an
operation or function on...
2007 Mar 29
3
tune2fs -l stale info
Hello,
I just noticed that 'tune2fs -l' did not returned a "lively" updated
information regarding the free inodes count (looks like it's always
correct after unmounting). It became suprising after an online resizing
operation, where the total inode count was immediatly updated (grown in
my case) but the free inode count was the same: one could deduce that
suddenly a lot of
2019 Apr 23
1
[PATCH v6 5/6] ext4: disable map_sync for async flush
...ext4/file.c
> +++ b/fs/ext4/file.c
> @@ -360,15 +360,16 @@ static const struct vm_operations_struct ext4_file_vm_ops = {
> static int ext4_file_mmap(struct file *file, struct vm_area_struct *vma)
> {
> struct inode *inode = file->f_mapping->host;
> + struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb);
> + struct dax_device *dax_dev = sbi->s_daxdev;
>
> - if (unlikely(ext4_forced_shutdown(EXT4_SB(inode->i_sb))))
> + if (unlikely(ext4_forced_shutdown(sbi)))
> return -EIO;
>
> - /*
> - * We don't support synchronous mappings for n...
2023 Jan 18
9
remove most callers of write_one_page v3
Hi all,
this series removes most users of the write_one_page API. These helpers
internally call ->writepage which we are gradually removing from the
kernel.
Changes since v2:
- more minix error handling fixes
Changes since v1:
- drop the btrfs changes (queue up in the btrfs tree)
- drop the finaly move to jfs (can't be done without the btrfs patches)
- fix the existing minix code to
2006 Jan 25
1
EXT3: failed to claim external journal device.
We are having problems remounting an ext3 filesystem using an external
journal device. The filesystem in question was working fine until the
server was rebooted.
This is what we see on dmesg when trying to mount:
EXT3: failed to claim external journal device.
The external journal lives on a LVM2 logical volume and it seems to be
accessible ( we can dumpe2fs and see filesystem information).
2009 Aug 25
2
Clarifications please.
...(1);
// colMeans(SWX.RET)
PROTECT(e = lang2(install("colMeans"), install("SWX.RET")));
val = (R_tryEval(e, NULL, &errorOccurred));
Rf_PrintValue(val);
return 0;
}
When I tried :
>mean(SWX.RET)
in the R prompt I got the following output:
SBI SPI SII LP25 LP40
LP60
4.660521e-06 2.153198e-04 2.033869e-04 1.388886e-04 1.349041e-04
1.226859e-04
However when I replaced colMeans with mean in the C code above I got a mean
of the means (0.0001366410) of all the columns when Rf_PrintValue was
called. Using co...
2014 May 29
3
[PATCH v2 0/2] UFS1/2 support series
From: Raphael S. Carvalho <raphael.scarv at gmail.com>
Change since v1:
* Fix bug on dentry structure (thank you specification; btw, sarcasm), and
consequently a bug on ufs_readdir.
* Add readlink support (applied tests for symlinks whose destionation path
were stored in blk pointers and the file itself).
* Several improvements.
Wrote the documentation below. I think it would be good to
2013 Nov 21
0
[PATCH] FSUUID for ext2 filesystem
...++++++++++-
core/fs/ext2/ext2_fs.h | 1 +
2 files changed, 40 insertions(+), 1 deletion(-)
diff --git a/core/fs/ext2/ext2.c b/core/fs/ext2/ext2.c
index df0856f..76bd1d5 100644
--- a/core/fs/ext2/ext2.c
+++ b/core/fs/ext2/ext2.c
@@ -312,6 +312,9 @@ static int ext2_fs_init(struct fs_info *fs)
sbi->s_first_data_block = sb.s_first_data_block;
sbi->s_inode_size = sb.s_inode_size;
+ /* Volume UUID */
+ memcpy(sbi->s_uuid, sb.s_uuid, sizeof(sbi->s_uuid));
+
/* Initialize the cache, and force block zero to all zero */
cache_init(fs->fs_dev, fs->block_shift...
2014 May 29
3
[PATCH 0/2] UFS1/2 support series
From: Raphael S. Carvalho <raphael.scarv at gmail.com>
Wrote the documentation below. I think it would be good to push the doc to
the wiki as soon as the UFS support gets merged.
Unix Fast File System (UFS/FFS) 1/2 on Syslinux - (usage/install)
-----
There is a confusion about the name of this file system, then I decided to
contact the author who replied:
"The name has always been
2005 Jun 20
0
[patch 2/3] fs/ext3/resize.c: fix sparse warnings
An embedded and charset-unspecified text was scrubbed...
Name: sparse-fs_ext3_resize.patch
URL: <http://listman.redhat.com/archives/ext3-users/attachments/20050620/8e33ffa8/attachment.ksh>
2012 Aug 02
0
[PATCH 3/3] ALPHA: implement and use rdwr_bytes
...4
--- a/core/fs/iso9660/iso9660.c
+++ b/core/fs/iso9660/iso9660.c
@@ -251,7 +251,7 @@ static int iso_fs_init(struct fs_info *fs)
char pvd[2048]; /* Primary Volume Descriptor */
uint32_t pvd_lba;
struct disk *disk = fs->fs_dev->disk;
- int blktosec;
+ int blkshift;
sbi = malloc(sizeof(*sbi));
if (!sbi) {
@@ -268,14 +268,14 @@ static int iso_fs_init(struct fs_info *fs)
fs->block_shift = 11; /* A CD-ROM block is always 2K */
fs->sector_size = 1 << fs->sector_shift;
fs->block_size = 1 << fs->block_shift;
- blktos...