Searched refs:cookie_len (Results 1 – 2 of 2) sorted by relevance
153 buf_len = fa_cookie->cookie_len * 2; in nsim_dev_trap_fa_cookie_read()159 bin2hex(buf, fa_cookie->cookie, fa_cookie->cookie_len); in nsim_dev_trap_fa_cookie_read()178 size_t cookie_len; in nsim_dev_trap_fa_cookie_write() local184 cookie_len = (count - 1) / 2; in nsim_dev_trap_fa_cookie_write()192 fa_cookie = kmalloc(sizeof(*fa_cookie) + cookie_len, in nsim_dev_trap_fa_cookie_write()199 fa_cookie->cookie_len = cookie_len; in nsim_dev_trap_fa_cookie_write()200 ret = hex2bin(fa_cookie->cookie, buf, cookie_len); in nsim_dev_trap_fa_cookie_write()
145 fa_cookie->cookie_len / sizeof(u32), seed); in mlxsw_afa_cookie_hash()168 if (cookie->fa_cookie.cookie_len == fa_cookie->cookie_len) in mlxsw_afa_cookie_obj_cmpfn()170 fa_cookie->cookie_len); in mlxsw_afa_cookie_obj_cmpfn()736 cookie = kzalloc(sizeof(*cookie) + fa_cookie->cookie_len, GFP_KERNEL); in mlxsw_afa_cookie_create()742 fa_cookie->cookie_len); in mlxsw_afa_cookie_create()