| /OK3568_Linux_fs/external/xserver/hw/dmx/ |
| H A D | dmxfont.c | 65 dmxGetFontPath(int *npaths) in dmxGetFontPath() argument 72 GetFontPath(serverClient, npaths, &len, &paths); in dmxGetFontPath() 74 newfp = malloc(*npaths + len); in dmxGetFontPath() 76 fp = xallocarray(*npaths, sizeof(*fp)); in dmxGetFontPath() 78 memmove(newfp, paths + 1, *npaths + len - 1); in dmxGetFontPath() 80 for (i = 0; i < *npaths; i++) { in dmxGetFontPath() 88 for (i = 0; i < *npaths; i++) in dmxGetFontPath() 125 int npaths; in dmxSetFontPath() local 130 fp = dmxGetFontPath(&npaths); in dmxSetFontPath() 136 XSetFontPath(dmxScreen->beDisplay, fp, npaths); in dmxSetFontPath() [all …]
|
| /OK3568_Linux_fs/kernel/net/rds/ |
| H A D | connection.c | 173 int npaths = (trans->t_mp_capable ? RDS_MPATH_WORKERS : 1); in __rds_conn_create() local 198 conn->c_path = kcalloc(npaths, sizeof(struct rds_conn_path), gfp); in __rds_conn_create() 267 for (i = 0; i < npaths; i++) { in __rds_conn_create() 320 for (i = 0; i < npaths; i++) { in __rds_conn_create() 486 int npaths = (conn->c_trans->t_mp_capable ? RDS_MPATH_WORKERS : 1); in rds_conn_destroy() local 499 for (i = 0; i < npaths; i++) { in rds_conn_destroy() 559 int npaths; in rds_conn_message_info_cmn() local 564 npaths = (conn->c_trans->t_mp_capable ? in rds_conn_message_info_cmn() 567 for (j = 0; j < npaths; j++) { in rds_conn_message_info_cmn()
|
| H A D | tcp_listen.c | 69 int npaths = max_t(int, 1, conn->c_npaths); in rds_tcp_accept_one_path() local 79 if (npaths == 1) in rds_tcp_accept_one_path() 84 for (i = 0; i < npaths; i++) { in rds_tcp_accept_one_path()
|
| H A D | send.c | 1463 u16 npaths = cpu_to_be16(RDS_MPATH_WORKERS); in rds_send_probe() local 1467 RDS_EXTHDR_NPATHS, &npaths, in rds_send_probe() 1468 sizeof(npaths)); in rds_send_probe()
|
| /OK3568_Linux_fs/kernel/drivers/thunderbolt/ |
| H A D | tunnel.c | 63 static struct tb_tunnel *tb_tunnel_alloc(struct tb *tb, size_t npaths, in tb_tunnel_alloc() argument 72 tunnel->paths = kcalloc(npaths, sizeof(tunnel->paths[0]), GFP_KERNEL); in tb_tunnel_alloc() 80 tunnel->npaths = npaths; in tb_tunnel_alloc() 1221 for (i = 0; i < tunnel->npaths; i++) { in tb_tunnel_free() 1238 for (i = 0; i < tunnel->npaths; i++) { in tb_tunnel_is_invalid() 1263 for (i = 0; i < tunnel->npaths; i++) { in tb_tunnel_restart() 1276 for (i = 0; i < tunnel->npaths; i++) { in tb_tunnel_restart() 1306 for (i = 0; i < tunnel->npaths; i++) { in tb_tunnel_activate() 1330 for (i = 0; i < tunnel->npaths; i++) { in tb_tunnel_deactivate() 1349 for (i = 0; i < tunnel->npaths; i++) { in tb_tunnel_port_on_path() [all …]
|
| H A D | tunnel.h | 48 size_t npaths; member
|
| H A D | test.c | 1235 KUNIT_ASSERT_EQ(test, tunnel1->npaths, (size_t)2); in tb_test_tunnel_pcie() 1250 KUNIT_ASSERT_EQ(test, tunnel2->npaths, (size_t)2); in tb_test_tunnel_pcie() 1287 KUNIT_ASSERT_EQ(test, tunnel->npaths, (size_t)3); in tb_test_tunnel_dp() 1333 KUNIT_ASSERT_EQ(test, tunnel->npaths, (size_t)3); in tb_test_tunnel_dp_chain() 1383 KUNIT_ASSERT_EQ(test, tunnel->npaths, (size_t)3); in tb_test_tunnel_dp_tree() 1448 KUNIT_ASSERT_EQ(test, tunnel->npaths, (size_t)3); in tb_test_tunnel_dp_max_length() 1504 KUNIT_ASSERT_EQ(test, tunnel1->npaths, (size_t)2); in tb_test_tunnel_usb3() 1519 KUNIT_ASSERT_EQ(test, tunnel2->npaths, (size_t)2); in tb_test_tunnel_usb3()
|
| /OK3568_Linux_fs/external/xserver/dix/ |
| H A D | dixfonts.c | 1571 SetFontPathElements(int npaths, unsigned char *paths, int *bad, Bool persist) in SetFontPathElements() argument 1579 fplist = xallocarray(npaths, sizeof(FontPathElementPtr)); in SetFontPathElements() 1588 for (i = 0; i < npaths; i++) { in SetFontPathElements() 1675 SetFontPath(ClientPtr client, int npaths, unsigned char *paths) in SetFontPath() argument 1682 if (npaths == 0) { in SetFontPath() 1689 err = SetFontPathElements(npaths, paths, &bad, FALSE); in SetFontPath()
|
| /OK3568_Linux_fs/kernel/net/ipv4/ |
| H A D | nexthop.c | 386 static bool valid_group_nh(struct nexthop *nh, unsigned int npaths, in valid_group_nh() argument 404 if (nhi->reject_nh && npaths > 1) { in valid_group_nh()
|
| /OK3568_Linux_fs/kernel/Documentation/networking/ |
| H A D | rds.rst | 442 sent in response to a probe-ping should contain the rcvr's npaths
|