Home
last modified time | relevance | path

Searched refs:bind (Results 1 - 25 of 2397) sorted by relevance

12345678910>>...96

/test/xts/hats/kernel/syscalls/net/bind/
H A DBindApiTest.cpp62 * @tc.desc : bind the same socket fd twice failed, errno EINVAL.
86 ret = bind(socketFd, reinterpret_cast<struct sockaddr *>(&serAddr), sizeof(serAddr)); in HWTEST_F()
90 ret = bind(socketFd, reinterpret_cast<struct sockaddr *>(&serAddr), sizeof(serAddr)); in HWTEST_F()
100 * @tc.desc : bind the invalid socket fd failed.
117 ret = bind(BAD_SOCKET_FD, reinterpret_cast<struct sockaddr *>(&serAddr), sizeof(serAddr)); in HWTEST_F()
122 ret = bind(STDIN_FILENO, reinterpret_cast<struct sockaddr *>(&serAddr), sizeof(serAddr)); in HWTEST_F()
130 * @tc.desc : bind the invalid ip addr failed.
155 ret = bind(socketFd, reinterpret_cast<struct sockaddr *>(&serAddr), sizeof(serAddr)); in HWTEST_F()
160 ret = bind(socketFd, nullptr, sizeof(serAddr)); in HWTEST_F()
170 * @tc.desc : bind add
[all...]
/test/xts/tools/sample/ServerSampleD/java/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/sample/controller/
H A DVideoController.java32 import org.springframework.web.bind.annotation.RestController;
33 import org.springframework.web.bind.annotation.RequestMapping;
34 import org.springframework.web.bind.annotation.GetMapping;
35 import org.springframework.web.bind.annotation.RequestParam;
36 import org.springframework.web.bind.annotation.PostMapping;
37 import org.springframework.web.bind.annotation.RequestBody;
38 import org.springframework.web.bind.annotation.RequestMethod;
39 import org.springframework.web.bind.annotation.DeleteMapping;
/test/xts/tools/sample/ServerSampleE/java/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/sample/controller/
H A DBusinessGoodsController.java33 import org.springframework.web.bind.annotation.RestController;
34 import org.springframework.web.bind.annotation.RequestMapping;
35 import org.springframework.web.bind.annotation.GetMapping;
36 import org.springframework.web.bind.annotation.RequestParam;
37 import org.springframework.web.bind.annotation.PostMapping;
38 import org.springframework.web.bind.annotation.RequestBody;
39 import org.springframework.web.bind.annotation.RequestMethod;
40 import org.springframework.web.bind.annotation.DeleteMapping;
H A DBusinessCommentController.java33 import org.springframework.web.bind.annotation.RestController;
34 import org.springframework.web.bind.annotation.RequestMapping;
35 import org.springframework.web.bind.annotation.GetMapping;
36 import org.springframework.web.bind.annotation.RequestParam;
37 import org.springframework.web.bind.annotation.PostMapping;
38 import org.springframework.web.bind.annotation.RequestBody;
39 import org.springframework.web.bind.annotation.RequestMethod;
40 import org.springframework.web.bind.annotation.DeleteMapping;
H A DGroupSiteController.java32 import org.springframework.web.bind.annotation.RestController;
33 import org.springframework.web.bind.annotation.RequestMapping;
34 import org.springframework.web.bind.annotation.GetMapping;
35 import org.springframework.web.bind.annotation.RequestParam;
36 import org.springframework.web.bind.annotation.PostMapping;
37 import org.springframework.web.bind.annotation.RequestBody;
38 import org.springframework.web.bind.annotation.RequestMethod;
39 import org.springframework.web.bind.annotation.DeleteMapping;
H A DBusinessController.java32 import org.springframework.web.bind.annotation.RestController;
33 import org.springframework.web.bind.annotation.RequestMapping;
34 import org.springframework.web.bind.annotation.GetMapping;
35 import org.springframework.web.bind.annotation.RequestParam;
36 import org.springframework.web.bind.annotation.PostMapping;
37 import org.springframework.web.bind.annotation.RequestBody;
38 import org.springframework.web.bind.annotation.RequestMethod;
39 import org.springframework.web.bind.annotation.DeleteMapping;
/kernel/linux/linux-6.6/drivers/xen/
H A Devtchn.c62 struct mutex bind_mutex; /* serialize bind/unbind operations */
386 * serialized bind operations.) in evtchn_bind_to_user()
414 /* bind failed, should close the port now */ in evtchn_bind_to_user()
442 /* Prevent bind from racing with unbind */ in evtchn_ioctl()
447 struct ioctl_evtchn_bind_virq bind; in evtchn_ioctl() local
455 if (copy_from_user(&bind, uarg, sizeof(bind))) in evtchn_ioctl()
458 bind_virq.virq = bind.virq; in evtchn_ioctl()
472 struct ioctl_evtchn_bind_interdomain bind; in evtchn_ioctl() local
476 if (copy_from_user(&bind, uar in evtchn_ioctl()
498 struct ioctl_evtchn_bind_unbound_port bind; evtchn_ioctl() local
546 struct ioctl_evtchn_bind bind; evtchn_ioctl() local
[all...]
/kernel/linux/linux-5.10/net/sched/
H A Dact_ipt.c97 const struct tc_action_ops *ops, int ovr, int bind, in __tcf_ipt_init()
121 err = tcf_idr_check_alloc(tn, &index, a, bind); in __tcf_ipt_init()
125 if (exists && bind) in __tcf_ipt_init()
130 tcf_idr_release(*a, bind); in __tcf_ipt_init()
139 tcf_idr_release(*a, bind); in __tcf_ipt_init()
146 ret = tcf_idr_create(tn, index, est, a, ops, bind, in __tcf_ipt_init()
154 if (bind)/* dont override defaults */ in __tcf_ipt_init()
158 tcf_idr_release(*a, bind); in __tcf_ipt_init()
199 tcf_idr_release(*a, bind); in __tcf_ipt_init()
205 int bind, boo in tcf_ipt_init()
95 __tcf_ipt_init(struct net *net, unsigned int id, struct nlattr *nla, struct nlattr *est, struct tc_action **a, const struct tc_action_ops *ops, int ovr, int bind, struct tcf_proto *tp, u32 flags) __tcf_ipt_init() argument
203 tcf_ipt_init(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action **a, int ovr, int bind, bool rtnl_held, struct tcf_proto *tp, u32 flags, struct netlink_ext_ack *extack) tcf_ipt_init() argument
212 tcf_xt_init(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action **a, int ovr, int bind, bool unlocked, struct tcf_proto *tp, u32 flags, struct netlink_ext_ack *extack) tcf_xt_init() argument
273 tcf_ipt_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) tcf_ipt_dump() argument
[all...]
H A Dact_vlan.c117 int ovr, int bind, bool rtnl_held, in tcf_vlan_init()
148 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_vlan_init()
152 if (exists && bind) in tcf_vlan_init()
162 tcf_idr_release(*a, bind); in tcf_vlan_init()
170 tcf_idr_release(*a, bind); in tcf_vlan_init()
184 tcf_idr_release(*a, bind); in tcf_vlan_init()
202 tcf_idr_release(*a, bind); in tcf_vlan_init()
210 tcf_idr_release(*a, bind); in tcf_vlan_init()
219 &act_vlan_ops, bind, flags); in tcf_vlan_init()
227 tcf_idr_release(*a, bind); in tcf_vlan_init()
115 tcf_vlan_init(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action **a, int ovr, int bind, bool rtnl_held, struct tcf_proto *tp, u32 flags, struct netlink_ext_ack *extack) tcf_vlan_init() argument
285 tcf_vlan_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) tcf_vlan_dump() argument
[all...]
H A Dact_skbmod.c85 int ovr, int bind, bool rtnl_held, in tcf_skbmod_init()
133 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_skbmod_init()
137 if (exists && bind) in tcf_skbmod_init()
142 tcf_idr_release(*a, bind); in tcf_skbmod_init()
150 &act_skbmod_ops, bind, true, flags); in tcf_skbmod_init()
158 tcf_idr_release(*a, bind); in tcf_skbmod_init()
202 tcf_idr_release(*a, bind); in tcf_skbmod_init()
217 int bind, int ref) in tcf_skbmod_dump()
225 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, in tcf_skbmod_dump()
83 tcf_skbmod_init(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action **a, int ovr, int bind, bool rtnl_held, struct tcf_proto *tp, u32 flags, struct netlink_ext_ack *extack) tcf_skbmod_init() argument
216 tcf_skbmod_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) tcf_skbmod_dump() argument
H A Dact_sample.c38 int bind, bool rtnl_held, struct tcf_proto *tp, in tcf_sample_init()
63 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_sample_init()
67 if (exists && bind) in tcf_sample_init()
72 &act_sample_ops, bind, true, flags); in tcf_sample_init()
79 tcf_idr_release(*a, bind); in tcf_sample_init()
131 tcf_idr_release(*a, bind); in tcf_sample_init()
205 int bind, int ref) in tcf_sample_dump()
212 .bindcnt = atomic_read(&s->tcf_bindcnt) - bind, in tcf_sample_dump()
36 tcf_sample_init(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action **a, int ovr, int bind, bool rtnl_held, struct tcf_proto *tp, u32 flags, struct netlink_ext_ack *extack) tcf_sample_init() argument
204 tcf_sample_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) tcf_sample_dump() argument
H A Dact_simple.c88 int ovr, int bind, bool rtnl_held, in tcf_simp_init()
114 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_simp_init()
118 if (exists && bind) in tcf_simp_init()
123 tcf_idr_release(*a, bind); in tcf_simp_init()
131 &act_simp_ops, bind, false, flags); in tcf_simp_init()
165 tcf_idr_release(*a, bind); in tcf_simp_init()
170 int bind, int ref) in tcf_simp_dump()
177 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, in tcf_simp_dump()
86 tcf_simp_init(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action **a, int ovr, int bind, bool rtnl_held, struct tcf_proto *tp, u32 flags, struct netlink_ext_ack *extack) tcf_simp_init() argument
169 tcf_simp_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) tcf_simp_dump() argument
H A Dact_gact.c55 int ovr, int bind, bool rtnl_held, in tcf_gact_init()
100 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_gact_init()
103 &act_gact_ops, bind, flags); in tcf_gact_init()
110 if (bind)/* dont override defaults */ in tcf_gact_init()
113 tcf_idr_release(*a, bind); in tcf_gact_init()
145 tcf_idr_release(*a, bind); in tcf_gact_init()
185 int bind, int ref) in tcf_gact_dump()
192 .bindcnt = atomic_read(&gact->tcf_bindcnt) - bind, in tcf_gact_dump()
53 tcf_gact_init(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action **a, int ovr, int bind, bool rtnl_held, struct tcf_proto *tp, u32 flags, struct netlink_ext_ack *extack) tcf_gact_init() argument
184 tcf_gact_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) tcf_gact_dump() argument
H A Dact_connmark.c99 int ovr, int bind, bool rtnl_held, in tcf_connmark_init()
124 ret = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_connmark_init()
127 &act_connmark_ops, bind, false, flags); in tcf_connmark_init()
145 if (bind) in tcf_connmark_init()
148 tcf_idr_release(*a, bind); in tcf_connmark_init()
167 tcf_idr_release(*a, bind); in tcf_connmark_init()
172 int bind, int ref) in tcf_connmark_dump()
179 .bindcnt = atomic_read(&ci->tcf_bindcnt) - bind, in tcf_connmark_dump()
97 tcf_connmark_init(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action **a, int ovr, int bind, bool rtnl_held, struct tcf_proto *tp, u32 flags, struct netlink_ext_ack *extack) tcf_connmark_init() argument
171 tcf_connmark_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) tcf_connmark_dump() argument
/kernel/linux/linux-6.6/net/sched/
H A Dact_vlan.c122 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_vlan_init() local
149 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_vlan_init()
153 if (exists && bind) in tcf_vlan_init()
163 tcf_idr_release(*a, bind); in tcf_vlan_init()
171 tcf_idr_release(*a, bind); in tcf_vlan_init()
185 tcf_idr_release(*a, bind); in tcf_vlan_init()
203 tcf_idr_release(*a, bind); in tcf_vlan_init()
211 tcf_idr_release(*a, bind); in tcf_vlan_init()
220 &act_vlan_ops, bind, flags); in tcf_vlan_init()
228 tcf_idr_release(*a, bind); in tcf_vlan_init()
286 tcf_vlan_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) tcf_vlan_dump() argument
355 tcf_vlan_offload_act_setup(struct tc_action *act, void *entry_data, u32 *index_inc, bool bind, struct netlink_ext_ack *extack) tcf_vlan_offload_act_setup() argument
[all...]
H A Dact_gact.c59 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_gact_init() local
100 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_gact_init()
103 &act_gact_ops, bind, flags); in tcf_gact_init()
110 if (bind)/* dont override defaults */ in tcf_gact_init()
113 tcf_idr_release(*a, bind); in tcf_gact_init()
145 tcf_idr_release(*a, bind); in tcf_gact_init()
186 int bind, int ref) in tcf_gact_dump()
193 .bindcnt = atomic_read(&gact->tcf_bindcnt) - bind, in tcf_gact_dump()
240 u32 *index_inc, bool bind, in tcf_gact_offload_act_setup()
243 if (bind) { in tcf_gact_offload_act_setup()
185 tcf_gact_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) tcf_gact_dump() argument
239 tcf_gact_offload_act_setup(struct tc_action *act, void *entry_data, u32 *index_inc, bool bind, struct netlink_ext_ack *extack) tcf_gact_offload_act_setup() argument
[all...]
H A Dact_skbmod.c109 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_skbmod_init() local
155 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_skbmod_init()
159 if (exists && bind) in tcf_skbmod_init()
164 tcf_idr_release(*a, bind); in tcf_skbmod_init()
172 &act_skbmod_ops, bind, true, flags); in tcf_skbmod_init()
180 tcf_idr_release(*a, bind); in tcf_skbmod_init()
224 tcf_idr_release(*a, bind); in tcf_skbmod_init()
239 int bind, int ref) in tcf_skbmod_dump()
247 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, in tcf_skbmod_dump()
238 tcf_skbmod_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) tcf_skbmod_dump() argument
H A Dact_simple.c94 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_simp_init() local
116 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_simp_init()
120 if (exists && bind) in tcf_simp_init()
125 tcf_idr_release(*a, bind); in tcf_simp_init()
133 &act_simp_ops, bind, false, flags); in tcf_simp_init()
167 tcf_idr_release(*a, bind); in tcf_simp_init()
172 int bind, int ref) in tcf_simp_dump()
179 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, in tcf_simp_dump()
171 tcf_simp_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) tcf_simp_dump() argument
H A Dact_mirred.c98 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_mirred_init() local
122 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_mirred_init()
126 if (exists && bind) in tcf_mirred_init()
137 tcf_idr_release(*a, bind); in tcf_mirred_init()
151 &act_mirred_ops, bind, flags); in tcf_mirred_init()
158 tcf_idr_release(*a, bind); in tcf_mirred_init()
205 tcf_idr_release(*a, bind); in tcf_mirred_init()
356 static int tcf_mirred_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_mirred_dump() argument
364 .bindcnt = atomic_read(&m->tcf_bindcnt) - bind, in tcf_mirred_dump()
462 u32 *index_inc, bool bind, in tcf_mirred_offload_act_setup()
461 tcf_mirred_offload_act_setup(struct tc_action *act, void *entry_data, u32 *index_inc, bool bind, struct netlink_ext_ack *extack) tcf_mirred_offload_act_setup() argument
[all...]
H A Dact_skbedit.c123 bool bind = act_flags & TCA_ACT_FLAGS_BIND; in tcf_skbedit_init() local
207 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_skbedit_init()
211 if (exists && bind) in tcf_skbedit_init()
216 tcf_idr_release(*a, bind); in tcf_skbedit_init()
224 &act_skbedit_ops, bind, true, act_flags); in tcf_skbedit_init()
235 tcf_idr_release(*a, bind); in tcf_skbedit_init()
280 tcf_idr_release(*a, bind); in tcf_skbedit_init()
285 int bind, int ref) in tcf_skbedit_dump()
293 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, in tcf_skbedit_dump()
369 u32 *index_inc, bool bind, in tcf_skbedit_offload_act_setup()
284 tcf_skbedit_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) tcf_skbedit_dump() argument
368 tcf_skbedit_offload_act_setup(struct tc_action *act, void *entry_data, u32 *index_inc, bool bind, struct netlink_ext_ack *extack) tcf_skbedit_offload_act_setup() argument
[all...]
H A Dact_ipt.c101 bool bind = flags & TCA_ACT_FLAGS_BIND; in __tcf_ipt_init() local
122 err = tcf_idr_check_alloc(tn, &index, a, bind); in __tcf_ipt_init()
126 if (exists && bind) in __tcf_ipt_init()
131 tcf_idr_release(*a, bind); in __tcf_ipt_init()
140 tcf_idr_release(*a, bind); in __tcf_ipt_init()
147 ret = tcf_idr_create(tn, index, est, a, ops, bind, in __tcf_ipt_init()
155 if (bind)/* dont override defaults */ in __tcf_ipt_init()
159 tcf_idr_release(*a, bind); in __tcf_ipt_init()
212 tcf_idr_release(*a, bind); in __tcf_ipt_init()
329 static int tcf_ipt_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_ipt_dump() argument
[all...]
/kernel/linux/linux-5.10/include/net/
H A Dact_api.h103 int bind, bool rtnl_held, struct tcf_proto *tp,
164 int bind, bool cpustats, u32 flags);
167 const struct tc_action_ops *ops, int bind,
172 struct tc_action **a, int bind);
173 int tcf_idr_release(struct tc_action *a, bool bind);
178 int tcf_action_destroy(struct tc_action *actions[], int bind);
182 struct nlattr *est, char *name, int ovr, int bind,
190 char *name, int ovr, int bind,
194 int tcf_action_dump(struct sk_buff *skb, struct tc_action *actions[], int bind,
/kernel/linux/linux-5.10/drivers/xen/
H A Devtchn.c62 struct mutex bind_mutex; /* serialize bind/unbind operations */
376 * serialized bind operations.) in evtchn_bind_to_user()
404 /* bind failed, should close the port now */ in evtchn_bind_to_user()
461 /* Prevent bind from racing with unbind */ in evtchn_ioctl()
466 struct ioctl_evtchn_bind_virq bind; in evtchn_ioctl() local
474 if (copy_from_user(&bind, uarg, sizeof(bind))) in evtchn_ioctl()
477 bind_virq.virq = bind.virq; in evtchn_ioctl()
491 struct ioctl_evtchn_bind_interdomain bind; in evtchn_ioctl() local
495 if (copy_from_user(&bind, uar in evtchn_ioctl()
519 struct ioctl_evtchn_bind_unbound_port bind; evtchn_ioctl() local
[all...]
/kernel/linux/linux-5.10/arch/x86/events/intel/
H A Dp4.c708 struct p4_event_bind *bind = NULL; in p4_config_get_bind() local
711 bind = &p4_event_bind_map[evnt]; in p4_config_get_bind()
713 return bind; in p4_config_get_bind()
718 struct p4_event_bind *bind; in p4_pmu_event_map() local
723 bind = p4_config_get_bind(config); in p4_pmu_event_map()
724 esel = P4_OPCODE_ESEL(bind->opcode); in p4_pmu_event_map()
824 struct p4_event_bind *bind; in p4_hw_config() local
841 bind = p4_config_get_bind(event->attr.config); in p4_hw_config()
842 if (!bind) { in p4_hw_config()
846 esel = P4_OPCODE_ESEL(bind in p4_hw_config()
935 struct p4_pebs_bind *bind; p4_pmu_enable_pebs() local
956 struct p4_event_bind *bind; p4_pmu_enable_event() local
1193 p4_next_cntr(int thread, unsigned long *used_mask, struct p4_event_bind *bind) p4_next_cntr() argument
1213 struct p4_event_bind *bind; p4_pmu_schedule_events() local
[all...]
/kernel/linux/linux-6.6/arch/x86/events/intel/
H A Dp4.c708 struct p4_event_bind *bind = NULL; in p4_config_get_bind() local
711 bind = &p4_event_bind_map[evnt]; in p4_config_get_bind()
713 return bind; in p4_config_get_bind()
718 struct p4_event_bind *bind; in p4_pmu_event_map() local
723 bind = p4_config_get_bind(config); in p4_pmu_event_map()
724 esel = P4_OPCODE_ESEL(bind->opcode); in p4_pmu_event_map()
824 struct p4_event_bind *bind; in p4_hw_config() local
841 bind = p4_config_get_bind(event->attr.config); in p4_hw_config()
842 if (!bind) { in p4_hw_config()
846 esel = P4_OPCODE_ESEL(bind in p4_hw_config()
935 struct p4_pebs_bind *bind; p4_pmu_enable_pebs() local
956 struct p4_event_bind *bind; __p4_pmu_enable_event() local
1226 p4_next_cntr(int thread, unsigned long *used_mask, struct p4_event_bind *bind) p4_next_cntr() argument
1246 struct p4_event_bind *bind; p4_pmu_schedule_events() local
[all...]

Completed in 14 milliseconds

12345678910>>...96