| /src/contrib/ntp/libntp/lib/isc/include/isc/ ! |
| H A D | list.h | 36 #define ISC_LINK_INIT_TYPE(elt, link, type) \ argument 38 (elt)->link.prev = (type *)(-1); \ 39 (elt)->link.next = (type *)(-1); \ 41 #define ISC_LINK_INIT(elt, link) \ argument 42 ISC_LINK_INIT_TYPE(elt, link, void) 43 #define ISC_LINK_LINKED(elt, link) ((void *)((elt)->link.prev) != (void *)(-1)) argument 49 #define __ISC_LIST_PREPENDUNSAFE(list, elt, link) \ argument 52 (list).head->link.prev = (elt); \ 55 (elt)->link.prev = NULL; \ 56 (elt)->link.next = (list).head; \ [all …]
|
| H A D | util.h | 192 #define INIT_LINK(elt, link) ISC_LINK_INIT(elt, link) argument 196 #define PREV(elt, link) ISC_LIST_PREV(elt, link) argument 197 #define NEXT(elt, link) ISC_LIST_NEXT(elt, link) argument 198 #define APPEND(list, elt, link) ISC_LIST_APPEND(list, elt, link) argument 199 #define PREPEND(list, elt, link) ISC_LIST_PREPEND(list, elt, link) argument 200 #define UNLINK(list, elt, link) ISC_LIST_UNLINK(list, elt, link) argument 201 #define ENQUEUE(list, elt, link) ISC_LIST_APPEND(list, elt, link) argument 202 #define DEQUEUE(list, elt, link) ISC_LIST_UNLINK(list, elt, link) argument 205 #define APPENDLIST(list1, list2, link) ISC_LIST_APPENDLIST(list1, list2, link) argument
|
| /src/lib/libc/include/isc/ ! |
| H A D | list.h | 35 #define INIT_LINK_TYPE(elt, link, type) \ argument 37 (elt)->link.prev = (type *)(-1); \ 38 (elt)->link.next = (type *)(-1); \ 40 #define INIT_LINK(elt, link) \ argument 41 INIT_LINK_TYPE(elt, link, void) 42 #define LINKED(elt, link) ((void *)((elt)->link.prev) != (void *)(-1) && \ argument 43 (void *)((elt)->link.next) != (void *)(-1)) 49 #define PREPEND(list, elt, link) \ argument 51 INSIST(!LINKED(elt, link));\ 53 (list).head->link.prev = (elt); \ [all …]
|
| /src/sys/dev/acpica/ ! |
| H A D | acpi_pci_link.c | 86 struct link; 91 struct link *pl_links; 95 struct link { struct 209 struct link *link; in link_add_crs() local 238 link = &req->sc->pl_links[req->link_index]; in link_add_crs() 239 link->l_res_index = req->res_index; in link_add_crs() 240 link->l_crs_type = res->Type; in link_add_crs() 251 link->l_irq = res->Data.Irq.Interrupts[0]; in link_add_crs() 253 link->l_irq = res->Data.ExtendedIrq.Interrupts[0]; in link_add_crs() 258 if (link->l_irq == 0) in link_add_crs() [all …]
|
| /src/sys/dev/ocs_fc/ ! |
| H A D | ocs_list.h | 86 #define link2item(list, link) ((void*) (((uint8_t*)(link)) - (list)->offset)) argument 109 #define ocs_list_init(head, type, link) _ocs_list_init(head, offsetof(type, link)) argument 191 ocs_list_init_link(ocs_list_t *list, ocs_list_t *link) in ocs_list_init_link() argument 195 ocs_list_assert(link); in ocs_list_init_link() 197 if (link->magic == 0) { in ocs_list_init_link() 198 link->magic = OCS_LIST_LINK_MAGIC; in ocs_list_init_link() 199 link->offset = list->offset; in ocs_list_init_link() 200 link->next = NULL; in ocs_list_init_link() 201 link->prev = NULL; in ocs_list_init_link() 218 ocs_list_t *link; in ocs_list_add_head() local [all …]
|
| /src/contrib/ntp/include/ ! |
| H A D | ntp_lists.h | 259 gen_node * link; member 357 #define DECL_DLIST_LINK(entrytype, link) \ argument 361 } link 363 #define INIT_DLIST(listhead, link) \ argument 365 (listhead).link.f = &(listhead); \ 366 (listhead).link.b = &(listhead); \ 369 #define HEAD_DLIST(listhead, link) \ argument 371 (&(listhead) != (listhead).link.f) \ 372 ? (listhead).link.f \ 376 #define TAIL_DLIST(listhead, link) \ argument [all …]
|
| /src/usr.sbin/ppp/ ! |
| H A D | link.h | 40 struct link { struct 61 #define LINK_QUEUES(link) (sizeof (link)->Queue / sizeof (link)->Queue[0]) argument 62 #define LINK_HIGHQ(link) ((link)->Queue + LINK_QUEUES(link) - 1) argument 64 extern void link_SequenceQueue(struct link *); 65 extern void link_DeleteQueue(struct link *); 66 extern size_t link_QueueLen(struct link *); 67 extern size_t link_QueueBytes(struct link *); 68 extern void link_PendingLowPriorityData(struct link *, size_t *, size_t *); 69 extern struct mbuf *link_Dequeue(struct link *); 71 extern void link_PushPacket(struct link *, struct mbuf *, struct bundle *, [all …]
|
| H A D | physical.c | 164 p->link.type = PHYSICAL_LINK; in physical_Create() 165 p->link.name = dl->name; in physical_Create() 166 p->link.len = sizeof *p; in physical_Create() 169 throughput_init(&p->link.stats.total, SAMPLE_PERIOD); in physical_Create() 170 p->link.stats.parent = dl->bundle->ncp.mp.active ? in physical_Create() 171 &dl->bundle->ncp.mp.link.stats.total : NULL; in physical_Create() 172 p->link.stats.gather = 1; in physical_Create() 174 memset(p->link.Queue, '\0', sizeof p->link.Queue); in physical_Create() 175 memset(p->link.proto_in, '\0', sizeof p->link.proto_in); in physical_Create() 176 memset(p->link.proto_out, '\0', sizeof p->link.proto_out); in physical_Create() [all …]
|
| H A D | mp.c | 197 percent = MAX(mp->link.stats.total.in.OctetsPerSecond, in mp_UpDown() 198 mp->link.stats.total.out.OctetsPerSecond) * 800 / in mp_UpDown() 212 throughput_stop(&mp->link.stats.total); in mp_StopAutoloadTimer() 218 if (mp->link.stats.total.SamplePeriod != mp->cfg.autoload.period) { in mp_CheckAutoloadTimer() 219 throughput_destroy(&mp->link.stats.total); in mp_CheckAutoloadTimer() 220 throughput_init(&mp->link.stats.total, mp->cfg.autoload.period); in mp_CheckAutoloadTimer() 221 throughput_callback(&mp->link.stats.total, mp_UpDown, mp); in mp_CheckAutoloadTimer() 225 throughput_start(&mp->link.stats.total, "MP throughput", 1); in mp_CheckAutoloadTimer() 233 if (mp->link.stats.total.SamplePeriod != mp->cfg.autoload.period) in mp_RestartAutoloadTimer() 236 throughput_clear(&mp->link.stats.total, THROUGHPUT_OVERALL, NULL); in mp_RestartAutoloadTimer() [all …]
|
| /src/sys/contrib/dev/iwlwifi/mld/ ! |
| H A D | link.c | 42 struct iwl_mld_link *link = iwl_mld_link_from_mac80211(link_conf); in iwl_mld_add_link_to_fw() local 47 if (WARN_ON(!link)) in iwl_mld_add_link_to_fw() 50 cmd.link_id = cpu_to_le32(link->fw_id); in iwl_mld_add_link_to_fw() 65 struct ieee80211_bss_conf *link, in iwl_mld_fill_rates() argument 73 unsigned long basic = link->basic_rates; in iwl_mld_fill_rates() 151 struct ieee80211_bss_conf *link, in iwl_mld_fill_protection_flags() argument 154 u8 protection_mode = link->ht_operation_mode & in iwl_mld_fill_protection_flags() 160 if (link->use_cts_prot) in iwl_mld_fill_protection_flags() 175 if (link->chanreq.oper.width > NL80211_CHAN_WIDTH_20) in iwl_mld_fill_protection_flags() 193 static void iwl_mld_fill_qos_params(struct ieee80211_bss_conf *link, in iwl_mld_fill_qos_params() argument [all …]
|
| H A D | ap.c | 45 struct ieee80211_bss_conf *link, in iwl_mld_get_rate_flags() argument 48 u32 legacy = link->beacon_tx_rate.control[band].legacy; in iwl_mld_get_rate_flags() 96 struct ieee80211_bss_conf *link) in iwl_mld_fill_beacon_template_cmd() argument 98 struct iwl_mld_link *mld_link = iwl_mld_link_from_mac80211(link); in iwl_mld_fill_beacon_template_cmd() 111 ctx = wiphy_dereference(mld->wiphy, link->chanctx_conf); in iwl_mld_fill_beacon_template_cmd() 127 flags |= iwl_mld_get_rate_flags(mld, info, vif, link, in iwl_mld_fill_beacon_template_cmd() 200 struct iwl_mld_link *link; in iwl_mld_free_ap_early_key() local 205 link = iwl_mld_link_dereference_check(mld_vif, key->link_id); in iwl_mld_free_ap_early_key() 206 if (WARN_ON(!link)) in iwl_mld_free_ap_early_key() 209 for (int i = 0; i < ARRAY_SIZE(link->ap_early_keys); i++) { in iwl_mld_free_ap_early_key() [all …]
|
| H A D | link.h | 79 iwl_mld_cleanup_link(struct iwl_mld *mld, struct iwl_mld_link *link) in iwl_mld_cleanup_link() argument 83 probe_data = wiphy_dereference(mld->wiphy, link->probe_resp_data); in iwl_mld_cleanup_link() 84 RCU_INIT_POINTER(link->probe_resp_data, NULL); in iwl_mld_cleanup_link() 88 CLEANUP_STRUCT(link); in iwl_mld_cleanup_link() 89 if (link->bcast_sta.sta_id != IWL_INVALID_STA) in iwl_mld_cleanup_link() 90 iwl_mld_free_internal_sta(mld, &link->bcast_sta); in iwl_mld_cleanup_link() 91 if (link->mcast_sta.sta_id != IWL_INVALID_STA) in iwl_mld_cleanup_link() 92 iwl_mld_free_internal_sta(mld, &link->mcast_sta); in iwl_mld_cleanup_link() 93 if (link->mon_sta.sta_id != IWL_INVALID_STA) in iwl_mld_cleanup_link() 94 iwl_mld_free_internal_sta(mld, &link->mon_sta); in iwl_mld_cleanup_link() [all …]
|
| /src/usr.sbin/etcupdate/tests/ ! |
| H A D | always_test.sh | 101 ln -s "old link" $OLD/first/difflinks/second/link 102 ln -s "test link" $TEST/first/difflinks/second/link 117 ln -s "new link" $NEW/second/second/difflinks/link 118 ln -s "test link" $TEST/second/second/difflinks/link 144 mkfifo $OLD/difftype/difftype/difflinks/link 145 ln -s "new" $NEW/difftype/difftype/difflinks/link 146 ln -s "test" $TEST/difftype/difftype/difflinks/link 158 ln -s "old" $OLD/difflinks/first/first/link 159 ln -s "new" $NEW/difflinks/first/first/link 164 ln -s "old" $OLD/difflinks/difftype/difftype/link [all …]
|
| H A D | tests_test.sh | 111 ln -s "bar" $i/equal/equal/equal/link 120 ln -s "bar" $i/equal/first/first/link 135 ln -s "foo" $i/equal/difflinks/difflinks/link 137 ln -s "bar" $TEST/equal/difflinks/difflinks/link 152 ln -s "bar" $i/first/equal/second/link 165 ln -s "bar" $OLD/first/first/equal/link 183 ln -s "old link" $OLD/first/difflinks/second/link 184 ln -s "test link" $TEST/first/difflinks/second/link 201 ln -s "new" $NEW/second/equal/first/link 219 ln -s "bar" $i/second/second/equal/link [all …]
|
| /src/contrib/netbsd-tests/usr.sbin/mtree/ ! |
| H A D | d_merge.in | 5 # directory "a" with only one entry, changing from dir to link 7 ./a/change-dir-to-link type=dir mode=0755 8 ./a/change-dir-to-link type=link mode=0755 10 # directory "b" with only one entry, changing from link to dir 12 ./b/change-link-to-dir type=link mode=0755 13 ./b/change-link-to-dir type=dir mode=0755 15 # directory "c" with multiple entries, one changing from dir to link 19 ./c/change-dir-to-link type=dir mode=0755 20 ./c/change-dir-to-link type=link mode=0755 22 # directory "d" with multiple entries, one changing from link to dir [all …]
|
| /src/sbin/ifconfig/ ! |
| H A D | ifconfig_netlink.c | 127 struct snl_parsed_link link; member 165 if (!snl_parse_nlmsg(ss, hdr, &snl_rtm_link_parser, &iface->link)) in prepare_ifmap() 167 if (iface->link.ifi_index >= ifmap->size) { in prepare_ifmap() 170 while (new_size <= iface->link.ifi_index + 1) in prepare_ifmap() 178 ifmap->ifaces[iface->link.ifi_index] = iface; in prepare_ifmap() 189 struct snl_parsed_link_simple link = {}; in if_nametoindex_nl() local 202 if (!snl_parse_nlmsg(ss, hdr, &snl_rtm_link_parser_simple, &link)) in if_nametoindex_nl() 205 return (link.ifi_index); in if_nametoindex_nl() 258 if_link_t *link = &iface->link; in match_iface() local 260 if (args->ifname != NULL && strcmp(args->ifname, link->ifla_ifname)) in match_iface() [all …]
|
| /src/sys/contrib/dev/iwlwifi/mld/tests/ ! |
| H A D | link-selection.c | 27 } link; member 33 .input.link = { 44 .input.link = { 55 .input.link = { 67 .input.link = { 78 static void setup_link(struct ieee80211_bss_conf *link) in setup_link() argument 85 KUNIT_ALLOC_AND_ASSERT(test, link->bss); in setup_link() 87 link->bss->signal = DBM_TO_MBM(test_param->input.link.signal); in setup_link() 89 link->chanreq.oper = *test_param->input.link.chandef; in setup_link() 91 if (test_param->input.link.has_chan_util_elem) { in setup_link() [all …]
|
| H A D | utils.c | 71 IWL_MLD_ALLOC_FN(link, bss_conf) in IWL_MLD_ALLOC_FN() argument 74 struct ieee80211_bss_conf *link, in IWL_MLD_ALLOC_FN() 83 rcu_assign_pointer(vif->link_conf[link_id], link); in IWL_MLD_ALLOC_FN() 84 link->link_id = link_id; in IWL_MLD_ALLOC_FN() 85 link->vif = vif; in IWL_MLD_ALLOC_FN() 86 link->beacon_int = 100; in IWL_MLD_ALLOC_FN() 87 link->dtim_period = 3; in IWL_MLD_ALLOC_FN() 88 link->qos = true; in IWL_MLD_ALLOC_FN() 91 ret = iwl_mld_allocate_link_fw_id(mld, &mld_link->fw_id, link); in IWL_MLD_ALLOC_FN() 93 rcu_assign_pointer(mld_vif->link[link_id], mld_link); in IWL_MLD_ALLOC_FN() [all …]
|
| /src/sys/netgraph/ ! |
| H A D | ng_bridge.c | 136 link_p link; /* link where addr can be found */ member 170 static void ng_bridge_free_link(link_p link); 172 static int ng_bridge_put(priv_p priv, const u_char *addr, link_p link); 174 static void ng_bridge_remove_hosts(priv_p priv, link_p link); 389 link_p link; in ng_bridge_newhook() local 428 link = malloc(sizeof(*link), M_NETGRAPH_BRIDGE, M_NOWAIT | M_ZERO); in ng_bridge_newhook() 429 if (link == NULL) { in ng_bridge_newhook() 435 link->stats.f = counter_u64_alloc(M_NOWAIT); \ in ng_bridge_newhook() 436 if (link->stats.f == NULL) \ in ng_bridge_newhook() 454 link->hook = hook; in ng_bridge_newhook() [all …]
|
| /src/sys/kern/ ! |
| H A D | kern_rctl.c | 382 struct rctl_rule_link *link; in rctl_throttle_decay() local 390 LIST_FOREACH(link, &racct->r_rule_links, rrl_next) { in rctl_throttle_decay() 391 rule = link->rrl_rule; in rctl_throttle_decay() 425 struct rctl_rule_link *link; in rctl_pcpu_available() local 434 LIST_FOREACH(link, &p->p_racct->r_rule_links, rrl_next) { in rctl_pcpu_available() 435 rule = link->rrl_rule; in rctl_pcpu_available() 499 struct rctl_rule_link *link; in rctl_enforce() local 513 LIST_FOREACH(link, &p->p_racct->r_rule_links, rrl_next) { in rctl_enforce() 514 rule = link->rrl_rule; in rctl_enforce() 520 link->rrl_exceeded = 0; in rctl_enforce() [all …]
|
| /src/contrib/ofed/opensm/opensm/ ! |
| H A D | osm_ucast_dfsssp.c | 73 typedef struct link { struct 80 struct link *next; argument 142 static inline void set_default_link(link_t * link) in set_default_link() argument 144 link->guid = 0; in set_default_link() 145 link->from = 0; in set_default_link() 146 link->from_port = 0; in set_default_link() 147 link->to = 0; in set_default_link() 148 link->to_port = 0; in set_default_link() 149 link->weight = 0; in set_default_link() 150 link->next = NULL; in set_default_link() [all …]
|
| /src/sys/contrib/device-tree/src/arm64/qcom/ ! |
| H A D | sc7280-herobrine-audio-wcd9385.dtsi | 38 dai-link@0 { 39 link-name = "MAX98360A"; 51 dai-link@1 { 52 link-name = "DisplayPort"; 64 dai-link@2 { 65 link-name = "WCD9385 Playback"; 77 dai-link@3 { 78 link-name = "WCD9385 Capture"; 90 dai-link@4 { 91 link-name = "DMIC"; [all …]
|
| /src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ ! |
| H A D | sanitizer_deadlock_detector2.cpp | 80 Link link[kMaxLink]; member 229 Link *link = &mtx1->link[li]; in MutexBeforeLock() local 230 if (link->id == m->id) { in MutexBeforeLock() 231 if (link->seq != mtx->seq) { in MutexBeforeLock() 232 link->seq = mtx->seq; in MutexBeforeLock() 233 link->tid = lt->ctx; in MutexBeforeLock() 234 link->stk0 = stk1; in MutexBeforeLock() 235 link->stk1 = cb->Unwind(); in MutexBeforeLock() 245 Link *link = &mtx1->link[mtx1->nlink++]; in MutexBeforeLock() local 246 link->id = m->id; in MutexBeforeLock() [all …]
|
| /src/sys/net/ ! |
| H A D | pfil.c | 150 struct pfil_link *link; in pfil_mem_common() local 159 CK_STAILQ_FOREACH(link, pch, link_chain) { in pfil_mem_common() 160 if (__predict_true(link->link_mem_chk != NULL && !realloc)) in pfil_mem_common() 161 rv = link->link_mem_chk(mem, len, flags, ifp, in pfil_mem_common() 162 link->link_ruleset, m); in pfil_mem_common() 164 rv = pfil_fake_mbuf(link->link_mbuf_chk, mem, len, ifp, in pfil_mem_common() 165 flags, link->link_ruleset, m); in pfil_mem_common() 167 rv = link->link_mbuf_chk(m, ifp, flags, in pfil_mem_common() 168 link->link_ruleset, NULL); in pfil_mem_common() 200 struct pfil_link *link; in pfil_mbuf_common() local [all …]
|
| /src/sys/contrib/dev/mediatek/mt76/mt7996/ ! |
| H A D | main.c | 192 struct mt7996_vif_link *link; in mt7996_set_hw_key() local 198 link = mt7996_vif_link(dev, vif, link_id); in mt7996_set_hw_key() 199 if (!link) in mt7996_set_hw_key() 202 if (!mt7996_vif_link_phy(link)) in mt7996_set_hw_key() 209 msta_link = mt76_dereference(msta->link[link_id], in mt7996_set_hw_key() 217 msta_link = &link->msta_link; in mt7996_set_hw_key() 240 if (cmd == SET_KEY && !sta && !link->mt76.cipher) { in mt7996_set_hw_key() 241 link->mt76.cipher = in mt7996_set_hw_key() 243 mt7996_mcu_add_bss_info(link->phy, vif, link_conf, in mt7996_set_hw_key() 244 &link->mt76, msta_link, true); in mt7996_set_hw_key() [all …]
|