/net/sunrpc/ |
D | sysctl.c | 83 size_t left, len; in proc_dodebug() local 90 left = *lenp; in proc_dodebug() 93 if (!access_ok(buffer, left)) in proc_dodebug() 96 while (left && __get_user(c, p) >= 0 && isspace(c)) in proc_dodebug() 97 left--, p++; in proc_dodebug() 98 if (!left) in proc_dodebug() 101 if (left > sizeof(tmpbuf) - 1) in proc_dodebug() 103 if (copy_from_user(tmpbuf, p, left)) in proc_dodebug() 105 tmpbuf[left] = '\0'; in proc_dodebug() 109 left -= (s - tmpbuf); in proc_dodebug() [all …]
|
D | rpc_pipe.c | 109 unsigned long left; in rpc_pipe_generic_upcall() local 111 left = copy_to_user(dst, data, mlen); in rpc_pipe_generic_upcall() 112 if (left == mlen) { in rpc_pipe_generic_upcall() 117 mlen -= left; in rpc_pipe_generic_upcall()
|
/net/ceph/ |
D | pagevec.c | 67 int left = len; in ceph_copy_user_to_page_vector() local 70 while (left > 0) { in ceph_copy_user_to_page_vector() 71 l = min_t(int, PAGE_SIZE-po, left); in ceph_copy_user_to_page_vector() 76 left -= l - bad; in ceph_copy_user_to_page_vector() 93 size_t left = len; in ceph_copy_to_page_vector() local 95 while (left > 0) { in ceph_copy_to_page_vector() 96 size_t l = min_t(size_t, PAGE_SIZE-po, left); in ceph_copy_to_page_vector() 100 left -= l; in ceph_copy_to_page_vector() 116 size_t left = len; in ceph_copy_from_page_vector() local 118 while (left > 0) { in ceph_copy_from_page_vector() [all …]
|
D | messenger.c | 1703 int left = end - con->in_base_pos; in read_partial() local 1704 int have = size - left; in read_partial() 1705 int ret = ceph_tcp_recvmsg(con->sock, object + have, left); in read_partial() 2300 int ret, left; in read_partial_message_section() local 2306 left = sec_len - section->iov_len; in read_partial_message_section() 2308 section->iov_len, left); in read_partial_message_section()
|
D | osd_client.c | 4509 long left; in wait_request_timeout() local 4512 left = wait_for_completion_killable_timeout(&req->r_completion, in wait_request_timeout() 4514 if (left <= 0) { in wait_request_timeout() 4515 left = left ?: -ETIMEDOUT; in wait_request_timeout() 4518 left = req->r_result; /* completed */ in wait_request_timeout() 4521 return left; in wait_request_timeout()
|
/net/tipc/ |
D | core.h | 174 static inline int less_eq(u16 left, u16 right) in less_eq() argument 176 return mod(right - left) < 32768u; in less_eq() 179 static inline int more(u16 left, u16 right) in more() argument 181 return !less_eq(left, right); in more() 184 static inline int less(u16 left, u16 right) in less() argument 186 return less_eq(left, right) && (mod(right) != mod(left)); in less()
|
/net/rds/ |
D | tcp_recv.c | 162 size_t left = len, to_copy; in rds_tcp_data_recv() local 171 while (left) { in rds_tcp_data_recv() 193 if (left && tc->t_tinc_hdr_rem) { in rds_tcp_data_recv() 194 to_copy = min(tc->t_tinc_hdr_rem, left); in rds_tcp_data_recv() 203 left -= to_copy; in rds_tcp_data_recv() 215 if (left && tc->t_tinc_data_rem) { in rds_tcp_data_recv() 216 to_copy = min(tc->t_tinc_data_rem, left); in rds_tcp_data_recv() 232 left -= to_copy; in rds_tcp_data_recv() 256 len, left, skb->len, in rds_tcp_data_recv() 258 return len - left; in rds_tcp_data_recv()
|
/net/mac80211/ |
D | michael.c | 57 size_t block, blocks, left; in michael_mic() local 64 left = data_len % 4; in michael_mic() 72 while (left > 0) { in michael_mic() 74 left--; in michael_mic() 75 val |= data[blocks * 4 + left]; in michael_mic()
|
D | mlme.c | 1934 size_t left; in ieee80211_sta_wmm_params() local 1967 left = wmm_param_len - 8; in ieee80211_sta_wmm_params() 1972 for (; left >= 4; left -= 4, pos += 4) { in ieee80211_sta_wmm_params()
|
/net/ceph/crush/ |
D | mapper.c | 179 static int left(int x) in left() function 215 l = left(n); in bucket_tree_choose() 647 int x, int left, int numrep, int type, in crush_choose_indep() argument 657 int endpos = outpos + left; in crush_choose_indep() 676 for (ftotal = 0; left > 0 && ftotal < tries; ftotal++) { in crush_choose_indep() 679 dprintk("%u %d a: ", ftotal, left); in crush_choose_indep() 684 dprintk("%u %d b: ", ftotal, left); in crush_choose_indep() 735 left--; in crush_choose_indep() 755 left--; in crush_choose_indep() 802 left--; in crush_choose_indep() [all …]
|
/net/ipv6/ |
D | ip6_fib.c | 756 rcu_dereference_protected(fn->left, in fib6_add_1() 793 rcu_assign_pointer(pn->left, ln); in fib6_add_1() 854 rcu_assign_pointer(pn->left, in); in fib6_add_1() 863 rcu_assign_pointer(in->left, fn); in fib6_add_1() 865 rcu_assign_pointer(in->left, ln); in fib6_add_1() 888 RCU_INIT_POINTER(ln->left, fn); in fib6_add_1() 895 rcu_assign_pointer(pn->left, ln); in fib6_add_1() 1496 rcu_dereference(fn->left); in fib6_node_lookup_1() 1625 fn = rcu_dereference(fn->left); in fib6_locate_1() 1682 child_left = rcu_dereference_protected(fn->left, in fib6_find_prefix() [all …]
|
D | ip6_output.c | 676 state->left = skb->len - hlen; /* Space per frame */ in ip6_frag_init() 693 len = state->left; in ip6_frag_next() 699 if (len < state->left) in ip6_frag_next() 748 state->left -= len; in ip6_frag_next() 751 if (state->left > 0) in ip6_frag_next() 908 while (state.left > 0) { in ip6_fragment()
|
D | netfilter.c | 211 while (state.left > 0) { in br_ip6_fragment()
|
/net/sched/ |
D | em_meta.c | 921 if (TCF_META_TYPE(hdr->left.kind) != TCF_META_TYPE(hdr->right.kind) || in em_meta_change() 922 TCF_META_TYPE(hdr->left.kind) > TCF_META_TYPE_MAX || in em_meta_change() 923 TCF_META_ID(hdr->left.kind) > TCF_META_ID_MAX || in em_meta_change() 933 memcpy(&meta->lvalue.hdr, &hdr->left, sizeof(hdr->left)); in em_meta_change() 969 memcpy(&hdr.left, &meta->lvalue.hdr, sizeof(hdr.left)); in em_meta_dump()
|
/net/atm/ |
D | proc.c | 121 loff_t left = *pos; in vcc_seq_start() local 125 return left ? vcc_walk(seq, left) : SEQ_START_TOKEN; in vcc_seq_start()
|
/net/bridge/netfilter/ |
D | ebtables.c | 359 size_t left = ((char *)e + e->watchers_offset) - (char *)m; in ebt_check_match() local 362 if (left < sizeof(struct ebt_entry_match) || in ebt_check_match() 363 left - sizeof(struct ebt_entry_match) < m->match_size) in ebt_check_match() 396 size_t left = ((char *)e + e->target_offset) - (char *)w; in ebt_check_watcher() local 399 if (left < sizeof(struct ebt_entry_watcher) || in ebt_check_watcher() 400 left - sizeof(struct ebt_entry_watcher) < w->watcher_size) in ebt_check_watcher() 442 size_t left = limit - offset; in ebt_verify_pointers() local 445 if (left < sizeof(unsigned int)) in ebt_verify_pointers() 465 if (left < sizeof(struct ebt_entries)) in ebt_verify_pointers() 469 if (left < sizeof(struct ebt_entry)) in ebt_verify_pointers() [all …]
|
D | nf_conntrack_bridge.c | 100 while (state.left > 0) { in nf_br_ip_fragment()
|
/net/ipv4/ |
D | ip_output.c | 658 state->left = skb->len - hlen; /* Space per frame */ in ip_frag_init() 684 unsigned int len = state->left; in ip_frag_next() 688 len = state->left; in ip_frag_next() 694 if (len < state->left) { in ip_frag_next() 732 state->left -= len; in ip_frag_next() 746 if (state->left > 0 || state->not_last_frag) in ip_frag_next() 893 while (state.left > 0) { in ip_do_fragment()
|
/net/wimax/ |
D | Kconfig | 40 It is recommended that it is left at 8.
|
/net/rxrpc/ |
D | Kconfig | 14 left to the application).
|
/net/netfilter/ |
D | x_tables.c | 680 int mid, left = 0, right = xt[af].cur - 1; in xt_compat_calc_jump() local 682 while (left <= right) { in xt_compat_calc_jump() 683 mid = (left + right) >> 1; in xt_compat_calc_jump() 685 left = mid + 1; in xt_compat_calc_jump() 691 return left ? tmp[left - 1].delta : 0; in xt_compat_calc_jump()
|