The chemical reactions and pathways involving inositol phosphorylceramides, any lipid with a phosphodiester bridge between an inositol residue and the ceramide group. The phosphate-containing group is the trivalent -P(O)= and the ceramide group of this lipid consists of phytosphingosine and a hydroxy C26 fatty acid.