/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/tools/perf/scripts/python/ |
A D | event_analyzing_sample.py | 120 snum = '#' * (int)(math.log(num, 2) + 1) 121 return snum
|
/linux-6.3-rc2/net/ipv4/ |
A D | udp.c | 245 if (!snum) { in udp_lib_get_port() 268 snum = first; in udp_lib_get_port() 275 if (low <= snum && snum <= high && in udp_lib_get_port() 277 !inet_is_local_reserved_port(net, snum)) in udp_lib_get_port() 279 snum += rand; in udp_lib_get_port() 280 } while (snum != first); in udp_lib_get_port() 286 hslot = udp_hashslot(udptable, net, snum); in udp_lib_get_port() 315 inet_sk(sk)->inet_num = snum; in udp_lib_get_port() 316 udp_sk(sk)->udp_port_hash = snum; in udp_lib_get_port() 317 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 | 464 unsigned short snum; in __inet_bind() local 494 snum = ntohs(addr->sin_port); in __inet_bind() 497 snum && inet_port_requires_bind_service(net, snum) && in __inet_bind() 521 if (snum || !(inet->bind_address_no_port || in __inet_bind() 523 err = sk->sk_prot->get_port(sk, snum); in __inet_bind() 541 if (snum) in __inet_bind()
|
A D | ping.c | 428 unsigned short snum; in ping_bind() local 443 snum = ntohs(((struct sockaddr_in *)uaddr)->sin_port); in ping_bind() 444 if (ping_get_port(sk, snum) != 0) { in ping_bind() 463 if (snum) in ping_bind()
|
/linux-6.3-rc2/net/ipv6/ |
A D | udp_impl.h | 16 int udp_v6_get_port(struct sock *sk, unsigned short snum);
|
A D | af_inet6.c | 285 unsigned short snum; in __inet6_bind() local 297 snum = ntohs(addr->sin6_port); in __inet6_bind() 299 snum && inet_port_requires_bind_service(net, snum) && in __inet6_bind() 402 if (snum || !(inet->bind_address_no_port || in __inet6_bind() 404 err = sk->sk_prot->get_port(sk, snum); in __inet6_bind() 424 if (snum) in __inet6_bind()
|
/linux-6.3-rc2/include/net/ |
A D | udplite.h | 84 int udplite_get_port(struct sock *sk, unsigned short snum,
|
A D | udp.h | 201 int udp_lib_get_port(struct sock *sk, unsigned short snum, 275 int udp_get_port(struct sock *sk, unsigned short snum,
|
A D | inet_connection_sock.h | 254 int inet_csk_get_port(struct sock *sk, unsigned short snum);
|
/linux-6.3-rc2/fs/udf/ |
A D | misc.c | 269 void udf_new_tag(char *data, uint16_t ident, uint16_t version, uint16_t snum, in udf_new_tag() argument 275 tptr->tagSerialNum = cpu_to_le16(snum); in udf_new_tag()
|
/linux-6.3-rc2/net/smc/ |
A D | smc_diag.c | 197 int snum = cb_ctx->pos[p_type]; in smc_diag_dump_proto() local 211 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 | 295 int snum = cb_ctx->pos[0]; in smc_nl_prep_smcd_dev() local 301 if (num < snum) in smc_nl_prep_smcd_dev()
|
A D | smc_core.c | 481 int snum = cb_ctx->pos[0]; in smc_nl_fill_lgr_list() local 486 if (num < snum) in smc_nl_fill_lgr_list() 563 int snum = cb_ctx->pos[1]; in smc_nl_handle_smcd_lgr() local 570 if (num < snum) in smc_nl_handle_smcd_lgr() 590 int snum = cb_ctx->pos[0]; in smc_nl_fill_smcd_dev() local 597 if (num < snum) in smc_nl_fill_smcd_dev()
|
/linux-6.3-rc2/net/sctp/ |
A D | socket.c | 382 unsigned short snum; in sctp_do_bind() local 393 snum = ntohs(addr->v4.sin_port); in sctp_do_bind() 407 if (!snum) in sctp_do_bind() 408 snum = bp->port; in sctp_do_bind() 409 else if (snum != bp->port) { in sctp_do_bind() 416 if (snum && inet_port_requires_bind_service(net, snum) && in sctp_do_bind() 430 addr->v4.sin_port = htons(snum); in sctp_do_bind() 8313 unsigned short snum; in sctp_get_port_local() local 8320 if (snum == 0) { in sctp_get_port_local() 8357 snum = rover; in sctp_get_port_local() [all …]
|
/linux-6.3-rc2/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-6.3-rc2/drivers/infiniband/core/ |
A D | cma.c | 232 struct rdma_bind_list *bind_list, int snum) in cma_ps_alloc() argument 236 return xa_insert(xa, snum, bind_list, GFP_KERNEL); in cma_ps_alloc() 240 enum rdma_ucm_port_space ps, int snum) in cma_ps_find() argument 244 return xa_load(xa, snum); in cma_ps_find() 248 int snum) in cma_ps_remove() argument 252 xa_erase(xa, snum); in cma_ps_remove() 3640 snum); in cma_alloc_port() 3645 bind_list->port = snum; in cma_alloc_port() 3779 unsigned short snum; in cma_use_port() local 3784 snum = ntohs(cma_port(cma_src_addr(id_priv))); in cma_use_port() [all …]
|
/linux-6.3-rc2/security/selinux/ |
A D | hooks.c | 4666 unsigned short snum; in selinux_socket_bind() local 4692 snum = ntohs(addr4->sin_port); in selinux_socket_bind() 4699 snum = ntohs(addr6->sin6_port); in selinux_socket_bind() 4708 ad.u.net->sport = htons(snum); in selinux_socket_bind() 4711 if (snum) { in selinux_socket_bind() 4717 snum < low || snum > high) { in selinux_socket_bind() 4719 snum, &sid); in selinux_socket_bind() 4810 unsigned short snum; in selinux_socket_connect_helper() local 4823 snum = ntohs(addr4->sin_port); in selinux_socket_connect_helper() 4829 snum = ntohs(addr6->sin6_port); in selinux_socket_connect_helper() [all …]
|
/linux-6.3-rc2/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()
|
/linux-6.3-rc2/drivers/crypto/ |
A D | hifn_795x.c | 424 u8 snum; member 1050 unsigned dlen, unsigned slen, u16 mask, u8 snum) in hifn_setup_base_command() argument 1064 base_cmd->session_num = __cpu_to_le16(snum | in hifn_setup_base_command() 1140 nbytes, mask, dev->snum); in hifn_setup_cmd_desc() 1573 dev->snum++; in hifn_setup_session()
|