Searched refs:inst (Results 1 – 8 of 8) sorted by relevance
/net/netfilter/ |
D | nfnetlink_log.c | 104 struct nfulnl_instance *inst; in __instance_lookup() local 107 hlist_for_each_entry_rcu(inst, head, hlist) { in __instance_lookup() 108 if (inst->group_num == group_num) in __instance_lookup() 109 return inst; in __instance_lookup() 115 instance_get(struct nfulnl_instance *inst) in instance_get() argument 117 refcount_inc(&inst->use); in instance_get() 123 struct nfulnl_instance *inst; in instance_lookup_get() local 126 inst = __instance_lookup(log, group_num); in instance_lookup_get() 127 if (inst && !refcount_inc_not_zero(&inst->use)) in instance_lookup_get() 128 inst = NULL; in instance_lookup_get() [all …]
|
D | nfnetlink_queue.c | 105 struct nfqnl_instance *inst; in instance_lookup() local 108 hlist_for_each_entry_rcu(inst, head, hlist) { in instance_lookup() 109 if (inst->queue_num == queue_num) in instance_lookup() 110 return inst; in instance_lookup() 118 struct nfqnl_instance *inst; in instance_create() local 128 inst = kzalloc(sizeof(*inst), GFP_ATOMIC); in instance_create() 129 if (!inst) { in instance_create() 134 inst->queue_num = queue_num; in instance_create() 135 inst->peer_portid = portid; in instance_create() 136 inst->queue_maxlen = NFQNL_QMAX_DEFAULT; in instance_create() [all …]
|
/net/netfilter/ipset/ |
D | ip_set_core.c | 60 #define ip_set(inst, id) \ argument 61 ip_set_dereference((inst)->ip_set_list)[id] 62 #define ip_set_ref_netlink(inst,id) \ argument 63 rcu_dereference_raw((inst)->ip_set_list)[id] 561 struct ip_set_net *inst = ip_set_pernet(net); in ip_set_rcu_get() local 564 return ip_set_dereference_nfnl(inst->ip_set_list)[index]; in ip_set_rcu_get() 672 struct ip_set_net *inst = ip_set_pernet(net); in ip_set_get_byname() local 675 for (i = 0; i < inst->ip_set_max; i++) { in ip_set_get_byname() 676 s = rcu_dereference(inst->ip_set_list)[i]; in ip_set_get_byname() 697 __ip_set_put_byindex(struct ip_set_net *inst, ip_set_id_t index) in __ip_set_put_byindex() argument [all …]
|
/net/ceph/ |
D | mon_client.c | 71 struct ceph_entity_inst *inst = &m->mon_inst[i]; in ceph_monmap_decode() local 74 ceph_decode_copy_safe(&p, end, &inst->name, in ceph_monmap_decode() 75 sizeof(inst->name), bad); in ceph_monmap_decode() 76 err = ceph_decode_entity_addr(&p, end, &inst->addr); in ceph_monmap_decode() 1185 monc->client->msgr.inst.name.type = CEPH_ENTITY_TYPE_CLIENT; in handle_auth_reply() 1186 monc->client->msgr.inst.name.num = in handle_auth_reply()
|
D | debugfs.c | 44 struct ceph_entity_inst *inst = in monmap_show() local 48 ENTITY_NAME(inst->name), in monmap_show() 49 ceph_pr_addr(&inst->addr)); in monmap_show()
|
D | messenger.c | 224 memcpy(&msgr->my_enc_addr, &msgr->inst.addr, sizeof(msgr->my_enc_addr)); in encode_my_addr() 2040 if (addr_is_blank(&con->msgr->inst.addr)) { in process_banner() 2041 int port = addr_port(&con->msgr->inst.addr); in process_banner() 2043 memcpy(&con->msgr->inst.addr.in_addr, in process_banner() 2046 addr_set_port(&con->msgr->inst.addr, port); in process_banner() 2049 ceph_pr_addr(&con->msgr->inst.addr)); in process_banner() 3041 u32 nonce = le32_to_cpu(msgr->inst.addr.nonce) + 1000000; in ceph_messenger_reset_nonce() 3042 msgr->inst.addr.nonce = cpu_to_le32(nonce); in ceph_messenger_reset_nonce() 3055 msgr->inst.addr = *myaddr; in ceph_messenger_init() 3058 msgr->inst.addr.type = 0; in ceph_messenger_init() [all …]
|
D | ceph_common.c | 628 return &client->msgr.inst.addr; in ceph_client_addr()
|
/net/tipc/ |
D | socket.c | 958 u32 type, inst, scope; in tipc_send_group_anycast() local 966 inst = dest->addr.name.name.instance; in tipc_send_group_anycast() 976 if (!tipc_nametbl_lookup(net, type, inst, scope, &dsts, in tipc_send_group_anycast() 1112 u32 type, inst, scope, exclude; in tipc_send_group_mcast() local 1119 inst = dest->addr.name.name.instance; in tipc_send_group_mcast() 1123 if (!tipc_nametbl_lookup(net, type, inst, scope, &dsts, in tipc_send_group_mcast() 1325 u32 type = 0, inst = 0; in __tipc_sendmsg() local 1376 inst = dest->addr.name.name.instance; in __tipc_sendmsg() 1378 dport = tipc_nametbl_translate(net, type, inst, &dnode); in __tipc_sendmsg() 1397 msg_set_nameinst(hdr, inst); in __tipc_sendmsg()
|