Home
last modified time | relevance | path

Searched refs:cr (Results 1 – 10 of 10) sorted by relevance

/net/bluetooth/rfcomm/
Dcore.c58 static int rfcomm_send_nsc(struct rfcomm_session *s, int cr, u8 type);
59 static int rfcomm_send_pn(struct rfcomm_session *s, int cr, struct rfcomm_dlc *d);
60 static int rfcomm_send_msc(struct rfcomm_session *s, int cr, u8 dlci, u8 v24_sig);
61 static int rfcomm_send_test(struct rfcomm_session *s, int cr, u8 *pattern, int len);
86 #define __addr(cr, dlci) (((dlci & 0x3f) << 2) | (cr << 1) | 0x01) argument
96 #define __mcc_type(cr, type) (((type << 2) | (cr << 1) | 0x01)) argument
891 static int rfcomm_send_nsc(struct rfcomm_session *s, int cr, u8 type) in rfcomm_send_nsc() argument
897 BT_DBG("%p cr %d type %d", s, cr, type); in rfcomm_send_nsc()
909 *ptr = __mcc_type(cr, type); ptr++; in rfcomm_send_nsc()
916 static int rfcomm_send_pn(struct rfcomm_session *s, int cr, struct rfcomm_dlc *d) in rfcomm_send_pn() argument
[all …]
/net/lapb/
Dlapb_subr.c127 frame->cr = LAPB_COMMAND; in lapb_decode()
129 frame->cr = LAPB_RESPONSE; in lapb_decode()
132 frame->cr = LAPB_COMMAND; in lapb_decode()
134 frame->cr = LAPB_RESPONSE; in lapb_decode()
139 frame->cr = LAPB_COMMAND; in lapb_decode()
141 frame->cr = LAPB_RESPONSE; in lapb_decode()
144 frame->cr = LAPB_COMMAND; in lapb_decode()
146 frame->cr = LAPB_RESPONSE; in lapb_decode()
280 if (lapb->frmr_data.cr == LAPB_RESPONSE) in lapb_transmit_frmr()
294 if (lapb->frmr_data.cr == LAPB_RESPONSE) in lapb_transmit_frmr()
Dlapb_in.c330 lapb_check_need_response(lapb, frame->cr, frame->pf); in lapb_state3_machine()
349 lapb_check_need_response(lapb, frame->cr, frame->pf); in lapb_state3_machine()
368 lapb_check_need_response(lapb, frame->cr, frame->pf); in lapb_state3_machine()
/net/sched/
Dcls_tcindex.c275 struct tcindex_filter_result cr; in tcindex_set_parms() local
318 err = tcindex_filter_result_init(&cr); in tcindex_set_parms()
322 cr.res = r->res; in tcindex_set_parms()
413 cr.res.classid = nla_get_u32(tb[TCA_TCINDEX_CLASSID]); in tcindex_set_parms()
414 tcf_bind_filter(tp, &cr.res, base); in tcindex_set_parms()
420 tcf_exts_change(tp, &cr.exts, &e); in tcindex_set_parms()
431 r->res = cr.res; in tcindex_set_parms()
459 tcf_exts_destroy(&cr.exts); in tcindex_set_parms()
/net/sunrpc/
Dcache.c968 struct cache_request *cr = in cache_ioctl() local
970 len = cr->len - rp->offset; in cache_ioctl()
1039 struct cache_request *cr; in cache_dequeue() local
1046 cr = container_of(cq, struct cache_request, q); in cache_dequeue()
1047 if (cr->item != ch) in cache_dequeue()
1052 if (cr->readers != 0) in cache_dequeue()
1054 list_move(&cr->q.list, &dequeued); in cache_dequeue()
1058 cr = list_entry(dequeued.next, struct cache_request, q.list); in cache_dequeue()
1059 list_del(&cr->q.list); in cache_dequeue()
1060 cache_put(cr->item, detail); in cache_dequeue()
[all …]
/net/wireless/
Dsme.c793 memcpy(ev->cr.bssid, bssid, ETH_ALEN); in cfg80211_connect_bss()
795 ev->cr.req_ie = ((u8 *)ev) + sizeof(*ev); in cfg80211_connect_bss()
796 ev->cr.req_ie_len = req_ie_len; in cfg80211_connect_bss()
797 memcpy((void *)ev->cr.req_ie, req_ie, req_ie_len); in cfg80211_connect_bss()
800 ev->cr.resp_ie = ((u8 *)ev) + sizeof(*ev) + req_ie_len; in cfg80211_connect_bss()
801 ev->cr.resp_ie_len = resp_ie_len; in cfg80211_connect_bss()
802 memcpy((void *)ev->cr.resp_ie, resp_ie, resp_ie_len); in cfg80211_connect_bss()
806 ev->cr.bss = bss; in cfg80211_connect_bss()
807 ev->cr.status = status; in cfg80211_connect_bss()
Dutil.c948 if (!is_zero_ether_addr(ev->cr.bssid)) in cfg80211_process_wdev_events()
949 bssid = ev->cr.bssid; in cfg80211_process_wdev_events()
952 ev->cr.req_ie, ev->cr.req_ie_len, in cfg80211_process_wdev_events()
953 ev->cr.resp_ie, ev->cr.resp_ie_len, in cfg80211_process_wdev_events()
954 ev->cr.status, in cfg80211_process_wdev_events()
955 ev->cr.status == WLAN_STATUS_SUCCESS, in cfg80211_process_wdev_events()
956 ev->cr.bss); in cfg80211_process_wdev_events()
Dcore.h231 } cr; member
Dreg.c1382 const struct ieee80211_regdomain *cr = get_cfg80211_regdom(); in reg_is_world_roaming() local
1386 if (is_world_regdom(cr->alpha2) || (wr && is_world_regdom(wr->alpha2))) in reg_is_world_roaming()
/net/ipv4/
DKconfig278 about SYN cookies, check out <http://cr.yp.to/syncookies.html>.