/linux/fs/reiserfs/ |
A D | do_balan.c | 932 if (n - tb->snum[i] >= tb->item_pos) { in balance_leaf_new_nodes_insert() 934 tb->snum[i], tb->sbytes[i], tb->S_new[i]); in balance_leaf_new_nodes_insert() 997 tb->snum[i] - 1, tb->sbytes[i], tb->S_new[i]); in balance_leaf_new_nodes_insert() 1036 leaf_move_items(LEAF_FROM_S_TO_SNEW, tb, tb->snum[i], in balance_leaf_new_nodes_paste_dirent() 1058 leaf_move_items(LEAF_FROM_S_TO_SNEW, tb, tb->snum[i], in balance_leaf_new_nodes_paste_dirent() 1176 tb->snum[i]); in balance_leaf_new_nodes_paste_whole() 1178 leaf_paste_entries(&bi, tb->item_pos - n + tb->snum[i], in balance_leaf_new_nodes_paste_whole() 1201 if (n - tb->snum[i] > tb->item_pos) { in balance_leaf_new_nodes_paste() 1203 tb->snum[i], tb->sbytes[i], tb->S_new[i]); in balance_leaf_new_nodes_paste() 1231 RFALSE(!tb->snum[i], in balance_leaf_new_nodes() [all …]
|
A D | ibalance.c | 1042 int snum; in balance_internal() local 1060 snum = (insert_num + n + 1) / 2; in balance_internal() 1061 if (n - snum >= child_pos) { in balance_internal() 1065 memcpy(&new_insert_key, internal_key(tbSh, n - snum), in balance_internal() 1069 LAST_TO_FIRST, snum, 0); in balance_internal() 1070 } else if (n + insert_num - snum < child_pos) { in balance_internal() 1078 internal_key(tbSh, n + insert_num - snum), in balance_internal() 1083 snum - insert_num, 0); in balance_internal() 1092 snum - 1, in balance_internal() 1106 k = snum - n + child_pos - 1; in balance_internal()
|
A D | prints.c | 694 tb->rbytes, tb->blknum[0], tb->s0num, tb->snum[0], in store_print_tb() 695 tb->sbytes[0], tb->snum[1], tb->sbytes[1], in store_print_tb()
|
/linux/drivers/soc/fsl/qe/ |
A D | qe.c | 341 int snum = -EBUSY; in qe_get_snum() local 348 snum = snums[i]; in qe_get_snum() 352 return snum; in qe_get_snum() 356 void qe_put_snum(u8 snum) in qe_put_snum() argument 358 const u8 *p = memchr(snums, snum, qe_num_of_snum); in qe_put_snum()
|
/linux/tools/perf/scripts/python/ |
A D | event_analyzing_sample.py | 120 snum = '#' * (int)(math.log(num, 2) + 1) 121 return snum
|
/linux/net/ipv4/ |
A D | udp.c | 237 if (!snum) { in udp_lib_get_port() 260 snum = first; in udp_lib_get_port() 267 if (low <= snum && snum <= high && in udp_lib_get_port() 269 !inet_is_local_reserved_port(net, snum)) in udp_lib_get_port() 271 snum += rand; in udp_lib_get_port() 272 } while (snum != first); in udp_lib_get_port() 278 hslot = udp_hashslot(udptable, net, snum); in udp_lib_get_port() 307 inet_sk(sk)->inet_num = snum; in udp_lib_get_port() 308 udp_sk(sk)->udp_port_hash = snum; in udp_lib_get_port() 309 udp_sk(sk)->udp_portaddr_hash ^= snum; in udp_lib_get_port() [all …]
|
A D | udp_impl.h | 12 int udp_v4_get_port(struct sock *sk, unsigned short snum);
|
A D | af_inet.c | 465 unsigned short snum; in __inet_bind() local 498 snum = ntohs(addr->sin_port); in __inet_bind() 501 snum && inet_port_requires_bind_service(net, snum) && in __inet_bind() 525 if (snum || !(inet->bind_address_no_port || in __inet_bind() 527 if (sk->sk_prot->get_port(sk, snum)) { in __inet_bind() 543 if (snum) in __inet_bind()
|
A D | inet_hashtables.c | 67 const unsigned short snum, in inet_bind_bucket_create() argument 75 tb->port = snum; in inet_bind_bucket_create() 96 const unsigned short snum) in inet_bind_hash() argument 98 inet_sk(sk)->inet_num = snum; in inet_bind_hash()
|
A D | ping.c | 395 unsigned short snum; in ping_bind() local 410 snum = ntohs(((struct sockaddr_in *)uaddr)->sin_port); in ping_bind() 411 if (ping_get_port(sk, snum) != 0) { in ping_bind() 430 if (snum) in ping_bind()
|
/linux/net/ipv6/ |
A D | af_inet6.c | 286 unsigned short snum; in __inet6_bind() local 298 snum = ntohs(addr->sin6_port); in __inet6_bind() 300 snum && inet_port_requires_bind_service(net, snum) && in __inet6_bind() 406 if (snum || !(inet->bind_address_no_port || in __inet6_bind() 408 if (sk->sk_prot->get_port(sk, snum)) { in __inet6_bind() 426 if (snum) in __inet6_bind()
|
A D | udp_impl.h | 15 int udp_v6_get_port(struct sock *sk, unsigned short snum);
|
/linux/fs/udf/ |
A D | misc.c | 285 void udf_new_tag(char *data, uint16_t ident, uint16_t version, uint16_t snum, in udf_new_tag() argument 291 tptr->tagSerialNum = cpu_to_le16(snum); in udf_new_tag()
|
/linux/net/smc/ |
A D | smc_diag.c | 196 int snum = cb_ctx->pos[p_type]; in smc_diag_dump_proto() local 210 if (num < snum) in smc_diag_dump_proto()
|
A D | smc_stats.c | 387 int snum = cb_ctx->pos[0]; in smc_nl_get_fback_stats() local 392 if (k < snum) in smc_nl_get_fback_stats()
|
A D | smc_ism.c | 282 int snum = cb_ctx->pos[0]; in smc_nl_prep_smcd_dev() local 288 if (num < snum) in smc_nl_prep_smcd_dev()
|
A D | smc_core.c | 475 int snum = cb_ctx->pos[0]; in smc_nl_fill_lgr_list() local 480 if (num < snum) in smc_nl_fill_lgr_list() 555 int snum = cb_ctx->pos[1]; in smc_nl_handle_smcd_lgr() local 562 if (num < snum) in smc_nl_handle_smcd_lgr() 582 int snum = cb_ctx->pos[0]; in smc_nl_fill_smcd_dev() local 589 if (num < snum) in smc_nl_fill_smcd_dev()
|
/linux/include/net/ |
A D | inet_hashtables.h | 220 const unsigned short snum, int l3mdev); 231 const unsigned short snum);
|
A D | udplite.h | 134 int udplite_get_port(struct sock *sk, unsigned short snum,
|
A D | udp.h | 215 int udp_lib_get_port(struct sock *sk, unsigned short snum, 289 int udp_get_port(struct sock *sk, unsigned short snum,
|
/linux/net/sctp/ |
A D | socket.c | 380 unsigned short snum; in sctp_do_bind() local 391 snum = ntohs(addr->v4.sin_port); in sctp_do_bind() 405 if (!snum) in sctp_do_bind() 406 snum = bp->port; in sctp_do_bind() 407 else if (snum != bp->port) { in sctp_do_bind() 414 if (snum && inet_port_requires_bind_service(net, snum) && in sctp_do_bind() 428 addr->v4.sin_port = htons(snum); in sctp_do_bind() 8316 unsigned short snum; in sctp_get_port_local() local 8323 if (snum == 0) { in sctp_get_port_local() 8360 snum = rover; in sctp_get_port_local() [all …]
|
/linux/drivers/net/ethernet/freescale/ |
A D | ucc_geth.c | 294 int snum; in fill_init_enet_entries() local 297 if ((snum = qe_get_snum()) < 0) { in fill_init_enet_entries() 300 return snum; in fill_init_enet_entries() 311 qe_put_snum((u8) snum); in fill_init_enet_entries() 316 ((u8) snum << ENET_INIT_PARAM_SNUM_SHIFT) | init_enet_offset in fill_init_enet_entries() 331 int snum; in return_init_enet_entries() local 339 snum = in return_init_enet_entries() 342 qe_put_snum((u8) snum); in return_init_enet_entries() 366 int snum; in dump_init_enet_entries() local 374 snum = in dump_init_enet_entries() [all …]
|
/linux/drivers/infiniband/core/ |
A D | cma.c | 222 struct rdma_bind_list *bind_list, int snum) in cma_ps_alloc() argument 226 return xa_insert(xa, snum, bind_list, GFP_KERNEL); in cma_ps_alloc() 230 enum rdma_ucm_port_space ps, int snum) in cma_ps_find() argument 234 return xa_load(xa, snum); in cma_ps_find() 238 int snum) in cma_ps_remove() argument 242 xa_erase(xa, snum); in cma_ps_remove() 3554 snum); in cma_alloc_port() 3559 bind_list->port = snum; in cma_alloc_port() 3693 unsigned short snum; in cma_use_port() local 3698 snum = ntohs(cma_port(cma_src_addr(id_priv))); in cma_use_port() [all …]
|
/linux/security/selinux/ |
A D | hooks.c | 4743 unsigned short snum; in selinux_socket_bind() local 4769 snum = ntohs(addr4->sin_port); in selinux_socket_bind() 4776 snum = ntohs(addr6->sin6_port); in selinux_socket_bind() 4785 ad.u.net->sport = htons(snum); in selinux_socket_bind() 4788 if (snum) { in selinux_socket_bind() 4794 snum < low || snum > high) { in selinux_socket_bind() 4796 snum, &sid); in selinux_socket_bind() 4887 unsigned short snum; in selinux_socket_connect_helper() local 4900 snum = ntohs(addr4->sin_port); in selinux_socket_connect_helper() 4906 snum = ntohs(addr6->sin6_port); in selinux_socket_connect_helper() [all …]
|
/linux/drivers/staging/wlan-ng/ |
A D | prism2sta.c | 587 u8 snum[HFA384x_RID_NICSERIALNUMBER_LEN]; in prism2sta_getcardinfo() local 848 snum, HFA384x_RID_NICSERIALNUMBER_LEN); in prism2sta_getcardinfo() 851 HFA384x_RID_NICSERIALNUMBER_LEN, snum); in prism2sta_getcardinfo()
|