函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\offload.c Create Date:2022-07-27 14:43:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:bpf_map_offload_info_fill_ns

函数原型:static struct ns_common *bpf_map_offload_info_fill_ns(void *private_data)

返回类型:struct ns_common

参数:

类型参数名称
void *private_data
498  args等于private_data
502  RTNL is used as a global lock for all changes to network configuration
503  lock for reading
505  如果netdev
506  ifindex等于ifindex
507  net等于Net namespace inlines
508  get_net(net)
509  ns等于ns
510  否则
511  ifindex等于0
512  ns = NULL
515  lease a read lock
516  rtnl_unlock()
518  返回:ns