/Linux-v6.6/fs/reiserfs/ |
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() 941 if (tb->item_pos == n - tb->snum[i] + 1 && tb->sbytes[i] != -1) { in balance_leaf_new_nodes_insert() 946 leaf_move_items(LEAF_FROM_S_TO_SNEW, tb, tb->snum[i] - 1, -1, in balance_leaf_new_nodes_insert() 997 tb->snum[i] - 1, tb->sbytes[i], tb->S_new[i]); in balance_leaf_new_nodes_insert() 1001 leaf_insert_into_buf(&bi, tb->item_pos - n + tb->snum[i] - 1, 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() 1099 leaf_move_items(LEAF_FROM_S_TO_SNEW, tb, tb->snum[i], n_shift, in balance_leaf_new_nodes_paste_shift() 1162 leaf_mi = leaf_move_items(LEAF_FROM_S_TO_SNEW, tb, tb->snum[i], in balance_leaf_new_nodes_paste_whole() [all …]
|
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()
|
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-v6.6/drivers/soc/fsl/qe/ |
D | qe.c | 342 int snum = -EBUSY; in qe_get_snum() local 349 snum = snums[i]; in qe_get_snum() 353 return snum; in qe_get_snum() 357 void qe_put_snum(u8 snum) in qe_put_snum() argument 359 const u8 *p = memchr(snums, snum, qe_num_of_snum); in qe_put_snum()
|
/Linux-v6.6/tools/perf/scripts/python/ |
D | event_analyzing_sample.py | 120 snum = '#' * (int)(math.log(num, 2) + 1) 121 return snum
|
/Linux-v6.6/net/ipv4/ |
D | udp.c | 239 int udp_lib_get_port(struct sock *sk, unsigned short snum, in udp_lib_get_port() argument 247 if (!snum) { in udp_lib_get_port() 267 udp_lib_lport_inuse(net, snum, hslot, bitmap, sk, in udp_lib_get_port() 270 snum = first; in udp_lib_get_port() 277 if (low <= snum && snum <= high && in udp_lib_get_port() 278 !test_bit(snum >> udptable->log, bitmap) && in udp_lib_get_port() 279 !inet_is_local_reserved_port(net, snum)) in udp_lib_get_port() 281 snum += rand; in udp_lib_get_port() 282 } while (snum != first); in udp_lib_get_port() 288 hslot = udp_hashslot(udptable, net, snum); in udp_lib_get_port() [all …]
|
D | udp_impl.h | 12 int udp_v4_get_port(struct sock *sk, unsigned short snum);
|
D | af_inet.c | 475 unsigned short snum; in __inet_bind() local 505 snum = ntohs(addr->sin_port); in __inet_bind() 508 snum && inet_port_requires_bind_service(net, snum) && in __inet_bind() 532 if (snum || !(inet_test_bit(BIND_ADDRESS_NO_PORT, sk) || in __inet_bind() 534 err = sk->sk_prot->get_port(sk, snum); in __inet_bind() 552 if (snum) in __inet_bind()
|
D | ping.c | 418 unsigned short snum; in ping_bind() local 433 snum = ntohs(((struct sockaddr_in *)uaddr)->sin_port); in ping_bind() 434 if (ping_get_port(sk, snum) != 0) { in ping_bind() 453 if (snum) in ping_bind()
|
/Linux-v6.6/net/ipv6/ |
D | udp_impl.h | 16 int udp_v6_get_port(struct sock *sk, unsigned short snum);
|
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_test_bit(BIND_ADDRESS_NO_PORT, sk) || in __inet6_bind() 404 err = sk->sk_prot->get_port(sk, snum); in __inet6_bind() 424 if (snum) in __inet6_bind()
|
/Linux-v6.6/fs/udf/ |
D | misc.c | 265 void udf_new_tag(char *data, uint16_t ident, uint16_t version, uint16_t snum, in udf_new_tag() argument 271 tptr->tagSerialNum = cpu_to_le16(snum); in udf_new_tag()
|
/Linux-v6.6/net/smc/ |
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()
|
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()
|
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()
|
D | smc_core.c | 486 int snum = cb_ctx->pos[0]; in smc_nl_fill_lgr_list() local 491 if (num < snum) in smc_nl_fill_lgr_list() 568 int snum = cb_ctx->pos[1]; in smc_nl_handle_smcd_lgr() local 575 if (num < snum) in smc_nl_handle_smcd_lgr() 595 int snum = cb_ctx->pos[0]; in smc_nl_fill_smcd_dev() local 602 if (num < snum) in smc_nl_fill_smcd_dev()
|
/Linux-v6.6/drivers/crypto/starfive/ |
D | jh7110-rsa.c | 74 static unsigned int starfive_rsa_get_nbit(u8 *pa, u32 snum, int key_sz) in starfive_rsa_get_nbit() argument 79 i = snum >> 3; in starfive_rsa_get_nbit() 82 value >>= snum & 0x7; in starfive_rsa_get_nbit()
|
/Linux-v6.6/net/sctp/ |
D | socket.c | 382 unsigned short snum; in sctp_do_bind() local 393 snum = ntohs(addr->v4.sin_port); in sctp_do_bind() 396 __func__, sk, &addr->sa, bp->port, snum, len); 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() 411 "%d\n", __func__, 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() 8325 struct sctp_bind_hashbucket *head, struct net *, unsigned short snum); [all …]
|
/Linux-v6.6/drivers/net/ethernet/freescale/ |
D | ucc_geth.c | 295 int snum; in fill_init_enet_entries() local 298 if ((snum = qe_get_snum()) < 0) { in fill_init_enet_entries() 301 return snum; in fill_init_enet_entries() 312 qe_put_snum((u8) snum); in fill_init_enet_entries() 317 ((u8) snum << ENET_INIT_PARAM_SNUM_SHIFT) | init_enet_offset in fill_init_enet_entries() 332 int snum; in return_init_enet_entries() local 340 snum = in return_init_enet_entries() 343 qe_put_snum((u8) snum); in return_init_enet_entries() 367 int snum; in dump_init_enet_entries() local 375 snum = in dump_init_enet_entries() [all …]
|
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
D | ctx_rewrite.c | 241 int snum = strtol(str, &next, 10); in match_number() local 243 if (next - str == 0 || num != snum) in match_number()
|
/Linux-v6.6/drivers/infiniband/core/ |
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() 3647 struct rdma_id_private *id_priv, unsigned short snum) in cma_alloc_port() argument 3659 snum); in cma_alloc_port() 3664 bind_list->port = snum; in cma_alloc_port() 3798 unsigned short snum; in cma_use_port() local [all …]
|
/Linux-v6.6/include/net/ |
D | inet_connection_sock.h | 255 int inet_csk_get_port(struct sock *sk, unsigned short snum);
|
/Linux-v6.6/security/selinux/ |
D | hooks.c | 4651 unsigned short snum; in selinux_socket_bind() local 4677 snum = ntohs(addr4->sin_port); in selinux_socket_bind() 4684 snum = ntohs(addr6->sin6_port); in selinux_socket_bind() 4693 ad.u.net->sport = htons(snum); in selinux_socket_bind() 4696 if (snum) { in selinux_socket_bind() 4701 if (inet_port_requires_bind_service(sock_net(sk), snum) || in selinux_socket_bind() 4702 snum < low || snum > high) { in selinux_socket_bind() 4704 snum, &sid); in selinux_socket_bind() 4793 unsigned short snum; in selinux_socket_connect_helper() local 4806 snum = ntohs(addr4->sin_port); in selinux_socket_connect_helper() [all …]
|
/Linux-v6.6/drivers/staging/wlan-ng/ |
D | prism2sta.c | 566 u8 snum[HFA384x_RID_NICSERIALNUMBER_LEN]; in prism2sta_getcardinfo() local 827 snum, HFA384x_RID_NICSERIALNUMBER_LEN); in prism2sta_getcardinfo() 830 HFA384x_RID_NICSERIALNUMBER_LEN, snum); in prism2sta_getcardinfo()
|
/Linux-v6.6/drivers/crypto/ |
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()
|