Home
last modified time | relevance | path

Searched refs:sb (Results 1 – 7 of 7) sorted by relevance

/net/netfilter/ipvs/
Dip_vs_sync.c300 struct ip_vs_sync_buff *sb; in sb_dequeue() local
304 sb = NULL; in sb_dequeue()
307 sb = list_entry(ms->sync_queue.next, struct ip_vs_sync_buff, in sb_dequeue()
309 list_del(&sb->list); in sb_dequeue()
316 return sb; in sb_dequeue()
325 struct ip_vs_sync_buff *sb; in ip_vs_sync_buff_create() local
327 if (!(sb=kmalloc(sizeof(struct ip_vs_sync_buff), GFP_ATOMIC))) in ip_vs_sync_buff_create()
330 sb->mesg = kmalloc(ipvs->send_mesg_maxlen, GFP_ATOMIC); in ip_vs_sync_buff_create()
331 if (!sb->mesg) { in ip_vs_sync_buff_create()
332 kfree(sb); in ip_vs_sync_buff_create()
[all …]
/net/core/
Dgen_stats.c166 struct gnet_stats_basic sb; in gnet_stats_copy_basic() local
168 memset(&sb, 0, sizeof(sb)); in gnet_stats_copy_basic()
169 sb.bytes = bstats.bytes; in gnet_stats_copy_basic()
170 sb.packets = bstats.packets; in gnet_stats_copy_basic()
171 return gnet_stats_copy(d, TCA_STATS_BASIC, &sb, sizeof(sb)); in gnet_stats_copy_basic()
/net/sunrpc/
Drpc_pipe.c195 rpc_alloc_inode(struct super_block *sb) in rpc_alloc_inode() argument
473 rpc_get_inode(struct super_block *sb, umode_t mode) in rpc_get_inode() argument
475 struct inode *inode = new_inode(sb); in rpc_get_inode()
1206 struct dentry *rpc_d_lookup_sb(const struct super_block *sb, in rpc_d_lookup_sb() argument
1210 return d_hash_and_lookup(sb->s_root, &dir); in rpc_d_lookup_sb()
1385 rpc_fill_super(struct super_block *sb, void *data, int silent) in rpc_fill_super() argument
1393 sb->s_blocksize = PAGE_CACHE_SIZE; in rpc_fill_super()
1394 sb->s_blocksize_bits = PAGE_CACHE_SHIFT; in rpc_fill_super()
1395 sb->s_magic = RPCAUTH_GSSMAGIC; in rpc_fill_super()
1396 sb->s_op = &s_ops; in rpc_fill_super()
[all …]
Dclnt.c120 static struct dentry *rpc_setup_pipedir_sb(struct super_block *sb, in rpc_setup_pipedir_sb() argument
128 dir = rpc_d_lookup_sb(sb, dir_name); in rpc_setup_pipedir_sb()
184 struct super_block *sb) in __rpc_clnt_handle_event() argument
191 dentry = rpc_setup_pipedir_sb(sb, clnt); in __rpc_clnt_handle_event()
208 struct super_block *sb) in __rpc_pipefs_event() argument
214 error = __rpc_clnt_handle_event(clnt, event, sb); in __rpc_pipefs_event()
240 struct super_block *sb = ptr; in rpc_pipefs_event() local
244 while ((clnt = rpc_get_client_for_event(sb->s_fs_info, event))) { in rpc_pipefs_event()
245 error = __rpc_pipefs_event(clnt, event, sb); in rpc_pipefs_event()
/net/9p/
Dclient.c1893 int p9_client_statfs(struct p9_fid *fid, struct p9_rstatfs *sb) in p9_client_statfs() argument
1910 err = p9pdu_readf(req->rc, clnt->proto_version, "ddqqqqqqd", &sb->type, in p9_client_statfs()
1911 &sb->bsize, &sb->blocks, &sb->bfree, &sb->bavail, in p9_client_statfs()
1912 &sb->files, &sb->ffree, &sb->fsid, &sb->namelen); in p9_client_statfs()
1922 fid->fid, (long unsigned int)sb->type, (long int)sb->bsize, in p9_client_statfs()
1923 sb->blocks, sb->bfree, sb->bavail, sb->files, sb->ffree, in p9_client_statfs()
1924 sb->fsid, (long int)sb->namelen); in p9_client_statfs()
/net/ceph/
Ddebugfs.c78 char sb[64]; in osdmap_show() local
83 ceph_osdmap_state_str(sb, sizeof(sb), state), in osdmap_show()
/net/
Dsocket.c249 static struct inode *sock_alloc_inode(struct super_block *sb) in sock_alloc_inode() argument