/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_so.c | 259 static u32 vmw_view_key(u32 user_key, enum vmw_view_type view_type) in vmw_view_key() argument 261 return user_key | (view_type << 20); in vmw_view_key() 273 static bool vmw_view_id_ok(u32 user_key, enum vmw_view_type view_type) in vmw_view_id_ok() argument 275 return (user_key < SVGA_COTABLE_MAX_IDS && in vmw_view_id_ok() 314 u32 user_key, in vmw_view_add() argument 338 if (!vmw_view_id_ok(user_key, view_type)) { in vmw_view_add() 356 view->view_id = user_key; in vmw_view_add() 368 vmw_view_key(user_key, view_type), in vmw_view_add() 395 u32 user_key, enum vmw_view_type view_type, in vmw_view_remove() argument 399 if (!vmw_view_id_ok(user_key, view_type)) { in vmw_view_remove() [all …]
|
H A D | vmwgfx_shader.c | 77 static bool vmw_shader_id_ok(u32 user_key, SVGA3dShaderType shader_type); 78 static u32 vmw_shader_key(u32 user_key, SVGA3dShaderType shader_type); 586 u32 user_key, in vmw_dx_shader_add() argument 595 if (!vmw_shader_id_ok(user_key, shader_type)) in vmw_dx_shader_add() 607 shader->id = user_key; in vmw_dx_shader_add() 620 vmw_shader_key(user_key, 0), in vmw_dx_shader_add() 825 static bool vmw_shader_id_ok(u32 user_key, SVGA3dShaderType shader_type) in vmw_shader_id_ok() argument 827 return user_key <= ((1 << 20) - 1) && (unsigned) shader_type < 16; in vmw_shader_id_ok() 839 static u32 vmw_shader_key(u32 user_key, SVGA3dShaderType shader_type) in vmw_shader_key() argument 841 return user_key | (shader_type << 20); in vmw_shader_key() [all …]
|
H A D | vmwgfx_cmdbuf_res.c | 84 u32 user_key) in vmw_cmdbuf_res_lookup() argument 87 unsigned long key = user_key | (res_type << 24); in vmw_cmdbuf_res_lookup() 197 u32 user_key, in vmw_cmdbuf_res_add() argument 207 cres->hash.key = user_key | (res_type << 24); in vmw_cmdbuf_res_add() 236 u32 user_key, in vmw_cmdbuf_res_remove() argument 242 unsigned long key = user_key | (res_type << 24); in vmw_cmdbuf_res_remove()
|
H A D | vmwgfx_streamoutput.c | 249 u32 user_key) in vmw_dx_streamoutput_lookup() argument 252 user_key); in vmw_dx_streamoutput_lookup() 279 struct vmw_resource *ctx, u32 user_key, in vmw_dx_streamoutput_add() argument 296 so->id = user_key; in vmw_dx_streamoutput_add() 305 ret = vmw_cmdbuf_res_add(man, vmw_cmdbuf_res_streamoutput, user_key, in vmw_dx_streamoutput_add() 340 u32 user_key, in vmw_dx_streamoutput_remove() argument 346 (u32)user_key, list, &r); in vmw_dx_streamoutput_remove()
|
H A D | vmwgfx_so.h | 152 u32 user_key, 158 u32 user_key, enum vmw_view_type view_type, 170 u32 user_key);
|
H A D | vmwgfx_drv.h | 1214 u32 user_key, const void *bytecode, 1219 u32 user_key, SVGA3dShaderType shader_type, 1223 u32 user_key, 1232 u32 user_key, SVGA3dShaderType shader_type); 1239 u32 user_key); 1242 SVGA3dStreamOutputId user_key, 1246 SVGA3dStreamOutputId user_key, 1262 u32 user_key); 1267 u32 user_key, 1272 u32 user_key,
|
/linux/net/ipv4/ |
H A D | sysctl_net_ipv4.c | 270 u32 user_key[4]; in sscanf_key() local 273 if (sscanf(buf, "%x-%x-%x-%x", user_key, user_key + 1, in sscanf_key() 274 user_key + 2, user_key + 3) != 4) { in sscanf_key() 277 for (i = 0; i < ARRAY_SIZE(user_key); i++) in sscanf_key() 278 key[i] = cpu_to_le32(user_key[i]); in sscanf_key() 281 user_key[0], user_key[1], user_key[2], user_key[3], buf, ret); in sscanf_key() 297 u32 user_key[TCP_FASTOPEN_KEY_BUF_LENGTH / sizeof(u32)]; in proc_tcp_fastopen_key() local 313 user_key[i] = le32_to_cpu(key[i]); in proc_tcp_fastopen_key() 318 user_key[i * 4], in proc_tcp_fastopen_key() 319 user_key[i * 4 + 1], in proc_tcp_fastopen_key() [all …]
|
/linux/fs/bcachefs/ |
H A D | checksum.c | 633 struct bch_key user_key; in bch2_decrypt_sb_key() local 640 ret = bch2_request_key(c->disk_sb.sb, &user_key); in bch2_decrypt_sb_key() 647 ret = bch2_chacha_encrypt_key(&user_key, bch2_sb_key_nonce(c), in bch2_decrypt_sb_key() 661 memzero_explicit(&user_key, sizeof(user_key)); in bch2_decrypt_sb_key() 725 struct bch_key user_key; in bch2_enable_encryption() local 743 ret = bch2_request_key(c->disk_sb.sb, &user_key); in bch2_enable_encryption() 749 ret = bch2_chacha_encrypt_key(&user_key, bch2_sb_key_nonce(c), in bch2_enable_encryption() 774 memzero_explicit(&user_key, sizeof(user_key)); in bch2_enable_encryption()
|
/linux/arch/riscv/crypto/ |
H A D | sm4-riscv64-glue.c | 20 asmlinkage void sm4_expandkey_zvksed_zvkb(const u8 user_key[SM4_KEY_SIZE],
|