函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\keys\big_key.c Create Date:2022-07-27 20:02:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:dispose of the data dangling from the corpse of a big_key key

函数原型:void big_key_destroy(struct key *key)

返回类型:void

参数:

类型参数名称
struct key *key
323  datalen等于data[big_key_len]
325  如果datalen大于If the data is under this limit, there's no point creating a shm file to* hold it as the permanently resident metadata for the shmem fs will be at* least as large as the data.
326  struct path * path = (struct path * ) & data[big_key_path]
328  path_put(path)
329  mnt = NULL
330  dentry = NULL
332  kzfree - like kfree but zero memory*@p: object to free memory of* The memory of the object @p points to is zeroed before freed.* If @p is %NULL, kzfree() does nothing.* Note: this function zeroes the whole allocated buffer which can be a good
333  data[big_key_data] = NULL