Function report |
Source Code:lib\crc-t10dif.c |
Create Date:2022-07-28 06:55:36 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:crc_t10dif_rehash
Proto:static int crc_t10dif_rehash(struct notifier_block *self, unsigned long val, void *data)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct notifier_block * | self | |
unsigned long | val | |
void * | data |
28 | If val != CRYPTO_MSG_ALG_LOADED || static_key_false( & crct10dif_fallback) || strncmp(cra_name, CRC_T10DIF_STRING, strlen(CRC_T10DIF_STRING)) Then Return 0 |
33 | mutex_lock( & crc_t10dif_mutex) |
36 | If Not old Then |
37 | mutex_unlock( & crc_t10dif_mutex) |
38 | Return 0 |
40 | new = crypto_alloc_shash("crct10dif", 0, 0) |
42 | mutex_unlock( & crc_t10dif_mutex) |
43 | Return 0 |
46 | mutex_unlock( & crc_t10dif_mutex) |
48 | synchronize_rcu() |
50 | Return 0 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |