Suppose given $f,g\in L^2(\mathbb{R})$ and $f', g' \in L^2(\mathbb{R})$, the linear functional defined by $$F(g):= \int_{\mathbb{R}} f'g' dx $$ is continuous with respect to the derivative, that is $$|F(g)| \leq C \|g'\|_2$$ but not continuous with respect to $g$.
However with the additional assumption $f'' \in L^2(\mathbb{R})$, we have $$|F(g)| = \bigg|\int_{\mathbb{R}} f'g' dx\bigg| = \bigg|\int_{\mathbb{R}} f''g dx\bigg| \leq C\|g\|_2 .$$
Is there a any specific name for this kind of work? I would like to find a reference to study if possible. The reason I asked this question is because the above is a very nice case where $$\int_{\mathbb{R}} f'g' dx = - \int_{\mathbb{R}} f''g dx.$$ In general for $\Omega\subset \mathbb{R}^N$ we have $$\int_\Omega \nabla u\cdot \nabla v dx = \int_{\partial \Omega} v\big(\nabla u \cdot \nu\big) d\mathcal{H}^{N-1} - \int_\Omega v\triangle u dx$$ And I got stuck. With the surface integral over the boundary, what conditions we need for $\int_\Omega \nabla u\cdot \nabla v dx$ to be continuous and linear functional w.r.t.$v$?
Now fix $u \in W^{2,2}(\Omega)$ and consider the functional $$\mathcal{F}(v) = \int_{\Omega}\nabla u \cdot \nabla v.$$ Then $\mathcal{F}$ is a linear continuous functional on $W^{1,2}(\Omega)$, indeed by the continuity of the trace operator, we have $$|\mathcal{F}(v)| \le C\|\operatorname{Tr}v\|_{L^2(\partial \Omega)}\|\operatorname{Tr}\nabla u\|_{L^2(\partial \Omega,\mathbb{R}^N)} + \|v\|_{L^2(\Omega)}\|\Delta u\|_{L^2(\Omega)} \le C(\Omega,N,u)\|v\|_{W^{1,2}(\Omega)}.$$
You can read more about how to deal with traces in any introductory book in Sobolev spaces.
EDIT: Since you are interested in continuity with respect to the $L^2$ norm, and since there is no trace operator in $L^2$, you need a condition for which the first integral vanishes, for example $\frac{\partial u}{\partial \nu} = 0$.