Home
last modified time | relevance | path

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

/net/netfilter/ipvs/
Dip_vs_sync.c309 struct ip_vs_sync_buff *sb; in sb_dequeue() local
313 sb = NULL; in sb_dequeue()
316 sb = list_entry(ms->sync_queue.next, struct ip_vs_sync_buff, in sb_dequeue()
318 list_del(&sb->list); in sb_dequeue()
325 return sb; in sb_dequeue()
334 struct ip_vs_sync_buff *sb; in ip_vs_sync_buff_create() local
336 if (!(sb=kmalloc(sizeof(struct ip_vs_sync_buff), GFP_ATOMIC))) in ip_vs_sync_buff_create()
341 sb->mesg = kmalloc(len, GFP_ATOMIC); in ip_vs_sync_buff_create()
342 if (!sb->mesg) { in ip_vs_sync_buff_create()
343 kfree(sb); in ip_vs_sync_buff_create()
[all …]
/net/sunrpc/
Drpc_pipe.c197 rpc_alloc_inode(struct super_block *sb) in rpc_alloc_inode() argument
468 rpc_get_inode(struct super_block *sb, umode_t mode) in rpc_get_inode() argument
470 struct inode *inode = new_inode(sb); in rpc_get_inode()
1189 struct dentry *rpc_d_lookup_sb(const struct super_block *sb, in rpc_d_lookup_sb() argument
1193 return d_hash_and_lookup(sb->s_root, &dir); in rpc_d_lookup_sb()
1356 rpc_fill_super(struct super_block *sb, struct fs_context *fc) in rpc_fill_super() argument
1360 struct net *net = sb->s_fs_info; in rpc_fill_super()
1364 sb->s_blocksize = PAGE_SIZE; in rpc_fill_super()
1365 sb->s_blocksize_bits = PAGE_SHIFT; in rpc_fill_super()
1366 sb->s_magic = RPCAUTH_GSSMAGIC; in rpc_fill_super()
[all …]
Dclnt.c121 static struct dentry *rpc_setup_pipedir_sb(struct super_block *sb, in rpc_setup_pipedir_sb() argument
129 dir = rpc_d_lookup_sb(sb, dir_name); in rpc_setup_pipedir_sb()
185 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/core/
Dgen_stats.c178 struct gnet_stats_basic sb; in ___gnet_stats_copy_basic() local
180 memset(&sb, 0, sizeof(sb)); in ___gnet_stats_copy_basic()
181 sb.bytes = bstats.bytes; in ___gnet_stats_copy_basic()
182 sb.packets = bstats.packets; in ___gnet_stats_copy_basic()
183 return gnet_stats_copy(d, type, &sb, sizeof(sb), in ___gnet_stats_copy_basic()
/net/9p/
Dclient.c1896 int p9_client_statfs(struct p9_fid *fid, struct p9_rstatfs *sb) in p9_client_statfs() argument
1913 err = p9pdu_readf(&req->rc, clnt->proto_version, "ddqqqqqqd", &sb->type, in p9_client_statfs()
1914 &sb->bsize, &sb->blocks, &sb->bfree, &sb->bavail, in p9_client_statfs()
1915 &sb->files, &sb->ffree, &sb->fsid, &sb->namelen); in p9_client_statfs()
1925 fid->fid, (long unsigned int)sb->type, (long int)sb->bsize, in p9_client_statfs()
1926 sb->blocks, sb->bfree, sb->bavail, sb->files, sb->ffree, in p9_client_statfs()
1927 sb->fsid, (long int)sb->namelen); in p9_client_statfs()
/net/ceph/
Ddebugfs.c82 char sb[64]; in osdmap_show() local
87 ceph_osdmap_state_str(sb, sizeof(sb), state), in osdmap_show()
/net/tipc/
Dname_table.c288 struct tipc_subscr *sb = &sub->evt.s; in tipc_service_subscribe() local
295 ns.type = tipc_sub_read(sb, seq.type); in tipc_service_subscribe()
296 ns.lower = tipc_sub_read(sb, seq.lower); in tipc_service_subscribe()
297 ns.upper = tipc_sub_read(sb, seq.upper); in tipc_service_subscribe()
302 if (tipc_sub_read(sb, filter) & TIPC_SUB_NO_STATUS) in tipc_service_subscribe()
/net/
Dsocket.c235 static struct inode *sock_alloc_inode(struct super_block *sb) in sock_alloc_inode() argument