MCPcopy Create free account
hub / github.com/F-Stack/f-stack / xlp_free_cmd_params

Function xlp_free_cmd_params

freebsd/mips/nlm/dev/sec/nlmsec.c:548–562  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

546}
547
548static void
549xlp_free_cmd_params(struct xlp_sec_command *cmd)
550{
551 if (cmd->ctrlp != NULL)
552 free(cmd->ctrlp, M_DEVBUF);
553 if (cmd->paramp != NULL)
554 free(cmd->paramp, M_DEVBUF);
555 if (cmd->iv != NULL)
556 free(cmd->iv, M_DEVBUF);
557 if (cmd->hashdest != NULL)
558 free(cmd->hashdest, M_DEVBUF);
559 if (cmd != NULL)
560 free(cmd, M_DEVBUF);
561 return;
562}
563
564static int
565xlp_sec_process(device_t dev, struct cryptop *crp, int hint)

Callers 2

xlp_sec_processFunction · 0.70

Calls 1

freeFunction · 0.50

Tested by

no test coverage detected